FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-04-2008, 06:35 AM
"lovecreatesbea...@gmail.com"
 
Default 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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 03:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org