Which LiveCD should i use to install LFS?
I have an old tired laptop from 2008 but working on intel core 2 duo t5550 and there is a flash drive for 4 gb (and 8 gb but I don't use it, despite the fact that it kind of works). What LiveCD do you recommend me to install LFS (even without graphics) to have everything I need to install the system? Maybe this question has already been asked on the forum, but I am not an exception.
|
I just registered here so I don't know the ins and outs of the forum. I don't think I'll abandon my account.
|
Welcome to LinuxQuestions.
If the laptop does not have a least 8GB ram and a working internal drive then I don't suggest using it since it will be really really slow. The process requires at least a 10GB partition to build LFS. You can build it using a liveCD like debian which ISO files are less then 4GB but I would install it to hard drive if possible. https://www.linuxfromscratch.org/lfs...ble/index.html Hopefully hazel and others with more experience building LFS will chime in. |
I also forgot tell that in notebook installed the formally 50 gb ssd because first 50 gb with bads. So it may be a little bit faster.
|
You can easily install debian with a desktop and have sufficient space for LFS with 50GB. I suggest reading the LFS documentation.
|
What i do. I write debian minimal in usb stick with ventoy. then i boot from it and by ssh and lfs book perform installation.
And so, i was closing this thread because the question is solved |
Moin,
Booting some more or less crappy linux distro on the target and then login via ssh is also how i usually build LFS on "new" Hardware. To avoid problems during build, i strongly recommend performing the version-check.sh test in "host system requirements" (chpt.2) and really resolve any problems, if there are any, before proceeding. Also: don't do the final stripping in chapter 8 over ssh, if you booted already from LFS. Doing this will cut the ssh connection and leave a damaged libz file. cheers, WK |
Another possibility is to use CLFS on another computer to build a "starter system" which you then tar up and copy over to your laptop. I once did that just out of curiosity. It was a bit laborious but it worked.
If you are building from a live host, I wouldn't recommend Debian. It has a few incompatibilities with LFS which need to be fixed before you start building. Maybe better to use something like Liveslak because Slackware itself is definitely a good LFS host. |
Well, you can additionally install missing dependences and continue build LFS. So i think that Debian minimal live cd isn't that bad to build system
|
The main things you need to do are to install gawk (Debian uses mauk by default) and make sure the system shell sh is a symbolic link to bash and not to dash.
|
I installed gawk. Installed all needed libs.
|
You could try this:
https://github.com/KeithDHedger/LFSBootCD It will build a 10.1 LFS system, there is an iso in the releases ( you will need to join it up, it's in 3 parts ). The iso contains all the source archives as well. Or you can build from the git repo. Good luck and welcome to LFS! |
All times are GMT -5. The time now is 06:20 PM. |