can restart my build now (at the last section in chapter 5)?

:-)~MIKE~(-:


On Sun, Aug 3, 2014 at 3:22 PM, Michael Havens <[email protected]> wrote:

> I think /mnt/lfs/tools was created in ch5 and so I cp it to / the mkdir
> lfs.backups then mv sources and tools backups to it then mv lfs.backups to
> /home/ so I end up with /home/lfs.backups containing my backups of sources
> and tools. Regardless, I think I have the backups where you want them.
>
> :-)~MIKE~(-:
>
>
> On Sun, Aug 3, 2014 at 3:02 PM, akhiezer <[email protected]> wrote:
>
>> > From: Michael Havens <[email protected]>
>> > Date: Sun, 3 Aug 2014 14:56:11 -0700
>> > To: LFS Support List <[email protected]>
>> > Subject: Re: [lfs-support] Please, teach me how to fix problems.
>> >
>>         .
>>         .
>> > > > I typed in 'exit' until I got to the command prompt:
>> > > >   lfs@debian:~$
>> > > > the I su  to root. Then I made the backups by
>> > > >   cp -rf sources/ tools/ lfs.backups/
>> > >
>> > >
>> > > (OK, not the way I'd do backups, but hey ... ).
>> > >
>> > > Presumably you're doing this in the $LFS dir, namely /mnt/lfs  .
>> > >
>> > > If so, then you have created /mnt/lfs/lfs.backups/  .
>> > >
>> > > You want now to move the 'lfs.backups' dir outside of /mnt/lfs : move
>> it
>> > > to be under /home : so you should now have /home/lfs.backups/  .
>> > >
>> > > Don't worry about moving/removing anything else from under /mnt/lfs
>> just
>> > > yet: instead, see next question.
>> > >
>> > > ** Now, where is your backup of the toolchain that you did at end of
>> > > chapter 5 ? **
>> > >
>> > > (I know you wanted to push on with this on your Sunday. NB that it
>> seems
>> > > that you're ca 7-12 time-zones behind).
>> > >
>> > >
>> > > > Now I:
>> > > >   chroot "$LFS" /tools/bin/env -i HOME=/root
>> > > > and then I was going to "rm -rf" each individual directory but to
>> make
>> > > sure
>> > > > things were right:
>> > > >   root@debian:/# ls
>> > > >   bin   etc      lfs.backups  lost+found  opt     run      sources
>> > > > temptools  usr
>> > > >   boot  home      lib           media       proc  sbin      srv
>> > > > tmp          var
>> > > >   dev   initrd.img  lib64        mnt       root  selinux  sys
>> > > > tools      vmlinuz
>> > > >   root@debian:/# exit
>> > > >   exit
>> > > >   lfs@debian:/$ su
>> > > >   Password:
>> > > >   root@debian:/# ls
>> > > >   bin   etc      lfs.backups  lost+found  opt     run      sources
>> > > > temptools  usr
>> > > >   boot  home      lib           media       proc  sbin      srv
>> > > > tmp          var
>> > > >   dev   initrd.img  lib64        mnt       root  selinux  sys
>> > > > tools      vmlinuz
>> > > > The two directories are the same?  To make sure they weren't I ls
>> /home:
>> > > >   root@debian:/# ls home/
>> > > >   lfs  mike
>> > > >   root@debian:/# chroot "$LFS" /tools/bin/env -i HOME=/root
>> > > >   HOME=/root
>> > > >   root@debian:/# ls home/
>> > > >   lfs  mike
>> > > > So both directories are the same So what to do now?
>> > > >
>> > >
>> > >
>> > > The above excerpt is completely irrelevant here.
>> > >
>> > > You (basically) don't need/want to be using 'chroot' here.
>>         .
>>         .
>> >
>> > In any case. I didn't create /mnt/lfs/lfs.backups/  as I backed up to /
>> but
>>
>>
>> (The 'ls' outputs from above show it as seemingly being under both '/'
>> and '/mnt/lfs' ).
>>
>>
>> > I moved it to /home so now we are on the same page.
>>
>>
>> OK.
>>
>>
>> > As for the copy of
>> > /tools I also put it in / .
>> >
>>
>>
>> _What_ "copy of /tools" ?
>>
>> The one you did at end of chapter 5 ?
>>
>> Or the one that you just did today ?
>>
>>
>>
>> akh
>>
>>
>>
>>
>>
>> --
>> --
>> http://lists.linuxfromscratch.org/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>> Unsubscribe: See the above information page
>>
>
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to