LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work
brian_auld at hotmail.com
Sun Nov 10 10:45:53 PST 2002
What you said is what happens to me. Since my 'chroot' doesn't actually
appear to "change root" .... I can do a 'cd /mnt/lfs' because my shell's
interpretation of where '/' is did not change as a result of my 'chroot'
command. I did not get any error messages. It's not practical to show you
the results as I'm writing this email from a windows laptop ... separate box
from my LFS box. Maybe I'll try to paraphrase:
>/usr/sbin/chroot $LFS /static/bin/env -i
What is going wrong is outside the bounds of my perception or knowledge ....
help me someone.
----- Original Message -----
From: "Rui Ferreira" <ruifmferreira at hotmail.com>
To: <lfs-support at linuxfromscratch.org>
Sent: Sunday, November 10, 2002 1:34 PM
Subject: Re: LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work
> >From: "Brian Auld" <brian_auld at hotmail.com>
> >The basic problem is the first step I take in chapter 6: 'chroot'
> >to /mnt/lfs doens't appear to work. I'm not that experienced with the
> >chroot command, but I figure after performing the command, your shell
> >interpret your new root as the NEWROOT specified in your command. In
> >works, after doing a 'chroot /mnt/lfs ..', if you 'cd' to '/' you should
> >actually be where '/mnt/lfs' was before you chrooted.
> I'm confused (but I'm not a native english speaker)
> Simple test:
> After chroot do a cd /mnt/lfs
> If it exists then something is really wrong :(
> if it doesn't (like it's supposed to) then you're ok
> chroot should spit out an error if it failed, or did it?
> Rui Ferreira (another newbie :)
> MSN Messenger: converse com os seus amigos online.
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe lfs-support' in the subject header of the message
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