
I spent some time playing with Linux From Scratch, installing it in a QEMU box. The idea was to create a tiny and optimized Linux distro to setup some virtual machines for several purposes.
While it is surely a valuable educational experience it’s also time consuming, error-prone, and a not much rewarding work.
I finally come up with a 343MB “basic” system, that gives me a segfault on sysinit when hwclock is called to setup localtime. I got also a warning saying that “Interface eth0 doesn’t exist”. By default LFS doesn’t support dhcp, so I had to specify Internet connection settings manually. I mean ipaddress, gateway, etc. It could be that I made some mess somewhere with those parameters, but I find it strange that eth0 is not found. Maybe a missconfigured kernel? No more time to investigate further.
Things that you don’t have built-in with LFS: ifconfig and which commands. Those are the thing I’ve noticed first. Also, if you type a ‘man tar’ you get “No manual entry for tar”.
Don’t misunderstand me: I’m not saying that LFS is not good or not cool. It’s surely not an easy distro, and requiring from the user much time, I’m not impressed from the result. I learned how to build a Linux system from scratch, yes, but I have also to say that I’ve not a clear understanding on every single command I typed to the console.
I was also expecting to get a really tiny Linux installation. I could strip out the compiler, docs and binutils.
After setting up a LFS system the next step is to complete it with Beyond Linux From Scratch. There’s a big book of about 1000 pages that explains how to install practically everything from sources. This could be a good reference also if you don’t use a LFS system but you want to install some Linux application from sources.
I started setting up separate partitions for boot (ext3) and root (reiserfs); this caused me some problem later when configuring grub. I think that, to avoid problems, it could be a good idea – for an LFS newbie – to install everything keeping in mind to choose the simplest configuration possible.
Anyway, creating a Linux system from scratch, is one of those things that one could like to do one time in the life.
Cool :-)
Search
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jun | Aug » | |||||
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 | ||||||
Archives
Categories
- Android (3)
- Apple (26)
- Books (7)
- Eclipse (14)
- Errors (3)
- Firefox (7)
- Git (2)
- Hardware (16)
- Horror Code (8)
- Internet (18)
- Java (98)
- JavaScript (9)
- Life, universe and everything (45)
- Lifehacks (25)
- Linux (50)
- Opinions (25)
- OSX (4)
- Python (1)
- Software (27)
- Speeches and Conferences (8)
- Unix (3)
- Web (21)
- Windows (19)
Tag Cloud
Android apple architecture Bash colors configuration CSS Development Düsseldorf Eclipse germany Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux MacBook music night Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu video Web XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Blog License
Blogs I like
Books on the desk
Friends' Blogs
- Antonio Terreno & Valter Bernardini
- Bruno Bossola
- Daniele Galluccio
- Domenico Ventura
- Ed Schepis
- Fabrizio Gianneschi
- Luca Grulla
- Luigi Zanderighi
- Marcello Teodori
- Mida Boghetich
- Muralidharan Chandrasekaran
- Piero Ricca
- Renzo Borgatti
- Simone Bordet
- Simone Bruno
- Uberto Barbini
- Valvolog
- Webtide blogs (Greg Wilkins & Jan Bartel)
Links




















No Responses to “Linux From Scratch”
Please Wait
Leave a Reply