No, udev would have put it in already at the "populating /dev" stage.

looks like they're in your fstab too.

Are you sure you have the right devices?  If you're dualbooting
(likely for LFS), your hda is probably Windows and hdb (for 2 hard
drives, which is my setup) is probably Linux.

It seems that there is no hda2 and that hda1 is not ext\d (which
implies NTFS).  Assuming you have two hard drives, try making those
both hdb instead of hda.

On 7/26/06, Kevin Walker <[EMAIL PROTECTED]> wrote:
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

--
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