fdisk

Michael Havens bmike1 at gmail.com
Mon Sep 1 13:50:36 MST 2014


every time I need to login to LFS I enter this text:

   export LFS=/mnt/lfs
   mount /dev/sda6 /mnt/lfs
   mount -v --bind /sources /sources
   mount -v --bind /dev $LFS/dev
   mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
   mount -vt proc proc $LFS/proc
   mount -vt sysfs sysfs $LFS/sys
   mount -vt tmpfs tmpfs $LFS/run

   chroot "$LFS" /usr/bin/env -i              \
       HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
       PATH=/bin:/usr/bin:/sbin:/usr/sbin     \
       /bin/bash --login

so it seems I am chrooted  for the install.

:-)~MIKE~(-:


On Mon, Sep 1, 2014 at 12:42 PM, James Mcphee <jmcphe at gmail.com> wrote:

> Are you still chrooted in that other shell as part of your install?
>
>
> On Sun, Aug 31, 2014 at 11:03 PM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> I'm at the stage where you are making the system bootable and as part of
>> that I am creating fstab. Well, I need to look at the partitions on my HD
>> to see where swap is. SO I open another terminal and ssh to the LFS machine
>> and (after login) type in cfdisk. I am then told 'Command not found.' What?
>> I know it's there.... it is what I used at the start of this adventure! So
>> I try fdisk, and get the same error. So I try to apt-get util-linux (to
>> install it) but the response is that it is already the newest version.
>> So what is wrong? It is as if I uninstalled the program!
>>
>> Weird! I exited lfs and went to the previous shell and cfdisk works in it
>> now. I wonder why?
>> :-)~MIKE~(-:
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> James McPhee
> jmcphe at gmail.com
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140901/f447bef8/attachment.html>


More information about the PLUG-discuss mailing list