LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-14-2010, 04:01 AM   #1
Hairyloon
LQ Newbie
 
Registered: Mar 2008
Posts: 29

Rep: Reputation: 15
Strip down and Rebuild


OK, so this is not strictly a LFS question, but I thought this was the closest section to pose my question.

While I would quite like to build a Linux system from scratch, there are a few things stopping me at the moment. So I would like to do what I consider to be the next best thing, which is to basically strip down this system pretty much to the bare bones, then build it back up again.

Is that a really dumb thing to do?
If not, any top tips or suggestions?
To be honest, I don't know where to start.
 
Old 05-15-2010, 01:32 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

In my personal opinion, if you just start 'stripping' down a system by removing packages, links, dependencies, libraries, you'll pretty soon have a system that will be unresponsive or overload you with errors.

The best thing to do as I see it, it just start with LFS and follow the book. If you encounter any problems you can post them here. It isn't that hard, just takes time, but it'll teach you so much more.

Can I ask what's stopping you from trying LFS? I recently finished the LFS book (second time) and am now moving on to BLFS. You cannot imagine the things you learn when building it yourself. Most important is to have a good host system that complies with all the requirements. I used the LFS LiveDVD so got everything covered pretty good.

Kind regards,

Eric
 
Old 05-15-2010, 09:57 AM   #3
Hairyloon
LQ Newbie
 
Registered: Mar 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by EricTRA View Post
In my personal opinion, if you just start 'stripping' down a system by removing packages, links, dependencies, libraries, you'll pretty soon have a system that will be unresponsive or overload you with errors.
Yes. I think that would be a pretty silly way to do it as well.
Quote:
Can I ask what's stopping you from trying LFS?
The main thing is simply the difficulty of getting a hard copy of the book.
Crap excuse really I know.
The other reason is the worry that I'll won't have time to do it before I need the machine again for something important.
I suppose the sensible thing to do would be to put it on a separate partition, but I don't have the space.

OK, I know. Build it on a spare machine and do the learning, then see where I am.
 
Old 05-15-2010, 10:03 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I have a spare machine that I use for various things. When I started with LFS, as soon as I got the hard disk ready and packages downloaded, after my first run I made a copy using CloneZilla LiveCD to a USB hard disk (which are not expensive at all). Whenever I need that laptop to install something else, I just use it, and when I have spare time to work on LFS (or BLFS now), I first put the copy back onto the hard disk. The only thing it takes me is about a half hour to restore the machine to its last state, and another half hour making a new copy. I make regular copies of all my systems that way. The disk is only 300 Gb but has proven its uses over and over again.

So you see you don't really need another computer to play with if you do it that way. A lot cheaper and it only takes a little bit of time.

PS: Download the LFS LiveCD and use that as boot environment for your LFS practice. It avoids preparing a host system.

Kind regards,

Eric

Last edited by EricTRA; 05-15-2010 at 10:05 AM.
 
  


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
strip command varun_shrivastava Programming 3 09-03-2007 11:04 AM
about strip George2 Programming 8 08-29-2006 08:55 AM
strip -s blackzone Linux - Newbie 1 09-01-2004 12:08 AM
strip command? blackzone Linux - General 2 07-09-2004 03:20 AM
Why strip binaries? rsamurti Slackware 4 06-27-2004 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration