Cannot mount RAMFS

Cliffe Hodgkinson hodgkinson at gmail.com
Wed Apr 13 12:20:20 PDT 2005


On 4/13/2005 Andrew Benton <b3nt at ukonline.co.uk> wrote:

> It sounds to me like you didn't set up the build environment correctly and 
> some of the binaries in /tools are linked against your host system. 
> /bin/mount on your host system is not visible from within the chroot 
> environment 


Nuts! I think you're right. How far back should I go to fix this?
Right to square 1?

Cliffe


>On 4/13/05, Ken Moffat <ken at kenmoffat.uklinux.net> wrote:
>> On Wed, 13 Apr 2005, Cliffe Hodgkinson wrote:
> 
> > As I reported in an earlier post, I have the LFS system pretty much
> > finished. However, when I go into the chroot environment (making sure
> > that proc & sysfs are mounted and ramfs, tmpfs & devpts are "fake
> > mounted" first) and try to mount the RAMFS with "mount -n -t ramfs
> > none /dev", I get an error:
> >
> > /bin/mount error: no such file or directory
> >
> > Any idea what file or directory it's looking for?
> >
> > Thanks,
> > Cliffe
> >
> 
>  Maybe the '/dev' mount point within chroot.  Or perhaps /bin/mount
> itself.  Or a missing library, (`ldd /bin/mount').
> 
> Ken
> --
>  das eine Mal als Tragödie, das andere Mal als Farce
> 
>



More information about the lfs-support mailing list