On Sat, Aug 20, 2005 at 11:51:18PM +0200, Michel van der Klei wrote: > On Sat, Aug 20, 2005 at 02:38:53PM -0700, Steve Langasek wrote: > > 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. > Nope Steve, i came from a 2.6 kernel with sata support. There was no > need to make any changes in my /etc/fstab aswell. Grub was setup > correctly and worked fine until the upgrade. > I've saw this problem before but in that case i came from a 2.4 kernel > and sata showed up as IDE, so that was explainable. > For me this is not such a big problem since i know what to do .... but > some kind of a newbie will have some big trouble with this. > > 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. > Hmm kind of strange, my menu.lst contains: > #kopt=root=/dev/sda5 ro vga=791 Hmm, in that case I have no explanation for this, sorry. Hopefully the grub maintainer has more insight than I do. -- 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/
signature.asc
Description: Digital signature