Click to See Complete Forum and Search --> : Windows Won't Boot


Davy
03-22-2006, 11:45 PM
Hello my linux demigods and goddesses. I humbly come, again, before you to ask for your sageness.

I've got two harddrives.

harddrive one:
- set to master on ide channel
- Suse 10 with "/", "swap", "/home" partitions

harddrive two:
- set to slave on ide channel
- 4 fat partitions
- 1st partition windows 2000

my /etc/grub.conf is:
root (hd0,0)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst
quit

my /boot/grub/menu.lst is:
# Modified by YaST2. Last modification on Wed Mar 22 20:39:00 MST 2006

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 vga=0x317 selinux=0 resume=/dev/hda5 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd1,0)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

and my /boot/grub/device.map is:
(hd1) /dev/hdb
(fd0) /dev/fd0
(hd0) /dev/hda

all looks good, yes?

BUT WINDOWS WON'T BOOT!! :confused:

when the grub menu appears, i choose windows and i get the grub menu again.
please help me.

soulestream
03-23-2006, 12:15 AM
windows does not like being on drive two. you have to trick it to thinking its on the first drive.

Linky (http://www.pingwin3k.net/archives/9-Grub-Dual-booting-with-Windows-XP-on-Second-Hard-Disk-Drive.html)


soule

saikee
03-23-2006, 04:12 AM
soulestream have given you a hammer that always hits a nail on its head.

Because you have installed your Windows when its disk was the master, known to Grub as (hd0), it would have a record of this in some system files, like the hidden boot.ini. The bugger checks this on every boot up and refuse to play ball if things don't match.

Just add the two "map" statements, which "re-map" the disk order on-the-fly and the bugger will buy it, every time.