Results 1 to 10 of 21
Enjoy an ad free experience by logging in. Not a member yet? Register.
dual boot xubuntu + windows xp with 2 hard drives
i have two hard drives and the first one already has xubuntu installed:
160gb sda (my xubuntu drive)
40gb sdb (the drive i want windows xp on)
how would i go about installing xp without destroying my xubuntu installation?
Unuplug your 160 GB harddrive or Disable it from bios
then install Windows.
after installation plug in 160 GB hardrive.
set it on primary boot media.
boot into linux.
and add entry.
then reboot select Windows, all done.
You have to add mapping code too.
title Windows rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) chainloader +1
Last edited by devils casper; 05-23-2009 at 04:17 AM.
map (hd0) (hd1)
map (hd1) (hd0)
chainload + in /boot/grub/menu.lst?
or the first one?
Code posted by me will work fine.
* Unplug or disable Linux Harddisk.
* Install Windows OS in other Hard disk.
* Plug-in or enable Linux hard disk. Linux will boot up by default.
* Add code for Windows OS in menu.lst file. You will have an option to boot up Windows OS in GRUB Menu.
Well, isnt mapping needed only when disks are on IDE?
I think its needed because Windows cant boot from secondary IDE.
It doesn't matter if you are using SATA or PATA or any other media. Without mapping code, Windows Boot Loader doesn't work in multi disk setup unless you have set Windows Hard disk as First Boot Device in BIOS.
Mapping is a cheat code. Windows Boot Loader works only if it is installed in Primary Hard disk or Hard disk set as First Boot Device in BIOS.
In two hard disk setup, we set Linux disk as First Boot Device. GRUB chainloads Windows Boot Loader to boot up Windows OS but it doesn't work in this setup. We have to use mapping code to cheat Windows Boot Loader.
ok, neither worked....
first i put:
title Windows rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) chainload +1
and when i booted up i selected windows from the list, but it didnt do anything...
so i booted back into xubuntu and changed the menu.lst to:
title Windows root (hd1,0) chainloader +1
this time when i tried to boot windows it went to a screen that said:
and it stayed there for like 30-45 minutes, so i just botted back into xubuntu.
With Linux drive disabled does Windows boot sucessfully?
With both drives connected and Linux booted ... what does fdisk -l report?
Windows boots fine and fdisk -l shows
Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c3512 Device Boot Start End Blocks Id System /dev/sda1 * 1 19177 154039221 83 Linux /dev/sda2 19178 19457 2249100 5 Extended /dev/sda5 19178 19457 2249068+ 82 Linux swap / Solaris Disk /dev/sdb: 41.1 GB, 41174138880 bytes 255 heads, 63 sectors/track, 5005 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x103badbb Device Boot Start End Blocks Id System /dev/sdb1 * 1 5005 40202631 c W95 FAT32 (LBA)