Booting kernel 2.6.25 from Debian40r3 prompts: Waiting for root file system
Hi,
It presents the following error when I'm booting kernel 2.6.25 from
Debian40r3 with built-in kernel 2.6.18-6-486 in VMWare:
>Begin: Waiting for root file system... ...
>Done.
> Check root= bootarg cat /proc/cmdline
> or missing modules. devices: cat /proc/modules ls /dev
>ALERT! /dev/sda1 does not exist.
>/bin/sh: can't access tty: job control turned off
>(initramfs) uname -r
>2.6.25
I read this post: "Waiting for root file system..." hang solved, then
modify /boot/grub/menu.lst:
title Debian GNU/Linux, kernel 2.6.18-6-486
root (hd0,0)
#kernel /boot/vmlinuz-2.6.18-6-486 root=/dev/sda1 ro
kernel /boot/vmlinuz-2.6.18-6-486 root=LABEL=LSDA1 ro
initrd /boot/initrd.img-2.6.18-6-486
savedefault
title Debian GNU/Linux, kernel 2.6.18-6-486 (single-user
mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-6-486 root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.18-6-486
savedefault
title Debian GNU/Linux, kernel 2.6.25, udev not devfs
root (hd0,0)
kernel /boot/vmlinuz-2.6.25 root=LABEL=LSDA1 ro devfs=nomount
initrd /boot/initrd.img-2.6.25
savedefault
and the file /etc/fstab:
proc /proc proc defaults 0 0
#/dev/sda1 / ext3 defaults,errors=remount-ro
0 1
LABEL=LSDA1 / ext3 defaults,errors=remount-ro
0 1
/dev/sda9 /home ext3 defaults 0 2
And issue these commands:
$ su -c 'e2label /dev/sda1 LSDA1'
$ su -c 'update-initramfs -u -k all'
The above one command report 2.6.18-6-486 but not 2.6.25
$ su -c 'update-initramfs -u -k 2.6.25'
The above says /boot/initrd.img-2.6.25 was been altered. Cannot
update. Then I try the following:
$ su -c 'update-initramfs -c -k 2.6.25'
$ su -c 'mkinitramfs -d /etc/initramfs-tools -o /boot/
initrd.img-2.6.25 2.6.25'
I don't find /etc/uswsusp.conf mentioned in Cameron's post on my
machine.
This time, it can not find the LABEL prompting the similar error when
I boot with 2.6.25:
>Begin: Waiting for root file system... ...
>Done.
> Check root= bootarg cat /proc/cmdline
> or missing modules. devices: cat /proc/modules ls /dev
>ALERT! /dev/disk/by-label/LSDA1 does not exist.
But I can boot with the 2.6.18 kernel including the single mode, even
I only use the LABEL way for one entry not the the other one - the
single mode entry. The menu.lst is listed above.
Under the (initramfs) prompt, the uname -r reports 2.6.25.
Thank you for your time.
Reply to: