So how do I get packages??

DJ Lucas dj_me at swbell.net
Wed Nov 20 11:31:37 PST 2002


brian auld wrote:
>
> Csaba Henk wrote:
>>
>> I download all stuff I need, build my lfs, reboot, stay in my new
>> lfs, but if I need a utility of the host system that my LFS lacks, I
>> chroot into the host distro from LFS.
>
> Starting with LFS was my first introduction to the power of the
> chroot command.
>
> Question: Regarding the comment above, how is it possible to chroot
> back to your
> host system after booting into LFS ... when LFS's root filesystem is
> found in the
> path of the hosts root filesystem at '/mnt/lfs'.

Once you've booted into LFS, that's not the path anymore as it's not
mounted /mnt/lfs but  /.

>
> Hmmmm ... would you create a '/mnt/host' directory under your LFS
> root path, mount
> it to the parition of the host's root filesystem, and then chroot to
> '/mnt/host'??
>

Sounds about right to me.

DJ


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list