Re: fdisk

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: fdisk
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 <> 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 <> 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 -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> James McPhee
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss