Jack's profileJack 的地盘PhotosBlogListsMore Tools Help

Blog


    17 February

    Guide to install WinXP, Leopard, Ubuntu and Vista within a single harddisk on IBM X31, Quad boot

    Hi there, I m going to tell everyone a story about how to install WinXP, Leopard, Ubuntu and Vista within a single harddisk and quad boot them on my IBM X31 laptop.Requirements:
    1. A computer with Intel CPU and support SSE2 or SSE3 (however CPU maybe work, but my IBM X31 is with Intel CPU and supports SSE2 only)
    2. A large enough harddisk (in my case, I have a NEW 160G HD) and it must be blank! It do NOT has more than 1 primary partition and logical partition and bootloader on the MBR. If you do have more than one partition please keep the first primary partition BUT delete others, also if you have install bootloader on the MBR, removal it and make sure it can boot into WinXP with a single primary partition.
    3. KALYWAY_LEO_10.5.1intel_SSE2_SSE3.zip (get it from thepiratebay.com), unzip and burn into a DVD. it is for Leopard installing
    4. Ubuntu 7.10 Desktop installation CD. (You can use another Linux distro but I use ubuntu in my case)
    5. DOS Bootable CD with DiskGen or other software to modify partition ID to "af"
    6. WindowsXP Installation CD
    7. Vista Installation CD
    8. A USB DVD-ROM
    9. A USB disk, format to FAT32
    10. copy file "boot_v8" which is the PC EFI bootloader into that USB disk. You can get "boot_v8" from EFI_Pack.zip on the thepiratebay.com
    11. Plan the size of partitions before you create it, as when finish Ubuntu and Leopard installation. You should not resize their partition again!
    Plug the USB disk and USB DVD-ROM on the machine and starts Step-by-step:
    1. Create a primary partition, format as NTFS and install WindowsXP on it, make sure it works! (You can skip it if you already has WinXP install on the first primary partition. --- size 40Gb (you can use your own size)
    2. Boot from Ubuntu Installation CD, install ubuntu under live session and when you upto the partitioner step:
      1. Create a logical partition, format to FAT32, do NOT mount to anything --- size 10Gb
      2. Create a logical partition, format to ext3, mount to "/boot" --- size 128Mb
      3. Create a logical partition, format to Linux Swap --- size 512Mb
      4. Create a logical partiona, format to ext3, mount to "/" --- size 10Gb
      5. !!! Very important!!! At the last step of installation wizard, click "Advance", change the installing location of GRUB loader from "(hd0,0)" to "/dev/sda6", so it will install the GRUB on the "/boot" partition, not the MBR.
      6. Now start to install, when finish, stay on the Ubuntu Live session, do not reboot yet!
      7. Open Ubuntu Terminal, type "sudo dd if=/dev/sda6 of=/home/ubuntu/ubuntu.mbr bs=512 count=1"; copy the new "ubuntu.mbr" file to the USB disk. Now restart to WindowsXP.
    3. Now you are in WinXP, copy the "ubuntu.mbr" file from USB disk to "C:" and edit "boot.ini" file, add this line to the end " C:ubuntu.mbr="Other Operating Systems" ", save and reboot! If you do it right you will see a new option on the boot menu and you can boot into Ubuntu by this (in my case, Ubuntu takes a bit long to load up, so please wait for 5-10 minites if you see a black screen).
    4. Now you are in Ubuntu, copy the "boot_v8" from USB disk to the your home folder; open a terminal and type:
      "sudo cp ~/boot_v8 /boot" and you need your password to countinue,
      "sudo gedit /boot/grub/menu.lst" and add these line to the end of file:

      #This is the PC EFI loader for Mac OS X Leopard
      title Mac OS X Leopard
      kernel (hd0,5)/boot_v8

      Save and swith off Ubuntu.
    5. Now you start to install Leopard. Boot from the KALYWAY DVD, it takes 15min to get into the installation wizard,so please wait!Start the Disktool when you can, select the 10Gb FAT32 logical partition we have created, use DiskGen or other software to modify this partition's ID to "af", erase it with Mac OS format (you can choose any except the FAT, I suggest you choose the second one), now you can install Leopard on this partition

      !!!! Beward !!!At the final step of installation wizard, click on Option, un-select everything except the SSE2 patch!!! Because in my case only SSE2 patch is useful for IBM X31. Its sound will work without patching and we already have PC EFI loader so do NOT install it again!
      When installation is finish. You can see the WinXP boot menu, select the second option, GRUB will load; You can select to load Leopard from the GRUB option!
    6. Now if everything above is ok, you can start to install Vista.Here I suggest, you create a primary NTFS partition for you normally store data before install Vista (I give it 87Gb here), and use the rest empty space to create another primary NTFS partion and install Vista on it (I give the rest of 10Gb to Vista). However it is up to you!When Vista is success install, the Vista new loader will take over WinXP old loader's job and you still have the old boot option!
    7. End of story and enjoy!