Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 03-01-2007, 05:49 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
6.2 Boot Failure: Populating /dev with device nodes

Hello, this is a continuation from a thread on the Linux Kernel forum.

I've got my drive being recognized by the kernel, but the system still won't boot. It results in an error stating:

Checking file systems
Superblock could not be read or does not describe
a correct ext2 file system. {goes on from there}

Looking back at the boot process, I believe the problem actually is caused by:

Populating /dev with device nodes: [FAIL]

Because my swap partition is also unable to be seen. At this point I'm stuck. I'm not familiar with the udev and sysfs, but I did follow the book character for character with obvious exceptions. I even compiled the kernel with most extras left out (sound, NIC, framebuffering, etc).

The LFS Live CD is what I used and it sees the HD and files just fine and I'm able to "chroot" into the LFS system after (section 6.2.2 and 6.2.3) "Mounting and Populating /dev" and "Mounting Virtual kernel File Systems".

Just the booting of the new system can't seem to populate /dev.

Any idea where I can go from here?
Old 03-03-2007, 06:22 AM   #2
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
go back and restart from the install of the dev package.
[ if you used a different filesystem for the partitions on the hd than ext2, you need to build the kernel with that filesystem explicitly. ]

the livecd is built with support for most filesystems, which would improve it's ability to recognise the drive with your partitions on it when your build doesn't recognise it correctly.
Old 03-05-2007, 01:40 PM   #3
LQ Newbie
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Understood. The filesystem used *is* ext2 and I've compiled into the kernel (not module) ext2 and ext3...both with the extra attributes. In fact, the current kernel has no modules and minimal support for anything but booting (i.e. no network, sound, etc).

Nevertheless, I did restart from udev install. No luck. Same error. UDEV can't populate.
Old 03-12-2007, 04:52 PM   #4
LQ Newbie
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0

In my effort to remove unnecessary options from the kernel and deduce the problem, I removed a vital requirement...networking. The kernel sends uevents to udevd via unix domain sockets. By removing networking from the kernel, so were unix domain sockets.

So, my problem was solved by putting in IDE, PIIX, and Networking including Unix domain sockets.

Thanks everyone!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access the nodes under the /dev directory to access the device? Nishant Desai Programming 2 11-18-2006 04:09 PM
Boot fails at "Populating /dev" FreeDoughnut Linux From Scratch 4 10-04-2006 04:06 PM
anybody still using static dev nodes? garba Linux - General 7 09-08-2005 07:21 PM
populating /dev class_struggle Linux - Newbie 3 07-25-2004 06:39 PM
missing nodes in /dev with 2.6.5 d3c3it Debian 2 04-18-2004 02:27 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration