LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   building BLFS (http://www.linuxquestions.org/questions/linux-from-scratch-13/building-blfs-913047/)

spiky0011 11-11-2011 12:52 PM

building BLFS
 
I take it I can still carry on building blfs from within he chroot enviroment as I have been lfs. When in the chroot can I switch to a created user to install packages

liquidkaleidoscopes 11-11-2011 01:14 PM

I don't see why not. I'm thinking of doing that myself to copy and paste some of the longer scripts while installing X.

What I did was make a full backup of my L.F.S. installation, once it was complete. That way, if I do mess anything up, I can always go back to the beginning (or the end of LFS).

druuna 11-11-2011 01:37 PM

Hi,
Quote:

Originally Posted by spiky0011 (Post 4521684)
I take it I can still carry on building blfs from within he chroot enviroment as I have been lfs.

In theory you probably(!! never tried this myself) can do this, but why would you?

One reason _not_ to do this: A chrooted environment uses the hosts kernel, not the one LFS is build on (and this is also true if the kernel number is the same!!!). Another reason would be: The hosts /dev, /proc and /sys are uses.

The reason one builds an LFS system and on top BLFS is to use it. If you finished LFS successfully, you have a mean lean LFS system which is perfect to build BLFS on.

I really don't see the up-side of continuing use of the chrooted environment to build BLFS if you have a working LFS to do this.

Quote:

When in the chroot can I switch to a created user to install packages
This I don't get. Is that a question or a statement?

spiky0011 11-11-2011 01:45 PM

Ok thks drunna I will take your advice. The reason is a boot problem I,m trying to sort out But thats another post

druuna 11-11-2011 01:51 PM

Hi,

A tip that might make BLFS building life a bit easier:

If you have finished BLFS chapters 1, 2 and 3 the first packages you should install:
- GPM
- lynx

You now have a working mouse and web browser and can copy/paste when needed and can also read the BLFS html documentation and download needed stuff from the internet.

Do remember to re-install lynx at a later point if you want to include all the optional stuff mentioned in the chapter.

Hope this helps.


All times are GMT -5. The time now is 01:36 PM.