LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 05-22-2021, 05:04 AM   #1
slac
Member
 
Registered: May 2019
Posts: 265

Rep: Reputation: Disabled
Question How to create a medium of installation?


I have tried to take a look around the WWW but, as you may have guessed, it only shows me results to create a medium of installation for a determined distribution and not for a custom made system (LFS).

That's why I want to know if you could tell me any information about it or link me to any place where I can read about the subject.

Just to be more clear:

I do not want to create a LIVE installation media, I do not want to have a desktop environment so users can click on an "Install" icon.

I just want a simple terminal system that can be booted up on BIOS and UEFI systems; letting users make partitions and extract the sources (install the system). Something like Debian Net ISO installer or Slackware Installer.
 
Old 05-22-2021, 02:51 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,148

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
https://github.com/KeithDHedger/LFSBootCD
Based on this:
https://www.phenix.bnl.gov/~purschke/RescueCD/
 
1 members found this post helpful.
Old 05-23-2021, 07:00 AM   #3
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
Thanks for the links. It will take some to read them fully but, just right now, as far as I could have read, I have some doubts, and those are:

Can I use a static busybox build INSTEAD of using a toolchain to compile a C library thus re-compiling the utilities needed? If so, then that is almost everything I need, right? Just a custom kernel compilation supporting an initial ram disk (initrd), make such initrd. After that, use grub to make a grubx64.efi and efiboot.img for xorriso to use and finally make some more files needed for xorriso to produce the final ISO image? Then burn it to a CD or USB. Is that it?

Would that work good? Or am I missing something?
 
Old 05-23-2021, 07:14 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,148

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Havn't got a clue!
Aint used busybox in years.
 
Old 05-23-2021, 12:53 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,343

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
another option maybe linux live kit https://www.linux-live.org/
 
1 members found this post helpful.
Old 05-25-2021, 10:47 PM   #6
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by colorpurple21859 View Post
another option maybe linux live kit https://www.linux-live.org/
Thanks, I will take at look at that as well. But first, I will try to do something with busybox since I saw that Slackware uses it for its installer, that could be a good hint.
 
Old 05-29-2021, 06:21 AM   #7
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
Now a little update. Yes, it can be done using busybox. If anything else is needed then consider using static, dynamic or hybrid builds, ie: I needed a static fdisk for gpt.
 
Old 06-16-2021, 10:32 AM   #8
slac
Member
 
Registered: May 2019
Posts: 265

Original Poster
Rep: Reputation: Disabled
I ended up using a hybrid-method: busybox + static + shared utilities. It works as intended for an installer (temporary ram file system able to boot; enough utilities to install a system).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Unable to find medium with live File System" error in Ubuntu Installation. subashk80 Linux - Newbie 2 12-01-2009 11:49 PM
Installation source: Packages cannot be found on medium Maes Linux - Software 2 06-17-2006 05:21 PM
chinput installation error: Basic: Cannot open font -misc-SimSun-medium-r-normal--16- Niceman2005 Linux - Software 1 11-01-2005 07:34 PM
"Adding a Medium" in Medium Manager???? kymystic Mandriva 1 03-07-2005 03:16 AM
Fedora Installation Medium gamehack Fedora 1 06-15-2004 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration