DIY: Build Linux From Scratch

avatar

DIY: Build Linux From Scratch

Noobs getting their first taste of the Linux OS tend to feel a little lost. Even though the Gnome and KDE GUIs are simple and easy to navigate, it's hard to ignore the realization that you don't really know what lurks beneath the surface of this powerful operating system. And many of those who do venture to the command prompt to do a little exploring tend to back away slowly after peeping the unfamiliar and slightly intimidating Unix-like directory structure.

Well, sink or swim, I say! There's no better way to really get to know an OS intimately than to build it yourself from the ground up. (And not all that long ago, this was just about the only way to get to know Linux at all.) Now, before ya'll get worked up, let me just say that this project should by no means be anyone's first step into the world of Linux. (Unless they have a deep yearning for adventure.) But if you've got a machine you don't mind sacrificing to your own personal edification, consider building Linux From Scratch.

LFS is an ongoing project designed to turn ordinary users into superusers. Literally. Rather than rely on others to put together a distro for you, LFS gives you all the building blocks of Linux, and a whole lot of step-by-step instructions to help you along the way. You can download LFS as a bootable Live CD loaded with everything you'll need, including the LFS book that teaches you how to install everything. From creating and mounting your partitions to installing the kernel and libraries and configuring your boot scripts, you'll build your own personalized distribution. Put in what you want. Leave out what you don't.

Once you've got your basic OS installed, you can work on building up your system to include the X GUI, security utilities, multimedia apps, and just about anything else you could want. Using BLFS (Beyond Linux From Scratch), you'll get all the instruction you need to take your install to the next level. In the end, it's a whole lot more work than installing Ubuntu, but it's a rewarding way to explore everything Linux has to offer.

4

Comments

+ Add a Comment
avatar

EarthBoundMisfit

Registered Linux User #404122
Microsoft has encountered a critical system error and must now shut down. Better get Bill Gate$ on the phone for this one.......
[img]http//i35.photobucket.com/albums/d183/NunofyaBidness/404122.png[/img]

Howdy, and welcome to linux.
You should understand that there IS a learning curve...but if you are willing to put in a little time...you will discover for yourself how rewarding Linux is.
First...as a new user...I would NOT recommend Linx From Scratch.
I consider myself an intermediate user...I can solve most of my own problems...and even I am not ready for Linux From Scratch LOL
A good learning distro would be something like Linspire/Freespire, Ubuntu, or Xandros.
All four are user friendly...and Ubuntu and Xandros both grow with your level of expertise...and also interestingly enough...all four are ultimately based upon Debian.
If you'd like to learn the basics...get a book by Rickford Grant 'Ubuntu Linux for Non-geeks'.
The distro he uses may be dated (6.06) but it will also work with 7.04, 7.10, and 8.04.
Best of luck to you...and if you have a question...go to the Maximumpc Alt/os forums to voice your questions.
I promise you...no one will tell you to RTFM.

Glenn Condrey

avatar

DigitalVampire

I'm gonna try and respond to two previous posts...

pcfxer...
Linux was originally based on Unix in more than just directory structure. For example, how it handles ACLs and simultaneous users. Also, when you say that Linux has "bribed companies for development code with the agreement that they will not share the code with any other open OS", this is completely untrue. You have to remember that no single person owns Linux (Linus has the right to the name). Hundreds or more people own code contained within it. So this is not possible. For the record though, many companies do write and maintain code within Linux. For example, AMD, Intel, HP, Dell, IBM, Blizzard, and many more have dedicated Linux developers on staff and entire departments dedicated to it's development. And any OS, even Microsoft, could use the code as it doesn't violate the GPL. Also, you need to do your homework on Macrokernels. Finally, if you're just going to complain about Linux, why don't you just leave it to the scientists, engineers, and computer nerds and go back to playing your little games over in the windows world.

NathanielM...
Welcome to the world of Linux. If you are in new, you are correct in picking Ubuntu. Also good luck with trying to get the Vent client working...i tried to no avail several months ago. It will run, but ALSA (audio) would not work with it. About the command line issue, I would highly recommend Linux Phrasebook by Scott Granneman. It is a small, pocket-sized book, but has everything for the beginning CLI hacker. You should also be aware that the standard command line is BASH on 99% of Linux Distributions, so any book you can find on that will also help you. Also, one word of advice...READ. Read like there is no tomorrow. In my experience, the Linux community will not even give you a second glance if you haven't done your basic homework. Good Luck and Godspeed.

avatar

NathanielM

I was actually just told about LFS a few days before I read this post and have explored the site and booklet. I've actually reverted to they're hint page to try to beef up my knowledge of the linux interface some before i dive in. One thing i haven't found is a comprehensive guide to the terminal. For instance running through ubuntu forums trying to get ventrilo working after DLing it it took me 2 hours to figure out that ./ventrilo_srv will run it if you are in the right directory.. if i hadn't been guessing and typing in random crap i was reading i would have never figured out the ./ thing and i still don't exactly know what its doing. A link to a decent list of commands to get around would be sweet.

avatar

pcfxer

Definitely not Unix-like directory structure, more like unix-like CLI. I just don't understand why maximumPC support Linux so much! Linux is the only "free/open" OS, that has bribed companies for development code with the agreement that they will not share the code with any other open OS.

Linux is like Microsoft but in guise. Linux will load everything in the dev folder just like Windows setup loads every driver known to man (except for the ones you need) whether the hardware is installed or not.

DesktopBSD is a secure and reliable, ready-to-go version of FreeBSD. Why does Desktop BSD use version of FreeBSD that are pre-current? Because, they actually test for security and program compatibility with the GUI added...unlike a certain OS.

Log in to MaximumPC directly or log in using Facebook

Forgot your username or password?
Click here for help.

Login with Facebook
Log in using Facebook to share comments and articles easily with your Facebook feed.