[lfs-support] bash: mount: command not found

gdsi gdsi at mail.com
Thu Mar 15 10:31:02 PDT 2012


On 03/15/2012 04:50 PM, Andrew Benton wrote:
> On Thu, 15 Mar 2012 16:09:16 +0000
> gdsi<gdsi at mail.com>  wrote:
>
>> Hello.
>> I had reached to LFS-7.1 ch.6.13, all were ok. On next day after
>> performing all needed mount's and chroot I received:
>> root:/# echo $LFS
>> /mnt/lfs
>> root:/# mount -v -t ext3 /dev/sda10 $LFS
>> bash: mount: command not found
>> root:/#
>>
>> If I do not do chroot the mount executed well:
>>
>> [root at shpd-92-101-169-151 user]# mount -v -t ext3 /dev/sda10 $LFS
>> mount: /dev/sda10 already mounted or /mnt/lfs busy
>> mount: according to mtab, /dev/sda10 is already mounted on /mnt/lfs
>>
>> Why?
> Did you forget to install util-linux?
> If /bin/mount does exist, what do you get when you run from your host
> system:
> ldd /mnt/lfs/bin/mount
>
> and from chroot:
> ldd /bin/mount
>
> Andy

> I do not reached  yet the 6.21. Util-linux-2.20.1, I am in 6.13. Binutils-2.22 now . All instructions from ch.5 had been done.
ldd give:
root:/# ldd /bin/mount
ldd: /bin/mount: No such file or directory
root:/#
------------
[root at shpd-92-101-169-151 user]# ldd /mnt/lfs/bin/mount
ldd: /mnt/lfs/bin/mount: No such file or directory
[root at shpd-92-101-169-151 user]#
Thanks





More information about the lfs-support mailing list