help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

boot XP on hdd


From: Daniel Schröer
Subject: boot XP on hdd
Date: Wed, 10 Dec 2008 21:40:54 +0100

Hello,

I have some trouble using grub on my rampant old setup. I hope this
question is allowable here.

I have a mainboard with one SATA and two IDE controllers. I have two
harddisks (sda, sdb) on the SATA and two harddisks (hdc, hdd) on one
of the IDE controllers.

Grub is installed in the MBR of hdc. I have W2k on the first partition
of sda and Linux in other partitions of the same disk. They boot fine.

Now I have installed WXP on the first partition of hdd. During the
installation the boot sector of hdc with grub in it was overwritten.
After I have reinstalled grub there, I can't manage to boot XP
anymore.

My device.map and menu.lst look like the following. With this, the
Windows XP entry actually also boots W2k. What am I doing wrong here?

It has helped once to boot (from CD) into the recovery console of WXP
and do 'fixboot d:' there (d: is hdd), but I don't remember what I did
afterwards and can't repeat it.

Thanks a lot for any hint.
Daniel

device.map:
(fd0)   /dev/fd0
(hd2)   /dev/sda
(hd0)   /dev/hdc
(hd3)   /dev/sdb
(hd1)   /dev/hdd

menu.lst:
title openSUSE 10.2
    kernel (hd0,5)/boot/vmlinuz-2.6.18.8-0.7-default root=/dev/sda6
vga=0x31a resume=/dev/sda5 splash=silent showopts elevator=
    initrd (hd0,5)/boot/initrd-2.6.18.8-0.7-default

title Windows XP
    rootnoverify (hd1,0)
    chainloader (hd0,0)+1

title Windows 2000
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1

title Suse 9.1
    kernel (hd0,7)/boot/vmlinuz root=/dev/hde8 vga=0x31a splash=no
desktop resume=/dev/hde5 showopts
    initrd (hd0,7)/boot/initrd

title Diskette
    rootnoverify (hd0,0)
    chainloader (fd0)+1

title Failsafe -- openSUSE 10.2 - 2.6.18.8-0.7
    kernel (hd0,5)/boot/vmlinuz-2.6.18.8-0.7-default root=/dev/sda6
vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic
maxcpus=0 edd=off 3
    initrd (hd0,5)/boot/initrd-2.6.18.8-0.7-default




reply via email to

[Prev in Thread] Current Thread [Next in Thread]