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.
Hello to all,
I just downloaded the LFS LiveCD.
I'm using VirtualBox.
Once in 5.4.1, during the extraction of GCC there is an error that prevents me to continue, it tells me "No space left on device".
I have tried several times to reset the machine, re-download the ISO, but nothing happens.
What can be the problem?
Is there a way to install all the LiveCD's content in the virtual hard disk?
I searched on Google and found nothing.
I'm sorry for my english, but I'm Italian.
Live cd if it,s the lfs cd that is out of date now,
VB I dont use so not sure of problem, I use a partition on drive about 10gig, How much room did you give VB
I gave 30GB to VB,
But if I can't use the Live CD, which distro should I use exactly?
I Don't think Ubuntu or similar are very good...
But I don't know exactly.
Most distros work they say slackware is compliant out of the box,
Saying that I have built using Ubuntu debain and mageia as long as thet are compliant. I do prefer to use a partition on disc this seems to give less problems when booting at the end.
If you use a installed distro check that it is compliant with this page http://www.linuxfromscratch.org/lfs/.../hostreqs.html
If unsure post the output of the script someone will check it for you.
I have a jug of water and a glass
I want to pour all of the water into the glass
but the glass is now full and I still have water in the glass.
What do I do?
Answer, get more glasses or drink some water
here more glasses is add more drive space
drink is delete some data
on the practical side, once you have compiled and installed a package delete its source/build directory.
I doubt 30 Gb is used up already... Are you sure the partition is mounted, so that you're not building on the LiveCD which is in RAM? Post the output of
As mentioned on the LFS liveCD page, this liveCD cannot be used to build the latest LFS versions.
Using a liveCD from one of the distributions is possible but I would recommend against that. Building LFS using a liveCD comes with its own set of problems, which are not mentioned in the LFS book. Every time you restart (reboot) you will need to re-create the lfs user and (when you get there) the virtual kernel file systems need to be remounted (there might be more).
I would advise to not use a liveCD; Do a minimal install of the distro of choice, make it compliant and start building LFS on that host.
Quote:
But if I can't use the Live CD, which distro should I use exactly? I Don't think Ubuntu or similar are very good...
Slackware and Debian are good candidates. I personally never liked Ubuntu, but it can be used as host. Do make sure that the host used is compliant before starting to build LFS.
Quote:
Once in 5.4.1, during the extraction of GCC there is an error that prevents me to continue, it tells me "No space left on device".
This looks like you are trying to write to the CD, which won't work. $LFS should point to a partition you made (possibly the 30Gb present in VB).
Sorry if I could not answer, I had problems with my PC.
Quote:
Originally Posted by DeeGee
Could you post the partition table you created? I usually get that error when one partition is too small.
I used the entire disk partition (/dev/hda)
I have given 40 GB of space on the VM, so I don't think space is the real problem.
Quote:
Originally Posted by Lennie
I doubt 30 Gb is used up already... Are you sure the partition is mounted, so that you're not building on the LiveCD which is in RAM? Post the output of
Code:
mount
I'll do that.
PS: I know that restarting I would lose everything, but in VB you may save the state of the machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.