Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-30-2013, 11:54 PM
|
#1
|
Member
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 171
Rep:
|
Creating a live cd using isolinux
I've been working on LFS and wanted to see if I could turn it into a bootable ISO but I am unsure of how to go about it exactly.
From what I understand, the file system will basically be in an initrd file? If so, how do I create that from my system? I understand it uses CPIO or something? If someone can point me in the right direction, I'd greatly appreciate it.
|
|
|
08-31-2013, 12:24 AM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,161
|
I've not used LFS so I'm not sure what is expected there. The standard way to create a bootable iso is to have all the proper sub-directories and files you need in one directory with the boot files and a menu properly written. Standard command:
Code:
mkisofs -o lfs.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table LFS-dir
If everything is in the right place and properly written, it should create a bootable iso file named lfs.iso from the directories/files in the LFS-dir directory. There are other ways, this is just one I've used.
|
|
|
08-31-2013, 02:20 AM
|
#3
|
Member
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 171
Original Poster
Rep:
|
Thanks, but what about the isolinux.cfg file? From what I see it points to a kernel, which is straightforward enough but then it points also to a initrd file, that's the thing I am stuck on unfortunately.
|
|
|
09-01-2013, 08:12 PM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,161
|
On most systems, there is an initrd file also in the /boot directory where the kernel resides although sometimes in the / of the filesystem. I've never used LFS but I expect that somewhere in the creation of your LFS you would need to create it.
|
|
|
All times are GMT -5. The time now is 10:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|