LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   finished lfs 6.3.... (https://www.linuxquestions.org/questions/linux-from-scratch-13/finished-lfs-6-3-a-699902/)

@d4M 01-26-2009 04:13 AM

finished lfs 6.3....
 
i've already finished the lfs 6.3,
i make dual booting and its work.
how do i make the system has grapich? BLFS?..
thanks in advance

druuna 01-26-2009 04:32 AM

Hi,

Quote:

how do i make the system has grapich? BLFS?..
Yes, BLFS is the next step.

There is a difference between LFS and BLFS:
- All the packages should be installed in the order mentioned when installing LFS.
- BLFS on the other hand is 'just' a collection of packages (with dependencies / help programs).

When starting with BLFS you have to figure out first which packages are of use to you and which dependencies those have. You don't need (want) to install everything that is mentioned. The dependencies (if any) are mentioned in the specific chapter(s), sometimes it mentions programs that are not covered in BLFS itself (try at your own 'risk').

I personally split BLFS in 2 parts:
1) the stuff needed for basic operations (none X related, think SSH, PAM, mouse, etc.),
2) X related stuff (WM, all the graphical goodies).

Hope this helps.

@d4M 01-28-2009 07:33 AM

thanks druuna for the help....

actually i confused how to start BLFS!!!
where i must build BLFS? in livecd that i used 4 build LFS or LFS that i've already build???

druuna 01-28-2009 09:09 AM

Hi,

After you finish building LFS you have a minimal bootable/working linux framework. BLFS are the 'goodies'. After booting into your freshly build LFS you can choose what you want to install from the BLFS packages. The livecd is not needed anymore (ok, if you f*ck up, you might need it....)

As for the location to build the BLFS packages: It doesn't really matter. You can use the sources directory mentioned in LFS (I would seperate the LFS and BLFS packages), the 'historical' /usr/src or a location especially made for it. I used the latter and installed from /data/lfs/blfs/6.3.rc2/sources (I like to keep all lfs related together).

Hope this helps.

@d4M 02-09-2009 06:07 PM

How if i using live cd and then chroot into lfs....?? it's working??

druuna 02-10-2009 04:59 AM

Hi,

I'm not sure what it is you are asking.....

After LFS is installed you don't need the live CD anymore (see reply #4), you should be able to boot into the freshly installed LFS. I assume, based on your thread starter, that you can.

Like I said before, I'm not sure if this is what you want to know, if not: Please rephrase the question.....

Anyway, hope this helps.

@d4M 02-10-2009 07:14 AM

sory druuna my english is bad...hehe!!

in lfs book 6.3 chp 6, there's command for entering chroot environment,..

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

actually,,,i've tried to compile some package in blfs using live cd, and there is no error!! but i use 'chroot' command above, before i compiled the blfs package!! i've tried build in my fresh LFS but when i build in my fresh LFS there are many script to type, and it's hard... So i consider using the live cd because it more easier to install the packages (use copy-paste method)...

so what do you think?? must i build again in my fresh LFS??

thanks...

druuna 02-10-2009 07:56 AM

Hi,

You finished LFS, from that point on you don't need/want the live CD anymore. Just boot into your LFS and install the BLFS packages you need/want. Do not use the live CD and the chroot method.

I don't understand the 'there are many script to type, and it's hard' part. You do need to do all the steps in the BLFS book, it does not matter how you start.

You can still copy/paste (ok, not for the first few packages). Make sure you install gpm (mouse) and lynx (text based browser). If those are installed you can use lynx to read and copy/paste from the BLFS html pages (you did download the BLFS html docs?).

Hope this gets you going again.

@d4M 02-10-2009 08:28 AM

thanks druuna for the help. i'ts very helpful!!

now i'll try to compile again in my LFS....but there are few blfs package already installed.
what the command to uninstall it???

druuna 02-10-2009 09:07 AM

Hi again,

There is no uninstall command (in general) when you compile/install from source. The BLFS pages do mention what is installed (the Contents part of that page). But be careful with removing all, some may be needed by other packages (this also depends on what you have installed so far).

My advice: Just (re)install the BLFS packages from LFS, the previous package will be overwritten.


All times are GMT -5. The time now is 07:47 PM.