LFS minimal install (small book plus zillion questions)
Linux From ScratchThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
LFS minimal install (small book plus zillion questions)
First let me state my goal: To create a more basic LFS install. The book states that ch. 6 creates an environment more for user convenience than a minimal install would. I want that minimal install.
To further explain, I want a system without networking, database stuff, and a bunch of utilities that won't get used to begin with. I've already gone through the LFS book and installed it numerous times, and have even written my own installation scripts. I also did some research on FHS and have conceptualized it on a basic level, at least.
But I have to wonder: is all that software really necessary? Berkeley DB? M4? (etc.) I know there is some I will list and you'll wanna shout "YES!!", but I'm going for a BASIC install and can add stuff I know I'll want later. I'm doing this as part of the learning process for myself, and see what is truly a MINIMAL working system, and what is truly necessary.
Now on to the software in question (in order by the LFS book):
1. In chapter 5, do I really need TCL, Expect, and DejaGNU if I am not going to run any tests? (I've been through all the tests a few times and it all works)
2. Man - can install later
3. Binutils - I think I figured it is necessary
4. GCC - is it necessary after a package manager (ex. dpkg) is installed, if I am not going to recompile the kernel?
5. Berkeley DB
6. Sed - is it needed after it is used in the LFS book?
7. E2fsprogs - can install later
11. Ncurses - I know this is needed for "make menuconfig" when compiling the kernel, but is it used any other time?
12. procps - can install later
15. readline - figured LFS uses it during Bash install's configure script, and I know what it does, but is it necessary?
16. zlib - does tar, gzip and bzip2 call this library?
17. autoconf - see 18
18. automake - does Make NEED this?
19. diffutils - I'm guessing Patch uses it, other than just comparing files
21. findutils - can install later
25. grep - can install later
29. mktemp - is this used for making temp files?
30. module-init-tools - can install later, maybe
31. patch - can install later
32. psmisc - can install later
33. shadow - can install later
36. udev - used during boot or mounting of drives (hard, cd, usb)?
(entries without any text after them mean I have no clue about them, and/or they just don't sound necessary)
Any insight to this is greatly appreciated.
I'm not particular on size, but I just want to leave out unnecessary fluff. Basically I want to start as close to ground zero as I can, and work my way up. I tried Debian's net install, but even without choosing any extra software, it appears to have a bunch of extra stuff.
I'm just trying to determine what is fluff and what is -absolutely- necessary for a system to be able to install more software. I know different people will have different definitions of 'necessary' and 'fluff'. To me, anything that isnt needed to have a shell, basic commands (coreutils and util-linux), and the ability to compile and install software, is fluff.
Here are the packages I am installing during this trial run of LFS:
Linux headers, glibc, binutils, gcc, sed, coreutils, ncurses, readline, bash, bzip2, grub, gzip, make, module-init-tools, sysvinit, tar, udev, util-linux, vim, kernel
Where can I find a list of these dependencies? I've spent 2 days searching, and the only thing I've come across is LSB. However it does not say X is used for A & B, Y is needed for the system to boot, etc. etc. That's what I really need.
Holy dependency craziness!
Looking over things, I'm wondering if I can safely install the kernel while in the chroot environment WITH the /tools (as in section 6.4). Or do I have to do it in the one without the /tools? In other words, do I need to log out and back in to the chroot env. in section 6.59 to do the stripping and install the kernel?
And one last question: Once I install a package manager (dpkg) will I still need GCC and Make?