-   Linux - General (
-   -   Booting Windows on secondary hard drive with Grub on primary drive (

mpmackenna 11-09-2008 07:10 PM

Booting Windows on secondary hard drive with Grub on primary drive
I just installed Mandriva PowerPack 2009 and I am trying to get my Windows installation that is on a second hard drive to boot. I had it working under Mandriva One 2008.1. I haven't made any changes to that drive. My grub device map shows that drive as drive /dev/sdb which is second in the list. I am aware that you have to fool Windows into thiinking it is on the first drive to get it to boot with grub. I did the map command and I thought the grub entry was all correct, but when I try to boot Windows I get the error "No such partition".

Here is my device map.

(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdi
(hd3) /dev/sdc
(hd4) /dev/sdd

Here is my grub file menu.lst file.

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=bf7abc6c-2430-4ca6-abf3-5a6072847a80 resume=UUID=c8448c72-52fa-4924-bfa0-df5dd3c6b931 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title windows
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

Any ideas on what I am missing or where I went wrong? Any help is greatly appreciated!

i92guboj 11-09-2008 07:16 PM

You can edit the grub boot lines interactively, and you can use TAB to autocomplete. Try to do so to find which would the correct partition be. The ordering of the drivers might have changed depending on many things that range from the kernel to your bios, overall if you are mixing ide and sata drives.

All times are GMT -5. The time now is 04:25 AM.