bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chroot not working


From: Kenneth Nash
Subject: chroot not working
Date: Mon, 25 Aug 2003 14:19:05 -0500

I am trying to make an LFS 4.1 system on Mandrake 9.1. I cannot chroot into /lfs, even though they I copied the bin and lib directory from static directory to /lfs. It says /bin/bash and /bin/env don't exist. I tried every version I could to set /lfs directory as root, but it won't find bash or env.

/lfs
  /static
     /bin
     /lib
     /usr
    ..
 /bin
 /lib
 /root

LFS=/lfs

here is the original command:
chroot $LFS /static/bin/env -i \
   HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
   PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
   /static/bin/bash --login

/static/bin/env  /static/bin/bash file directory not found

I have used chroot before successfully in making LFS 4.0.

_________________________________________________________________
Help protect your PC: Get a free online virus scan at McAfee.com. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





reply via email to

[Prev in Thread] Current Thread [Next in Thread]