system fails to mount harddisks after boot
matt at darcy.demon.co.uk
Fri Jan 31 08:29:08 PST 2003
"Chris Lingard" <chris at stockwith.co.uk> wrote in message
news:b1e07u$akq$1 at quasar.highos.com...
> Matt Darcy wrote:
> > All,
> > I have seen a few problems similar to this on the news groups and
> > archives, none of them help me I am afraid
> > I have built an LFS 4.0 system
> > All appears to have gone well. I built the system from a redhat 7.3 host
> > system
> > When I boot my system I get this error
> > /etc/rc.d/rcsysinit.d/S10swap exited with error code 255 - cannot find
> > /dev/hda2.
> > yet my swap partitions is /dev/hda2 - I have a /dev/hda2 under the lfs
> > file system, and if I boot back into redhat /dev/hda2 is mounted as swap
> > fine. I can do mkswap /dev/hda2 from the redhat boot, but I can't try it
> > from the LFS as my system will not boot, the LFS system goes on to say
> > can't mount /dev/hda1 /dev/hda4 etc etc and then spins down the disks
> > my fstab looks like this
> > # Begin /etc/fstab
> > # filesystem mount-point fs-type options dump fsck-order
> > /dev/hda4 / ext3 defaults 1 1
> > /dev/hda1 /boot ext3 defaults 0 0
> > /dev/hda2 swap swap pri=1 0 0
> > /dev/hdb1 /var ext3 defaults 0 0
> > proc /proc proc defaults 0 0
> > # End /etc/fstab
> Have you got devices in your LFS system. A quick ls $LFS/dev
> should settle that.
> This occurs to me because you mention devfs. You must have run
> MAKEDEV; or have devfs, and devfsd running on start up.
I have all the devices such as /dev/hda1 available in $LFS/dev thats all
I did run MAKEDEV -g as instructed in the LFS book 4.0 on page
still doesn't occur to me why I can't mount the devices at boot time.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
More information about the lfs-support