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.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to