Bug#324150: kernel 2.6.8-2-686: grub menu.lst points to a wrong
kerel /vmlinuz location
vorlon at debian.org
Sat Aug 20 21:38:53 UTC 2005
On Sat, Aug 20, 2005 at 04:47:21PM +0200, Michel van der Klei wrote:
> Package: grub
> Version: 0.95+cvs20040624-17
> Severity: grave
> After a kernel upgrade last night my system fails to boot.
> It was caused by a wrongly updated menu.lst which pointed to
> a wrong kernel location:
> It pointed to:
> /vmlinuz-2.6.8-2-686 root=/dev/hda5 ro vga=791
> and that should be:
> /vmlinuz-2.6.8-2-686 root=/dev/sda5 ro vga=791
> FYI this is a sata machine
Which presumably means that you were upgrading from a kernel in which
SATA showed up as IDE, to one in which SATA shows up as SCSI. I don't
think grub can be expected to fix this for you automatically.
The most that grub does is populate the entry automatically with the
contents of the "kopt" variable in menu.lst:
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda5 ro vga=791
If you want new kernel entries to automatically be given /dev/sda5 for
their root fs, you should edit that last line.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon at debian.org http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20050820/32d99f3d/attachment.pgp
More information about the Pkg-grub-devel