Hello alltogether,
this morning, I started the automatic system update (I installed OpenSUSE 11.0 some days ago). The routine asked for a new start-up (apparently, a Kernel update has been installed), but the system did’nt want to re-start, giving the following message:
root (hd1,5)
filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinux-2.6.25.11-0.1-default
root =/dev/disk/by-id/scsi_SATA_SAMS
UNG-HD403LJSONFJ1CP301903-part6
resume=/dev/sdb5 splash=silent vga 0x346
Error 15: file not found
press any key to continue …
After pressing a key, the system proposed to start the secure mode suse 11, but with the same result.
Why the hell are there so many difficulties with this distribution?
Where’s the problem here? I just started a simple update routine and the whole system is down… >:(
Not sure what went wrong but you can probably fix things with the install media.
Reboot with it in the drive and choose repair. It’s pretty straight warward
I’ve never had a problem rebooting after a kernel update, but I have read of users who have had such problems. Typically it is because the auto update to one’s /boot/grub/menu.lst file did not work.
I always recommend users keep a backup of their /boot/grub/menu.lst file, and after a kernel install, but BEFORE rebooting, one check that file’s contents, to see that the update makes sence.
For a 60-second check, it can potentially save an hour or more of grief.
At the grub boot menu, hit the Escape key. Go to text mode. With the arrow keys highlight the selection you want to boot, and hit the “e” key to edit that entry. Highlight the kernel line, and again hit “e” to edit it. Change the text that reads “/boot/vmlinux-2.6.25.11-0.1-default” to “/boot/vmlinuz” (note: in your post you show vmlinux; I assume that’s a typo, it’s vmlinuz); hit Enter. Then change the initrd line to “/boot/initrd”; hit Enter. Now press “b” to boot.
Did that work?
EDIT: The above advice is good, but I’m pretty sure this will fix it. Looks like the /boot/grub/menu.lst file was not updated as needed with the new kernel name (2.6.25.16-0.1-default) and its initrd. “vmlinuz” and “initrd” are symlinks that point to whichever kernel is installed.
Thanks again Mingus,
that worked! (of course, it was linuz, not linux - just a typo…). I hope, I don’t have to change the boot menu by hand all the time…
@ Geoffro: that was my first idea as well, but it didn’t work. Anyway, when I try to “fix” problems with the installation disk, the routine remarks that the internet access route isn’t correct. I suppose, the updates, once downloaded from the different internet sites, can’t be fixed with the DVD…
@ OldCPU:
I always recommend users keep a backup of their /boot/grub/menu.lst file, and after a kernel install, but BEFORE rebooting, one check that file’s contents, to see that the update makes sence.
… well, even if I had kept a backup, I wouldn’t have known if the update makes sense or not. I’m not really a programmer, even if I (sometimes ) understand the stuff afterwards …
Understand … but no worries, if you can apply and succeed with Mingus’ excellent suggestion, you can compare the menu.lst files. In essence all that you will see changed is a kernel reference to vmlinuz of some version, and everything else pretty much the same between the two files. If you don’t see a vmlinuz kernel update, or if the file structure is different, then you know something has gone wrong.
The problem you experienced began when openSUSE started using and updating the kernel filename in the grub menu.lst file - before that, the symlink was used and therefore even if a new kernel was installed menu.lst did not need to be changed.
Now, if you haven’t already, you will want to edit /boot/grub/menu.lst. Open the file as root with kwrite (Alt-F2 “kdesu kwrite”) or another editor, find the applicable kernel and initrd lines that ref 2.6.25.11 and change that to either the symlink file names or the fully qualified names, i.e., “2.6.25.16-0.1-default”. Now the fix is permanent.
To follow up on @oldcpu’s thought . . . on rare occasion a kernel update, or a new kernel itself, can cause a problem. So as an extra - and very simple - safety precaution, some users back up the critical boot files prior to a kernel update. All one needs to do is to keep a folder under /boot (I call mine “old”), and then before an update just copy 5 files into that folder: the kernel (vmlinuz-2.6…), the initrd (initrd-2.26…), the kernel and initrd symlinks (which you used), and menu.lst. Takes less than a minute. Then, if for any reason a newly updated kernel doesn’t boot, you can edit the grub boot menu entry on-the-fly (as you did) to call “/boot/old/vmlinuz” and “/boot/old/initrd” instead of the just installed kernel. Just a thought.
Humm,
of course, I want to install the redirection to the right Kernel permanently
Now, if you haven’t already, you will want to edit /boot/grub/menu.lst. Open the file as root with kwrite (Alt-F2 “kdesu kwrite”) or another editor, find the applicable kernel and initrd lines that ref 2.6.25.11 and change that to either the symlink file names or the fully qualified names, i.e., “2.6.25.16-0.1-default”. Now the fix is permanent.
but when I open the menu.lst, I find this:
Modified by YaST2. Last modification on Mo Sep 15 17:31:33 CEST 2008
default 0
timeout 8
gfxmenu (hd1,5)/boot/message
###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0 - 2.6.25.16-0.1
root (hd1,5)
kernel /boot/vmlinuz-2.6.25.16-0.1-default root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD403LJS0NFJ1CP301903-part6 resume=/dev/sdb5 splash=silent showopts vga=0x346
initrd /boot/initrd-2.6.25.16-0.1-default
So, for me it seems, that the modification you asked me to do is already installed, but it still doesn’t work… :’(
Here’s the quick’n’dirty fix (which is actually how it used to be done several back in the 9.x days, and I still use this) - and which makes permanent what you did interactively at the menu. (Everything below must be done as root.)
Well, even after changing the kernel and initrd lines as described by Mingus, the problem persists.
Another idea came into my mind: I’m booting from a floppy disk, so could it be possible that the start-up sequence on the floppy isn’t correct? How can I get access to these files? When I try to open it, I just get an error-Message:
*mount: wrong fs type, bad option, bad superblock on /dev/fd0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so *
You are booting from floppy??? Then most likely there is a version of menu.lst on the floppy. That’s what must be changed, not the menu.lst file on hard disk.
The floppy can be mounted in Dolphin or Nautilus, or it can mounted in a terminal window thus:
mount /dev/fd0 /media/floppy
Then in your File Manager just go to /media/floppy. You can edit the menu.lst there.