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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-01-2007, 05:49 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Rep:
|
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?
|
|
|
03-03-2007, 06:22 AM
|
#2
|
Member
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291
Rep:
|
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.
|
|
|
03-05-2007, 01:40 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
03-12-2007, 04:52 PM
|
#4
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|