Hi all, having successfully compiled my lfs system I have encountered
a problem upon booting.

GRUB loads ok and I can select LFS-6.1.1.

The kernel loads into memory and begins to initialise, all seems ok
until I reach init...

Mounting kernel-based file systems: /proc /sys  [OK]
populating /dev with device nodes...                   [OK]
Activating all swap files/partitions...
swapon: cannot stat /dev/hda2: No such file or directory [FAIL]
Checking file systems...
/dev/hda1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it contains an ext2 filesystem
(and not swap or ufs or soemthing else), then the superblock is
corrupt, and you might try running e2tsch with an alternative
superblock

I can mount hda1 from the livecd so I know that it is ext2.
I can turn on a swap file for the livecd so I know that hda2 is
functioning as a swap partition....

Is this something to do with udev and hda1 and hda2 not being present in /dev?

regards

Kev
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to