LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-07-2010, 04:40 AM   #1
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
problems booting lfs system


finished, installed grub, the boot process gets to
Code:
INIT: version 2.86 booting
Mounting kernel-based file systems /proc /sys   [ OK ]
Setting the console log level to 7... [ OK ]
Populating /dev with device nodes...
/etc/rc.d/rsysinit.d/S10udev: line 61: /sbin/udevd: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 66: /sbin/udevadm: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 68: /sbin/udevadm: No such file or directory [ FAIL ]
Activating all swap files/partitions...
swapon /dev/sda2: stat failed: No such file or directory [ FAIL ]
mounting root file system in read-only mode... [ OK ]
Checking file systems..
fsck.ext3: No such file or directory while trying to open /dev/sda3
/dev/sda3:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: 
e2fsck -b 8139 <device> [ FAIL ]

FAILURE:

File system errors were encountered that could not be fixed automatically. this system cannot continue to boot and will therefore be halted until those errors are fixed manually by a System Administrator.

After you press enter, this system will be halted and powered off.

Press Enter to continue...
i will try and get you my fstab and grub.conf if you need it
 
Old 09-07-2010, 06:24 AM   #2
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
Quote:
/etc/rc.d/rsysinit.d/S10udev: line 61: /sbin/udevd: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 66: /sbin/udevadm: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 68: /sbin/udevadm: No such file or directory [ FAIL ]
Seems you haven't installed Udev properly. Check that the programs mentioned are in /sbin.
 
1 members found this post helpful.
Old 09-07-2010, 10:46 AM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

check if the missing programs have been installed in the wrong directory.
The ./configure command from the book:
Code:
./configure --prefix=/usr \
--sysconfdir=/etc --sbindir=/sbin \
--with-rootlibdir=/lib --libexecdir=/lib/udev \
--docdir=/usr/share/doc/udev-151 \
--disable-extras --disable-introspection
Maybe you just missed the --sbindir option. Search the following locations for the missing programs
- /bin
- /sbin <-- if you find it here then the problem is a bit more serious
- /usr/bin
- /usr/sbin
- /lib/udev/
 
1 members found this post helpful.
Old 09-07-2010, 11:31 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
thanks, rebuilding udev worked, not sure what i did wrong but oh well

just a question perhaps someone will know this but when booting from the LFS live cd the hard drive was /dev/hda but when booting from the actual lfs system it changed to /dev/sda even though it's an IDE hard drive, i've noticed this behavior on pre canned distros also (ide hard drives labled /dev/sdX) why is this
 
Old 09-07-2010, 11:53 PM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

the naming depends on the kernel version - and which drivers are used for the device. Here is an article that sheds some light on this matter:

http://lwn.net/Articles/198344/
 
1 members found this post helpful.
  


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
Problem In Booting Lfs neshuagarwal1909 Linux From Scratch 1 05-11-2008 08:11 AM
LFS Booting problem jgmyshko Linux - Laptop and Netbook 1 09-02-2006 07:07 PM
Problem on booting LFS LiveCD satimis Linux From Scratch 4 10-29-2005 08:42 AM
Help me with my problems booting up system with my newly install SUSE 10 pitchblack Linux - Software 1 10-10-2005 02:58 AM
Net booting LFS on a Sparcstation LX Trant0r Linux From Scratch 1 06-08-2005 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration