On 10/23/17 8:18 PM, Gdsi wrote:
Hi.
I had went into ch.8.3., and  do not want doing lfs for bootable, at least now. 
Indeed, after chroot I have window of lfs-terminal and full Deb.9.1. It is very 
easy for me seeing with Tunar (File Manager) what happen after each my doing 
into lfs.
May I hope that this situation will keep when I will work with BLFS?
Thank.

Hi Gdsi,

There is no problem in skipping Chapter 8, you can always do that later.

If you want to install software, you can do it from your Debian Installation - you just use Chroot (Just like when you installed the LFS-System).

First make sure the Kernel Virtual Filesystems are mounted (Chapter 6.2.2 and 6.2.3):

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

if [ -h $LFS/dev/shm ]; then mkdir -pv $LFS/$(readlink $LFS/dev/shm) fi

Now use the Chroot from Chapter 6.73 (Called Cleaning Up):

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

Now you are working within your LFS-System, and can install software from eg. BLFS ( http://www.linuxfromscratch.org/blfs/view/stable/  )

One thing though - until you get Wget, Lynx or similar program installed, you have to download software with you Debian, and then copy the software packages into the LFS system.

Good luck :)

./Michael


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to