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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have built a linuxfromscratch system within vmware running on my WinXP Dell Inspiron 5150 notebook.
Everything went well and the system is bootable.
Has anyone else done this? My question is how the kernel should be configured. As I am brand new to vmware, I'm in doubt as to the type of hardware available to the system.
Wow! That's a really interesting idea. Now that the Stanley Cup playoffs are down to eight teams, maybe I'll give it a shot this weekend.
My best advice for planning your kernel would be to go through the output of dmesg with a fine-tooth comb. You should find most of the info you need there.
Or if you've installed pciutils, you can use lspci.
You really managed to do it? wow... I tried to do it 6 times before actually going for a partition redefine on my HDD for real disk space allocation... it said didn't recognized my virtual PCI devices, hanged several times during kernel loading and it was only KNOPPIX, not LFS... so I did quit my attemps to try it virtually
Originally posted by Cerbere Wow! That's a really interesting idea. Now that the Stanley Cup playoffs are down to eight teams, maybe I'll give it a shot this weekend.
--- Cerbere
VMware is very easy to use, at least I know that it works great for me. All I do is tell it to create a new virtual machine. Then it goes through, and if you leave the default settings for the machine then that is usually good enough to get your system running at the least. It will create a "virtual partition" and when you are installing the OS in VMware just tell it to format the partition automatically and it won't mess with your hdd, it will only mess with your virtual partition.
I found the idea of compiling an LFS system within VMware to be pretty interesting (but not necessarily 'good').
I've never had any troubles installing Slack to a virtual machine, though I usually change the virtual disk to IDE rather than SCSI. However, I couldn't get LFS to compile in the virtual machine. It always gives me too many errors during the first glibc compile.
Oh well, I've found a new pet project: I'm building LFS on an old box I rescued from the thrift store. It's got dual Pentium 90 MHz CPUs and 64 MB RAM. Seems like it'll be a pretty long process. I'm about four days into the build and right now I'm compiling GCC in chapter 6. I didn't time my SBU, but it was about an hour.
Hmm, I don't recall any point in the build process where I could 'tell it to format the partition automatically' :-)
Oh, yeah I guess your earlier response would have made more sense to me if I knew that you could only compile your own version of Linux from LFS only after installing LFS itself. I thought that you could go through a big list and choose what you wanted etc, download that and then configure it using config files.
Oh, and for the "format automatically" option doesn't appear in all distros of Linux, but for some like SuSE and Redhat, when you are installing linux, there is an option that says something like "format all drives and configure automatically" and I was just saying that when you are doing that within VMware then you don't have to worry about it messing up your actual hard drive. It will only mess with your virtual partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.