LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-01-2007, 06:49 PM   #1
gpenguin
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
/dev/hda3:
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, 07:22 AM   #2
Jaqui
Member
 
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, 02:40 PM   #3
gpenguin
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, 05:52 PM   #4
gpenguin
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
SOLVED!

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!

--David
 
  


Reply


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 05:09 PM
Boot fails at "Populating /dev" FreeDoughnut Linux From Scratch 4 10-04-2006 05:06 PM
anybody still using static dev nodes? garba Linux - General 7 09-08-2005 08:21 PM
populating /dev class_struggle Linux - Newbie 3 07-25-2004 07:39 PM
missing nodes in /dev with 2.6.5 d3c3it Debian 2 04-18-2004 03:27 PM


All times are GMT -5. The time now is 04:47 PM.

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