LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Which LiveCD should i use to install LFS? (https://www.linuxquestions.org/questions/linux-from-scratch-13/which-livecd-should-i-use-to-install-lfs-4175731960/)

nomadunix_ 12-19-2023 11:56 AM

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.

nomadunix_ 12-19-2023 12:24 PM

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.

michaelk 12-19-2023 12:41 PM

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.

nomadunix_ 12-19-2023 01:16 PM

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.

michaelk 12-19-2023 01:25 PM

You can easily install debian with a desktop and have sufficient space for LFS with 50GB. I suggest reading the LFS documentation.

nomadunix_ 12-19-2023 01:27 PM

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

derguteweka 12-20-2023 01:21 AM

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

hazel 12-20-2023 01:55 AM

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.

nomadunix_ 12-20-2023 02:36 AM

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

hazel 12-20-2023 05:03 AM

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.

nomadunix_ 12-20-2023 05:07 AM

I installed gawk. Installed all needed libs.

Keith Hedger 12-20-2023 09:35 AM

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.