LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-26-2009, 04:13 AM   #1
@d4M
LQ Newbie
 
Registered: Sep 2008
Location: Indonesia
Distribution: LFS
Posts: 27

Rep: Reputation: 15
Talking 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
 
Old 01-26-2009, 04:32 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 01-28-2009, 07:33 AM   #3
@d4M
LQ Newbie
 
Registered: Sep 2008
Location: Indonesia
Distribution: LFS
Posts: 27

Original Poster
Rep: Reputation: 15
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???
 
Old 01-28-2009, 09:09 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 02-09-2009, 06:07 PM   #5
@d4M
LQ Newbie
 
Registered: Sep 2008
Location: Indonesia
Distribution: LFS
Posts: 27

Original Poster
Rep: Reputation: 15
How if i using live cd and then chroot into lfs....?? it's working??
 
Old 02-10-2009, 04:59 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 02-10-2009, 07:14 AM   #7
@d4M
LQ Newbie
 
Registered: Sep 2008
Location: Indonesia
Distribution: LFS
Posts: 27

Original Poster
Rep: Reputation: 15
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...
 
Old 02-10-2009, 07:56 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 02-10-2009, 08:28 AM   #9
@d4M
LQ Newbie
 
Registered: Sep 2008
Location: Indonesia
Distribution: LFS
Posts: 27

Original Poster
Rep: Reputation: 15
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???
 
Old 02-10-2009, 09:07 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
Finished on LFS But how to continue in BLFS MajesticX Linux From Scratch 5 09-17-2008 07:12 AM
Finished Chapter 6 /mnt/lfs disappeared 0graham0 Linux From Scratch 3 08-27-2007 07:48 AM
Finished LFS - it's more than 1Gb ! Bert Linux From Scratch 4 12-06-2002 04:15 PM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration