Hi,
I built the LFS System using book version 6.3, but the Device node creation doesn't work. In chapter 7.4, I found this:
Quote:
Linux systems in general traditionally use a static device creation method, whereby a great many device nodes are created under /dev (sometimes literally thousands of nodes), regardless of whether the corresponding hardware devices actually exist. This is typically done via a MAKEDEV script, which contains a number of calls to the mknod program with the relevant major and minor device numbers for every possible device that might exist in the world.
|
On the host system, I found a MAKEDEV script. Can I copy that script to the LFS? How do I set it up?
host system is ubuntu hardy
EDIT: the problems with node creation look like this:
Code:
setting the console log-level to 7 [OK]
populating /dev with device nodes [OK]
Activating al swap files/partitions
swapon: cannot stat /dev/sda2:no such file or direcory [fail]
Setting system clock [OK]
mounting root file System in read only mode [OK]
checking file system
fsck.ext3:no such file or directory while trying to open /dev/sda5 [fail]
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 8193 <device>
failure: ...
that's quite strange because it says it mounted the root filesystems, but not sda5. Yet sda5 IS my root fs
dracayr