HOWTO

From OnMac.net Wiki
Jump to: navigation, search
Other languages:

Games Soundtracks Order Acomplia <br> English | Deutsch | 日本語版 | Français | Italiano | Português | 한국어 | Castellano | Srpski | 简体中文版 | Tiếng Việt | Bahasa Melayu | 正體中文版 +/-

Back.png Back to Main Page

Installation Images

Contents

[edit] XOM - The open source solution

Installing XP on an Intel iMac is a two step process.

The process is 95% automated. There are two sections below, detailing each one of the two steps highlighted above.

In each section there are three subsections:

Choose one set of instructions or choose both and cross-reference between them. The advanced instructions give a good overview of how far you've gone, and you can drill into the step-by-step instructions anytime you have doubts.

So, without further ado...

[edit] Creating the XP installation CD

A custom slipstreamed CD is required to install XP on a Mac. You may wish to try the Windows_XP_CD_Builder This has been tested by at least two users who had posted their results to the wiki. It never boots into the XP installer. If the included .EXE file does not appropriately copy the files and create the image, then you may wish to try the batch file instead. The file (xpmacbuilder.bat) is in the Sources folder.

You could also try two alternative automatic methods to create the CD under Mac OSX (since you already own a mac ;-) ). More info about this can be found here.

Please note that you must use your own copy of an XP install CD. It is not legal to use a ready-made slipstreamed CD downloaded from the Internet. Such practice is not endorsed by onmac.net. Please do not post links to torrents or other P2P networks containing copyright infringing material.

[edit] What You'll Need


[edit] Creating the CD using mkisofs and a shell (OS X and *NIX)

Please note that there are two utilities which are able to automate the CD creation procedure:


This method uses cdtools/mkisofs which can be 
compiled for *NIX, Linux and Mac OS X.
The following instructions refer to Mac OS X but
with slight modification they can be applied to 
any UNIX like OS. </b>
If you are using Fink on Intel Mac or using a beta version of Fink
you'll need to add the "unstable/main" entry in the "Trees:" line of your
fink.conf which is usually located at /sw/etc/fink.conf  

Make sure you edit the fink.conf within terminal I seems to fail when done with textedit Once fink is installed run the following commands in Terminal:

Insert your XP install CD. If you are using an ISO image then mount it through double-clicking in the Finder or from the command line by issuing an hdiutil attach imagename.iso. Then run these commands in the Terminal:

This is the src directory within the XP directory. Not the one in SW directory <b>The CD name will be unique, for the following command you will need to

obtain the name using the "mount" or "diskutil list" commands from within the 
Terminal, replace YOUR_XP_INSTALL_CD example with the name of your XP CD 
Watch out for the dot/period "." at the end of the mkisofs command line
this ensures that all files from the current working directory are added, 
if you leave out the dot, the command will fail 

Note that the mkisofs is long and may be wrapped on your screen. But it should be all one line. This will create an ISO that you will be able to burn with Disk Utility. The xom.efi and howto instructions are on the ISO as well to make things simple. Then, just follow the installation instructions.

This mkisofs boot CD creation process has been tested and verified on the following Intel Mac platforms:

The bootable CD has been tested on the following platforms:

If you are using a different *NIX OS then you will need to make two key changes to these instructions:

These instructions were tested on Linux 2.6.14 and failed to produce a bootable image. Please review for accuracy. [edit]I have confirmed that the CD I created in linux (Slackware 10.2 custom 2.6.11.10 kernel) also did not work. However, I followed the Mac instructions and it worked flawlessly. Since you have absolutely no need to be attempting this without a Mac, you might as well be using the Mac to create the CD since it does work.[/edit]


[edit] Partitioning the hard disk and Intalling OSX and XP

The Intel Mac needs to be repartitioned in order to do this. This procedure requires reformatting the HDD. I have not tried partition managers but if you're feeling adventurous you may try one. I do not guarantee results in those cases, though.


Note: The windows partition for dual booting XP has been successfully created without wiping out an existing Mac partition on a Mackbook Pro using the Intel Mac compatible beta version of Coriolis System's iPartition utility version 1.5.0b2 (www.coriolis-systems.com). The steps for this are to use iPartition to first shrink the existing Mac partition and then to create a new MS-DOS partiton. Directions for using iPartition to perform these steps can be found via iPartition's help menu. Once an MS-DOS partition is available, since your Mac partition is still intact you can skip ahead to installing the xom.efi bootloader. As iPartition 1.5.0b2 is still in beta, this method is to be used at your own risk, so make sure your system is backed up. However, since you are contemplating repartitioning and reformatting your drive anyway (see the next step in this How-To), this shortcut may speed up the install by avoiding the repartition/reformat/install Mac OS X steps while also preserving the contents of your Mac partition.


WARNING: This procedure WILL WIPE YOUR HDD. Make sure to back up any files you don't want to lose.

See Backing Up OS X for some backup advice (don't worry, it's really easy).

[edit] Quick (Advanced) Instructions

   sudo bless --folder . --file xom.efi --setBoot
   Remember to switch to 640x480 mode if you are using a 20" iMac 
   by pressing F4 then F7 while choosing windows logo
I also found that I had to do this dance when installing on a Mac Mini connected to an Apple Cinema 
Display 20"

[edit] Step-by-step instructions

   Hint: Don't release the C key until you see the grey apple logo.
   Utilities->Disk Utility
   suggestion:  it may be better to make the partitions different sizes to make them easier to 
   identify during the XP installation.
  Partition *1 - Name: xp. Type: MS-DOS
  Partition *2 - Name: osx. Type: Mac OS extended Journal
   Hint: You should now see under the disk entry on the left two subentries: "XP" and "osx"
   Go -> Utilities -> Terminal
   sudo cp xom.efi /System/Library/CoreServices  <-- you will have to enter your password here
   cd /System/Library/CoreServices
   sudo bless --folder . --file xom.efi --setBoot
   Hint: To eject any disk inside press the eject key on the top right corner of your keyboard.
   You can also eject any disk while rebooting by pressing without releasing the F12 key, 
   or holding down the mouse button during boot.


   IMPORTANT NOTE: This will launch the XP setup. For about 2 and a half minutes
   there will be NO FEEDBACK WHATSOEVER.
   E: Partition1 (EFI) [FAT32]          200 MB (   196 MB free)
   C: Partition2  [Unknown]           78160 MB ( 78159 MB free)
   F: Partition3  [Unknown]           77839 MB ( 77839 MB free)
   LEAVE THE FIRST AND THIRD PARTIONS ALONE!
   DO NOT REPARTITION THE DISK USING THE WINDOWS INSTALLER!
   With the iMac 20 this step (booting from CD and formatting the partition) will need to be done twice. 
   the first time there is no drive letter in the #2 partition then in the second one there is a Drive letter</b>
    • The install prompts you for the format type to use: NTFS/FAT Quick/Slow
   <b>Note: Choosing FAT will allow read/write access to the Windows partition from OSX.
   Choosing NTFS will only allow you read only access from OSX.
   Note: If the partition is too large (more than 32 Gb), only the NTFS Quick/Slow options will be shown. Choose NTFS Quick (according to IntelFinal.m4v)
   It is VERY IMPORTANT that you get prompted with this step.
   If you are not prompted for a filesystem to install SOMETHING WENT TERRIBLY WRONG!!!
   YOUR INSTALL WILL NOT WORK in that case. MacBook Pro 2GHz will be presented with  
   different partition layout here's how to fix it  
   MacBookPro 2GHz
     Some users with MacBook Pros have reported their keyboards being nonfunctional at the stage
     of the Windows installations in which you choose a partition. The common cure is to power
     cycle the MacBook Pro (hold Power key for five seconds), make sure all USB devices are
     disconnected, and try again. In most cases, this will work.
   NOTE: This time the wait is not that long... just sit tight and wait for about 30 secs.
     If the windows logo flips upside down instead of loading the installer, try starting 
     the windows installation over again from the section that starts "After rebooting, you 
     should see a crystal Apple logo at the center of the screen."
     In case during the boot you get a debugger telling that an int 13 has been caught, 
     just hit the key 'g' and enter twice (g, enter, g, enter)  
     and you should boot. (on a macbook pro).
     Note: If you are using a Non-English version of Win XP, Windows might not boot. 
     You have to repeat the 'f4, f7, 640x480' thing to boot into Windows. 
     To enable different video modes, open the Registry Editor, and add the following values:
      
     HKLM,"System\CurrentControlSet\Services\VgaSave","ImagePath",0x00020000,"System32\drivers\xomdd.sys" 
     HKLM,"System\CurrentControlSet\Services\VgaSave","Description",0x00000000,"Provides basic linear frame buffer support for the Intel iMac" 
     HKLM,"System\CurrentControlSet\Services\VgaSave","DisplayName",0x00000000,"XpOnMac Display Controller (xom)" 
     
     Source: http://forum.onmac.net/archive/index.php/t-642.html
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox