Hi everyone,
I’m running a dual-boot Vista/OpenSuSE machine. It normally works fine, but occasionally after updating the system rebooting fails. Obviously, this is both frustrating and a bit scary.
The first time, both /boot/grub/menu.lst and /boot/initrd were missing or corrupted. The 2nd and 3rd time it seems to be only /boot/initrd with problems. I have managed to fix it each time using the dvd repair utility followed by Super Grub Disk.
Does anyone have an idea how to fix this? The only thing that I can think may be exotic about my configuration is the fact that I use Vista’s bootloader to call grub (in my root linux partition). Could Super Grub Disk have done something even stranger?
Here is all the info that I can think would be useful (I would be happy to provide more):
> sudo /sbin/sfdisk -l /dev/sda
Disque /dev/sda: 30394 cylindres, 255 têtes, 63 secteurs/piste
AVERTISSEMENT: la partition étendue ne débute pas sur une frontière de.
cylindres DOS et Linux interpréteront les contenus différemment.
Unités= cylindres de 8225280 octets, blocs de 1024 octets, décompte à partir de 0
Périph Amor Début Fin #cyls #blocs Id Système
/dev/sda1 * 0+ 6373 6374- 51198131 7 HPFS/NTFS
/dev/sda2 6374+ 25815- 19441- 156159832 7 HPFS/NTFS
début: (c,h,s) expecté (1023,254,63) trouvé (1023,59,22)
/dev/sda3 25815+ 30393 4579- 36778949 f W95 Etendu (LBA)
/dev/sda4 0 - 0 0 0 Vide
/dev/sda5 25815+ 26077- 262- 2102646+ 82 Linux swap / Solaris
/dev/sda6 26077+ 30393 4317- 34676271 83 Linux
/etc/fstab:
/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892-part5 swap swap default
s 0 0
/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892-part6 / ext3 acl,use
r_xattr 1 1
/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892-part1 /windows/c ntfs-3g
users,gid=users,locale=fr_FR.UTF-8,exec 0 0
/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892-part2 /windows/d ntfs-3g
users,gid=users,locale=fr_FR.UTF-8,exec 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/boot/grub/menu.lst:
# Modified by YaST2. Last modification on Mon Aug 24 13:44:50 CEST 2009
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892
-part6 repair=1 resume=/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892-par
t5 splash=silent showopts vga=0x31a
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD2500AAJS-75B4A0_WD-WMAT15666892
-part6 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off
processor.max_cstate=1 x11failsafe vga=0x31a
initrd /boot/initrd
Thanks in advance,
Jesse
PS: I was once able to repair the system using zypper, but I can’t remember or find the exact command again. Does anyone know what it is?