I have opensuse 11.1 and 2x windows XP on my laptop.
Everyhing worked fine until I changed the bootloader setting with yast. Now I can’t boot ANY OS from my HD.
I had 3 entries for
- openSUSE 11.1
- Failsafe
- Windows (when selected, I can choose between the 2 win-xp-partitions)
in my grub start menu
The default option was openSUSE 11.1, but I wanted to change it to windows. After the change with yast, I only get
“Error No operating system”
Intel(R) Boot Agent Version…
and no grub menu at all.
I tried the rescue option with a open suse dvd and could manually mount my boot-Partition /dev/sda6 to /mnt. Then I restored the /mnt/boot/grub/menu.lst.old and /mnt/boot/grub/device.map.old to restore the original settings.
yast has changed the entry in menu.lst from “default 0” to “default 2”. I didn’t find a /etc/grub.conf
The reboot. But the same problem.
Output of fdisk -l:
##############################################
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1b3f1b3e
Device Boot Start End Blocks Id System
/dev/sda1 1 7834 62918572 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 7834 19457 93366000 f W95 Ext’d (LBA)
Partition 2 does not end on cylinder boundary.
/dev/sda5 7834 15145 58725607 7 HPFS/NTFS
/dev/sda6 15145 15154 68954 83 Linux
/dev/sda7 15154 19455 34555783+ 8e Linux LVM
##############################################
Is it correct, that partition /dev/sda2 is marked as boot-Partition in fdisk? The linux-boot-partition should be /dev/sda6.
menu.lst (the old one, but yast only changed default)
##################################################
Modified by YaST2. Last modification on Fri Jun 26 12:03:04 UTC 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/message
##YaST - activate
###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.7-9
root (hd0,5)
kernel /vmlinuz-2.6.27.7-9-pae root=/dev/system/root resume=/dev/system/swap splash=silent showopts vga=0x314
initrd /initrd-2.6.27.7-9-pae
###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.1 - 2.6.27.7-9
root (hd0,5)
kernel /vmlinuz-2.6.27.7-9-pae root=/dev/system/root showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /initrd-2.6.27.7-9-pae
###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
chainloader +1
#############################
Any ideas, what went wrong and how I could correct it ? :
Kind regards,
Uta