XP won't boot after install of OpenSuse 11

Hi, I did search everywhere on how to solve the problem… but XP won’t boot. If someone can help me out, I will be greatfull.

I get this message:


rootnoverify (hd0,5)
chainloader (hd0,0)+1 

When I do a fdisk I


Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001f89e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       17955   144215505    7  HPFS/NTFS
/dev/sda2           17955       48641   246493296    f  W95 Ext'd (LBA)
/dev/sda5           17955       18216     2104452   82  Linux swap / Solaris
/dev/sda6           18217       20827    20972826   83  Linux
/dev/sda7           20828       48641   223415923+  83  Linux

Here is the menu.lst


cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Nov  1 10:44:18 CET 2008
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.25.16-0.1-pae root=/dev/disk/by-id/scsi-SATA_WDC_WD4000KD-00_WD-WMAMY1133869-part6 resume=/dev/sda5 splash=silent showopts vga=0x31a
    initrd /boot/initrd-2.6.25.16-0.1-pae

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.25.16-0.1-pae root=/dev/disk/by-id/scsi-SATA_WDC_WD4000KD-00_WD-WMAMY1133869-part6 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off  x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.25.16-0.1-pae

###Don't change this comment - YaST2 identifier: Original name: Kernel-2.6.25.16-0.1-default###
title Kernel-2.6.25.16-0.1-default
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.25.16-0.1-default root=/dev/disk/by-id/scsi-SATA_WDC_WD4000KD-00_WD-WMAMY1133869-part6 resume=/dev/sda5 splash=silent showopts vga=0x31a
    initrd /boot/initrd-2.6.25.16-0.1-default

###Don't change this comment - YaST2 identifier: Original name: Kernel-2.6.25.16-0.1-pae###
title Kernel-2.6.25.16-0.1-pae
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.25.16-0.1-pae root=/dev/disk/by-id/scsi-SATA_WDC_WD4000KD-00_WD-WMAMY1133869-part6 resume=/dev/sda5 splash=silent showopts vga=0x31a
    initrd /boot/initrd-2.6.25.16-0.1-pae

Try changing this

###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,5)
chainloader (hd0,0)+1

to this

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

I tried it and did not work.

:frowning:

Go to YaST/System/Configure Bootloader and click tab “Boot Loader Installation”. Untick “Boot from Master Boot Record” and tick “Boot from Root Partition” instead. Click “Finish”. Now reboot to check if OpenSuSE is still booting OK. Windows XP still won’t boot at this point, but you will be able to run “fixmbr” from your WinXP CD (google for it if you don’t know how it’s done) and after that everything should be OK again.
Greetz & Good Luck.
P.S. On the other hand, not being able to boot Windows may arguably be considered an advantage, not a problem:P

What you have looks right. At the grub boot menu, press Escape and switch to a text menu. Then press the “c” key to go into the grub shell. Now issue these commands:

rootnoverify (hd0,0)
chainloader (hd0,0)+1
boot

These are the same as in the menu.lst stanza, but using the commands from the shell may return an error number or message which provides a clue as to what the problem is.

I’ve got a similar situation, but the solution here doesnt seem to work. Can someone point out my flaw?:smiley:

One quick note about my config. I had my xp drive pulled out when I ran the suse installation.

Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x392a3929

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9 72261 83 Linux
/dev/sda2 10 9964 79963537+ 8e Linux LVM

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1d5a1d5a

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 31871 256003776 7 HPFS/NTFS

Disk /dev/dm-0: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn’t contain a valid partition table

Disk /dev/dm-1: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn’t contain a valid partition table

Disk /dev/dm-2: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn’t contain a valid partition table

menu.lst# Modified by YaST2. Last modification on Sun Nov 2 04:50:08 EST 2008
default 0
timeout 8
gfxmenu (hd0,0)/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0
root (hd0,0)
kernel /vmlinuz-2.6.25.18-0.2-default root=/dev/system/root resume=/dev/system/swap splash=silent showopts vga=0x31a
initrd /initrd-2.6.25.18-0.2-default

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

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.0
root (hd0,0)
kernel /vmlinuz-2.6.25.18-0.2-default root=/dev/system/root showopts ide=nodma apm=off acpi=off noresume edd=off x11failsafe vga=0x31a
initrd /initrd-2.6.25.18-0.2-default

###Don’t change this comment - YaST2 identifier: Original name: Kernel-2.6.25.18-0.2-default###
title Kernel-2.6.25.18-0.2-default
root (hd0,0)
kernel /vmlinuz-2.6.25.18-0.2-default root=/dev/system/root resume=/dev/system/swap splash=silent showopts vga=0x31a
initrd /initrd-2.6.25.18-0.2-default

@npmarks -

You’ll do better opening your own thread, for several reasons.

Also, you need to post the contents of /boot/grub/device.map and /etc/fstab. And apparently you attempted to reinstall grub today, after the windows drive has been reinserted, right? You also need to describe precisely whatever error you see; try replicating it from the grub shell off the boot menu (as I describe above), we may get a more meaningful error message.

Thanks, mingus725! Will do.