I re-compiled linux kernel with devtmpfs and other related to tmpfs and sysfs 
and procfs.
Now it's booting well. It's mounting the root filesystem as well as the swap 
and the /dev and /sys and /proc. Everything looks ok now for lfs.
I can login now.
I had to remove /etc/systconfig/console though, otherwise i get some 
un-readable texts/characters.

Thank you all.

--- On Sat, 7/14/12, Ken Moffat <zarniwh...@ntlworld.com> wrote:

From: Ken Moffat <zarniwh...@ntlworld.com>
Subject: Re: [lfs-support] Kernel is not booting
To: "gmspro" <gms...@yahoo.com>
Cc: lfs-support@linuxfromscratch.org
Date: Saturday, July 14, 2012, 1:15 PM

On Sat, Jul 14, 2012 at 07:32:16AM -0700, gmspro wrote:
> Failure message during booting:
> 
 Sorry, only just found this - because you copied me, it fell into
my default mailbox, which I only look at infrequently.  For the
LFS lists, it is usually better to just reply to the list.

 Please try this BEFORE the suggestions I sent a few minute ago, if
you haven't already stated on those :

> """""
> /proc/sys /devmount: Can'f find /dev in /etc/fstab or /etc/mtab
/dev is supposed to be listed in your /etc/fstab.  Specifically in a
line:
devtmpfs   /dev          devtmpfs mode=0755,nosuid  0    0

 When you showed us your fstab earlier, that was one of the lines
you had commented with a '#'.  If you don't mount /dev, mount and
udev will break.

 *Everything* in /etc/fstab is needed!
> In: failed to create symbolic link '/dev/shm' : Read only file system
> cp: can not remove '/dev/null': Read only file system
> 

 because /dev is not mounted.
> FAILURE:
> You should not be reading this error. It means that an unforseen error took 
> place in /etc/rc.d/rcS.d/S000mountvirfs
> which exited with a return value of 1.
> If you are able to track this error down to a bug in one of the files 
> provided by the book, please be so kind
> to inform us at lfs-...@linuxfromscratch.org
> 
> Activating swap partition /dev/sdb6 failed
> Checking file system fsck.ext4: No such file or directory while trying to 
> open /dev/sdb8
> 
> FAILURE:

 again, no device nodes in /dev because it hasn't been found in
/etc/fstab

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to