[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#516931: Yet anonther reason for the "Waiting for root file system ..." error



Hi,

on Wednesday 19 August 2009, you wrote:
> Hello Robin,
>
> On Tue, Feb 24, 2009 at 08:59:35AM -0600, Robin Haunschild wrote:
> > Package: release-notes
> > Severity: important
> >
> > I also got this error after the upgrade from etch to lenny but I was
> > surprised to see that neither hdaX nor sdaX was able to provide a root
> > file system. Surprisingly, my lenny with kernel 2.6.26-1-686 has still
> > the hda nomenclature of the hard disks. The old etch kernel was still
> > able to boot. The problem was that the upgrade procedure put a symlink
> > from /vmlinuz to /boot/vmlinuz-2.6.26-1-686 and analogously with
> > initrd.img. My root and boot directories are on separate partitions.
> > Therefore /vmlinuz pointed into nothing during the boot sequence. After
> > removing this symlink and copying the kernel from /boot to /vmlinuz lenny
> > was able to boot.
>
> I'm not really aware of how the boot system is installed, but maybe the
> answers to the questions below can help finding where is the issue or how
> to document it.
>
> What is your bootloader?

grub

> What are the file systems used for your root and boot partitions?

/dev/hda3 on / type ext3 (rw,errors=remount-ro)
/dev/hda1 on /boot type ext2 (rw)

> Are you using LVM?

No.

> With the process you described above, you probably also drop support for
> security updates of the kernel.
>
> Did you experience other issues since your etch->lenny upgrade (e.g.
> during kernel updates)?
> Or was /vmlinuz replaced by a symlink in the mean time?

No, I experienced no other issues and /vmlinuz was not replaced by a symlink, 
but I am running the kernel 2.6.26-1-686. I think apt/aptitude changed 
my /boot/grub/menu.lst accordingly. My standard boot entry is:
title           Debian GNU/Linux, kernel 2.6.26-1-686
root            (hd0,0)
kernel          /vmlinuz-2.6.26-1-686 root=/dev/hda3 ro vga=791
initrd          /initrd.img-2.6.26-1-686

So, /vmlinuz is no longer required and after a kernel update apt/aptitude 
changes the /boot/grub/menu.lst  to use the newest kernel as standard.

BTW:  /vmlinuz-2.6.26-1-686 is located on my boot partition:
$ ls -l /boot/vmlinuz-2.6.26-1-686
-rw-r--r-- 1 root root 1506512 Mar 13 17:36 /boot/vmlinuz-2.6.26-1-686
$ ls -l /vmlinuz-2.6.26-1-686
ls: cannot access /vmlinuz-2.6.26-1-686: No such file or directory

The file vmlinuz still exists, was not changed or updated after the upgrade:
$ ls -l /vmlinuz
-rw-r--r-- 1 root root 1505936 Feb 21 15:32 /vmlinuz


Best regards,

Robin
-- 
Robin Haunschild
<H@unschild.de>
http://www.tuxschild.de



Reply to: