/dev is empty....causes kernel panic
eschnapps at yahoo.com
Sun Jan 16 16:36:50 PST 2005
--- Erich S <eschnapps at yahoo.com> wrote:
> --- Jeremy Utley <jeremy at jutley.org> wrote:
> > Erich S wrote:
> > >This did not happen during the process of the
> > build. I
> > >looked at the /dev directory and found it was
> > >completely empty, including the devices for the
> > >console that were created during the LFS build. I
> > can
> > >only think that this is caused by udev somehow,
> > >Im not sure why udev would delete existing /dev
> > >files. From what Ive read its not supposed to.
> > >
> > >
> > >
> > Udev creates it's device nodes into a tmpfs -
> > remember at the beginnng
> > of Chapter 6, you mounted a tmpfs filesystem to
> > /dev? Because you
> > rebooted, that filesystem is no longer mounted.
> > to get your devices
> > back, you need to perform the appropriate steps in
> > chapter 6 again
> > (Mounting /proc, mounting /sys, mounting /dev,
> > running udevstart,
> > mounting /dev/pts.
> > -J-
> > --
> > FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> > Unsubscribe: See the above information page
> I can see where you're comming from....kinda :) I
> remember mounting those file systems in the chapter.
> One problem though. The boot process is failing when
> it tries to start mounting the root filesystem. I'll
> try mounting those again and reboot, but I'm not
> how this is going to solve the problem, since the
> partition is being mounted before the temporary
> partitions and before udev is even started.
> I'm not sure how to easily get a screenshot of where
> it fails to you, so bear with me while I start it up
> and start copying the screen by hand... :)
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
OK.... Kernel panic snippette, everything looks good
ipt_recent v0.3.1: Stephen Frost <snip email addys>
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Cannot open device "hda2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on
now then this is my grub setup:
# Begin /boot/grub/menu.lst
# By default boot the first menu entry.
# Allow 30 seconds before booting the default.
# Use prettier colors.
color green/black light-green/black
# The first entry. LFS
title LFS 6.0
kernel /lfskernel-188.8.131.52 root=/dev/hda2
this is my partition layout
mounts as /boot ext3 active
mounts as / ext3
mounts as swap
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
More information about the lfs-support