New Kernel will not boot. What am I doing wrong?

I updated to the new kernel version for 11.4 today using the software manager in YAST.
The new kernel will not boot.
http://www.slhess.com/pictures/point9booterror.jpg

I had to edit menu.lst to get it pointing to a drive that was actually there for starters (The drive referenced in resume on menu.lst produced by the update has not existed in this machine for over a year at least.)
here is the menu.lst made during the update.

# Modified by YaST2. Last modification on Tue Nov  8 16:11:13 PST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.9
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-ST3500630AS_9QG141S6-part5 splash=silent quiet showopts vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.9-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.9
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.9-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 splash=verbose showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.7-desktop


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.7-desktop

This is the edited menu.lst

# Modified by YaST2. Last modification on Tue Nov  8 16:11:13 PST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.9
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 splash=verbose showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.9-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.9
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.9-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 splash=verbose showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.7-desktop


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.7-desktop

I think this should boot but it doesn’t. What am I doing wrong?

If you have many HD’s
Do you know which HD this install is on

For example, I note the boot message

gfxmenu (hd0,0)/boot/message
Is hd0,0

But your root partition which normally has the boot message is:

root (hd1,0)

So are you using a boot partition?
Have you tried to boot using Supergrubdisk?

Thanks for the reply caf4926

So seeing that it points to hd1,0 since you could see that and I didn’t i’ll try and fix that. It will probably fix it
What can I do to prevent this from pointing at the wrong drive in the future when YAST configures it during a kernel update?

The original .7 kernel is booting on this machine. I keep my old kernels so I don’t get hosed if a kernel update goes bad. I am posting this message from that machine. I simply copied the “resume” portion that needed to be fixed into the line that added the new kernel. The boot is done from “/” There is nothing in the mbr. The drive exists and I am using it and booted from it so I knew something I didn’t notice was wrong

Right I see it now

So it looks like you just need to edit the root (hd1,0)
to root (hd0,0)

While the smoothness in kernel updates have improved over the years, I am still of the ‘old school’, and before every kernel update I still make a copy of the /boot/grub/menu.lst file, and then AFTER the kernel update and BEFORE restarting, I always compare the old menu.lst to the new menu.lst (updated by script in the kernel rpm) to see what the changes might be, and to see if they make sense. I concede its a bit of a pain to do so, but the pain it can prevent (in cases where the script is not advanced enough to figure out one’s complicated partitioning) makes it worth putting up with the effort to do the file content inspection (of the new menu.lst). The key is this needs to be done before the reboot.

Yea after I did that the new kernel booted just fine.

Keeping the old kernel is always safe just in case you have trouble like this.

I see “only 7 days to go”. I bet I go longer than that LOL.

Happy to offer advice any time.

Just check and see in bootloader settings
if the HD in question is seen as hd0
http://dl.dropbox.com/u/10573557/Bootloader%20HD%20Order/bootloader-main.png
then
http://dl.dropbox.com/u/10573557/Bootloader%20HD%20Order/bootloader-details2.png

Looking about in there I became very afraid. That seagate drive has been gone ages and I have six drives total in this machine. I do not recognize where that “boot drive” is
http://www.slhess.com/pictures/bootloadyast1.jpg
http://www.slhess.com/pictures/bootloadyast2.jpg

/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 /                         ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part2 /home                    ext4       acl,user_xattr        1 2
#/dev/disk/by-id/ata-WDC_WD5000AVVS-63M8B0_WD-WCAV96843392-part1 /                    ext4       acl,user_xattr        1 1
#/dev/disk/by-id/ata-WDC_WD5000AVVS-63M8B0_WD-WCAV96843392-part2 /home                ext4       acl,user_xattr        1 2

proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
/dev/disk/by-id/ata-WDC_WD5000AAKS-22A7B0_WD-WMASY4550447-part1 /moreAnime           ext3       user,acl              1 2
/dev/disk/by-id/ata-WDC_WD5000AVDS-63U7B0_WD-WCAV95924946-part2 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD5000AVDS-63U7B0_WD-WCAV95924946-part1 /bu                  ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD5002ABYS-02B1B0_WD-WCASY7880549-part1 /data                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD5000AADS-56S9B0_WD-WCAV97260650-part1 /mmshare              ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD10EARS-00MVWB0_WD-WCAZA7727924-part1 /Four                ext4       acl,user_xattr        1 2

Color me confused by my own drive layout. As you can see the drive referenced as where the boot is, is gone. It’s hashed out because the drive is in a drawer not in the system.
I need some guidance as to how to proceed in the bootloader part of YAST.

On 2011-11-09 06:56, FlameBait wrote:
>
> Looking about in there I became very afraid. That seagate drive has been
> gone ages and I have six drives total in this machine. I do not
> recognize where that “boot drive” is
> [image: http://www.slhess.com/pictures/bootloadyast1.jpg]
> [image: http://www.slhess.com/pictures/bootloadyast2.jpg]

Whatever you have in the devices.map file is there since install day, the
system will not modify it unless you do. So if your removed a drive it will
not be noticed in that file, nor in fstab.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hello this is my first post on the forum. After some years away from linux I’ve started using it again a few months ago so my problem resolution abilities are close to none. I’ve done the kernel update earlier so when asked for a reboot I did, when it went to grub all I had was “linux other” and “floppy” (no kernel update boot option appeared as usual) options so I can’t boot into the system and I don’t know what to do. A little help would be much appreciated.

That happened to me about a year ago (with 11.3).

Fortunately, the new kernels had been installed. Here’s what I did:

I booted the install disk to rescue mode, and logged in as root.
I “cd” to “/boot/grub”.
I copied “menu.lst.old” to “menu.lst”. That was after checking that “menu.lst.old” had all of the entries.
I then edited this “menu.lst” to update the kernel names to match what was actually there in “/boot”. The “menu.lst.old” had the old kernel versions, while only the new kernel versions existed. So editing those to the correct names was needed.

This worked, and on reboot the system came up as it should.

If, for some reason, you don’t have any kernels installed, then it will be a bit more tricky (but should still be doable). Here is where I describe how I solved a similar problem: Rescuing Susie

I did what you said, but the grub folder was empty, “solved” it by upgrading to suse 12.1 rc2 :wink:

That’s actually a pretty good solution.

Revisiting this as after my most recent kernel update I had to go back to menu list and edit it again. I know now due to this thread that the drive getting added to menu menu.lst is the wrong drive.

my device.map looks like this.

(hd1)	/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030
(hd0)	/dev/disk/by-id/ata-WDC_WD5000AVVS-63M8B0_WD-WCAV96843392
(hd2)	/dev/disk/by-id/ata-WDC_WD5002ABYS-02B1B0_WD-WCASY7880549
(hd3)	/dev/disk/by-id/ata-WDC_WD5000AAKS-22A7B0_WD-WMASY4550447
(hd4)	/dev/disk/by-id/ata-ST3250823AS_3ND1T4AT
 

my menu lst looks like this

# Modified by YaST2. Last modification on Tue Jan 31 23:27:59 PST 2012
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.11
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.11-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 splash=verbose showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.11-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.11
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.11-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.11-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.9
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 splash=verbose showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.9-desktop


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.9
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.9-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.9-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 splash=verbose showopts nomodeset vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.7-desktop


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.7
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.6-0.7-desktop

Some of those drives are no longer in my system

/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part1 /                         ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00M2B0_WD-WCAV5R429030-part2 /home                    ext4       acl,user_xattr        1 2

proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
/dev/disk/by-id/ata-WDC_WD5000AAKS-22A7B0_WD-WMASY4550447-part1 /moreAnime           ext3       user,acl              1 2
/dev/disk/by-id/ata-WDC_WD5000AVDS-63U7B0_WD-WCAV95924946-part2 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD5000AVDS-63U7B0_WD-WCAV95924946-part1 /bu                  ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD5002ABYS-02B1B0_WD-WCASY7880549-part1 /data                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-WDC_WD5000AADS-56S9B0_WD-WCAV97260650-part1 /mmshare              ext4       acl,user_xattr        1 2

/dev/disk/by-id/ata-WDC_WD10EARS-00MVWB0_WD-WCAZA7727924-part1 /Four                ext4       acl,user_xattr        1 2

How do I safely proceed to edit device.map?

After reading this, I recall that when I updated my 3 HDD box from 11.4 to 12.1, the first time I tried to boot without the install DVD installed I got a similar (or the same) error message as in #1.
I just popped the DVD back in, started from it, started DVD chose boot from Hard Drive and had 12.1 up and running.
I then ran updategrub and reinstalled the boot loader to the MBR on the boot drive.
At the time I thought it was due to my environment ( I boot from the /sdb drive. it is first in the bios order) but perhaps there is a more general problem with the automatic grub configuration on multidrive systems?

At any rate, find grub and update grub were helpful creating a workable menu, I used yast-boot to make sure the correct MBR was written.

It’s a simple matter once you know whats’s up to edit menu.lst. D
ealing with device.map is different for me since I don’t know what it actually does.
The drives in the list may not be in the order they appear in the list and may not ( in at least one case is not ) be installed anymore. I am trying to update proof the machine looking forward to a future kernel update and eventually an update to 11.2 without encountering problems.