PDA

View Full Version : How To: Installing Windows Using XP Pro SP2 Upgrade Edition


kkapoor
10th April 2006, 08:47 PM
What you need:

1. A Mac with a DVD Burner. (PPC or Intel)
2. DVD+R
3. Your copy of Windows XP SP2 Upgrade (might work for other upgrade discs as well)
4. A copy of Windows 98 SE
5. Xcode installed on your Mac

The following instructions were taken from www.macrumors.com. It worked like a charm for me. See if you guys can improve on it.

Windows XP Upgrade Boot Camp Instructions, by Timothy Brown (sysop@timb.us)

This solution allows you to insert Windows 9x into a Windows XP installation disk, fully under Mac OS X. No Linux or Windows required!

Note: These instructions assume you are using Windows XP Pro Upgrade and Windows 98 SE, if not you might have to change a path here and there. You can check for the propper name of a volume by inserting the CD into your drive and looking at the name that appears on your desktop.

Special Thanks: balamw and Dr. Cheesesteak of MacRumors and Will Holcomb's page on El Torito.

1. Insert Windows XP Upgrade CD into your Mac.

2. Open up System Profiler.

3. Under "Hardware" click on ATA, then under ATA Bus, look for your CD/DVD drive.

4. Scroll down until you see "BSD Name", what we're looking for will look like "disk4", we do NOT want the entry that reads "disk4s0".

5. Open up Terminal.app.

6. Type dd if=/dev/disk4 of=win_xp.iso (Assuming the BSD Name for your optical drive was "disk4".)

7. Go get a drink, this might take a few minutes...

8. Once step 6 finishes type the following at the prompt: bash

9. Now type: dd if=win_xp.iso of=boot.img bs=2048 count=1 skip=$(((v=0x125));echo $v)

10. Now close Terminal.app and then re-open Terminal.app.

11. Type: mkdir WXPCCP_EN (This assuming you are using a Pro upgrade CD. If you're using home, the volume label of the CD might be different.)

12. Type cp -R /Volumes/WXPCCP_EN/* WXPCCP_EN (Same warning as above applies.)

13. Wait for it to copy.... Grab a sandwich this time.

14. Now, eject your Windows XP CD.

15. Insert your Windows 9x CD into the drive. (Everything below assumes you're using a Windows 98 Second Edition CD. Your paths may be different.)

16 Type: mkdir WXPCCP_EN/win98

17: Type: mkdir WXPCCP_EN/drivers

18: Type: cp /Volumes/Win98\ SE/win98/* WXPCCP_EN/win98

19: Type: cp boot.img WXPCCP_EN

20: You'll need to download and compile cdrtools (http://freshmeat.net/projects/cdrecord/) to get access to the mkisofs program. (Quick overview on compiling it: Download it, extract it, change into the directory you extracted it into, type make, wait for it to finish, then sudo make install).

21: Type: /opt/schily/bin/mkisofs -relaxed-filenames -d -D -l -N -o WXPCCP_EN.iso -b boot.img -c boot.cat -no-emul-boot WXPCCP_EN

N.B. On my Mac mkisofs was located on another folder so do a search.

22: Now you should be able to burn the WXPCCP_EN.iso file, that's sitting in your home directory with Disk Utility.

That's it! You should be good to go now!

Addendum:

Dr. Cheesesteak of MacRumors confirms this method *does* in fact work, with one caveat;

"BootCamp Assistant doesn't care for the CD.

However...

If you simply select "Restart OS X" and then hold down the Option key, all is well. You'll really need to babysit the install though as everytime it reboots (twice I believe) it will boot into OS X if you don't hold down the option key and select the Windows partition."

boydallin
13th January 2008, 02:58 AM
Hello, I am trying to follow the instructions posted for installing windows on a mac with the xp upgrade CD and a win 98 cd. Link=http://forum.onmac.net//newreply.php?do=newreply&noquote=1&p=6365

I get the following on doing the make on the cdrtools package????

any thoughts

W A R N I N G Messages like:

gmake[2]: Entering directory `/tmp/cdrtools-2.01/libschily'
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/cvmod.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/dat.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/fcons.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/fdown.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/fdup.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/ffileread.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/ffilewrite.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/fgetline.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/fgetstr.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/file_raise.d: No such file or directory
../RULES/r-gmake.dep:76: OBJ/<arch-dir>/fileclose.d: No such file or directory
....

are caused by a GNU make bug and not by the Schily makefile system.

The related bug has been reported to the GNU make maintainers in 1988 but
as the bug has not yet been fixed, it seems that GNU make is unmaintained :-(
A working highly portable make program is at ftp://ftp.berlios.de/pub/smake
RULES/rules1.top:234: incs/Dcc.i386-darwin: No such file or directory
RULES/rules.top:39: RULES/i386-darwin-cc.rul: No such file or directory
RULES/rules.cnf:56: incs/i386-darwin-cc/Inull: No such file or directory
RULES/rules.cnf:57: incs/i386-darwin-cc/rules.cnf: No such file or directory
p incs/i386-darwin-cc
make: p: Command not found
make: [incs/i386-darwin-cc/Inull] Error 127 (ignored)
/bin/sh: incs/i386-darwin-cc/Inull: No such file or directory
make: *** [incs/i386-darwin-cc/Inull] Error 1

boydallin
13th January 2008, 10:01 PM
The outlined procedure by kkapoor for getting xp up and running on an intel mac is in need of some updates, it does not work on a brand new iMac.

First of all, the xtools "make" does not work on the cdrtools makefile. The smake compiler from ftp.berlios.de/pub/smake/alpha/ does work. However, it is a good idea to have xtools installed to make the smake. :)

After you "make" smake and then sudo "make" install smake you can use smake to "smake" the cdrtools and sudo "smake" install the cdrtools

FYI my stock Safari did not do ftp properly, use terminal...

Now the problem I have yet to solve is that the -I option called for by kkapoor in the mkisofs command line is not a valid option(at least in the newest cdrtools). Older cdrtools did not properly compile on my machine. I am going to try and do some reading to see if -I used to be a valid option. Proceding with the mkisofs command excluding the -I creates an image file that disk util was able to write but the image did not work. Restarting the puter with option held down did come up with a windows option but selecting it produced a black screen with a cursor in the upper left and did nothing else. Perhaps the -I is important but I don't know what it does as the current version of cdrecord(mkisofs)cdrtools (they all blend together) does not support a -I.

make sure you get the latest sources from the ftp..

Anyone know if the -I is supposed to be something else???