[SOLVED] How to Create an Installer in ISO Format for our LFS/BLFS ?
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.
How to Create an Installer in ISO Format for our LFS/BLFS ?
Dear all,
I have finished create BLFS till XFCE as my Desktop Environment. The funny thing is, I do it all in Qemu, and I want to install it on my full Laptop. So I can use my hardworking LFS as my main OS. How to do this? Do I need to do certain configuration for the hardware adjustment in the linux kernel?
I need this since I only install packages and software that I use daily instead of bunch of softwares that I will never use. Less than 10 softwares are enough for me.
It will be great if I am able to create an ISO from my LFS work, the kind of ISO like other Linux distribution such as Arch Linux, Ubuntu, CaeLinux, so it can be bootable and installed on my laptop. Why not installed Ubuntu instead? Because I can choose the packages I want in LFS, just like the motto "my distro my rule" haha...
I am using Dell Precision laptop, I can check the hardware and enable the module at kernel. Just need to know how to create the ISO. Thank you all. Have a great day.
What I do is mount them all in one directory tree, cd to one below it usually, end enter
Code:
mkisofs <options> directory/*
Bootable isos are a stage up in complexity but there's plenty of examples on the web. An iso is not compressed, so if you're using a usb key, you can copy it to to usb and run it from there.
Iso files are read only, which creates many issues and they are definitely going out of fashion in favour of other options.
I have read several posts about this. I will learn about mkfsiso. I want to ask is anyone know the guide to create installation scripts / an installer for the OS (to copy the file to new computer/hardware) or can we just use the iso and mount it with USB on different hardware and it will load the OS we have in the iso directly without installing? I am new to this.
fair warning the following are not step-by-step instructions like the lfs/blfs books, but rather a set of guidelines to get you pointed in roughly the right direction to accomplish what you are looking to accomplish.
fair warning the following are not step-by-step instructions like the lfs/blfs books, but rather a set of guidelines to get you pointed in roughly the right direction to accomplish what you are looking to accomplish.
thanks for this I am wondering can I create ISO like yours? I am downloading your lfsHostFULL11.iso now and want to try it.
I have installed several packages in my BLFS system and I want to create ISO so I can install my BLFS in another computer.
Like when I install Ubuntu-Studio.iso to my PC, it has preinstalled package, or CAELinux.iso has preinstalled packages as well (GNU Octave, Arduino IDE).
I want to create something like that. But everyone here is saying ISO is old fashion. What is the best most efficient way nowadays now?
Thank You all.
Sorry took a long time. I was installing bunch of packages like ParaView, VTK, Scilab, ... , and I am still learning a lot about Linux. Love this.
Hi Emmett1,
thanks for the reply, thanks for the sharing. I will see your github.
I want to share my experience on creating iso, you might want to give me revision or advice on this:
I tried cat /dev/sda5 > ~/gfreya.iso and it is not finished
then the the iso file size become 69 GB
it prompts : cat: write error: No space left on device
my /dev/root size is actually only used 43 GB. With all the installed packages and Desktop Environment (I install lot of STEM applications).
Just use tar of the build to move it as was mentioned. Creating a bootable ISO is not a trivial thing to do and it's old school idea.
I am doing this right now, from directory / (contain all the folders from boot root bin usr ...)
I run this :
tar -cvzf gfreya.tar.bzip2 /*
So I have another computer. Do I just run a random ISO (e.g. ArchLinux / Ubuntu) then go to the terminal console to the top directory and then rm -rf *
then I copy the gfreya.tar.bzip2 and extract it?
Is that the logic? I will do trial and error to make it works. Thanks for the guidance.
I know the positionof bootup stuff is critical. A lot of those bootable isos use syslinux which I personally found a bit inscrutable, but there you go.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.