LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 08-30-2013, 10:54 PM   #1
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 171

Rep: Reputation: 38
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.
 
Old 08-30-2013, 11:24 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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.
 
Old 08-31-2013, 01:20 AM   #3
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 171

Original Poster
Rep: Reputation: 38
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.
 
Old 09-01-2013, 07:12 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkisofs: Error - boot image './isolinux/isolinux.bin' has not an allowable size. ogross74 Red Hat 3 05-05-2016 02:22 AM
Creating the ultimate Grub2 setup: Windows installer + Live, Linux installer + live + todda7 Linux - General 47 08-05-2010 11:22 AM
Trouble creating live cd HybridSabre Linux - General 2 10-07-2009 01:04 PM
Creating Live CD gsrikanth Fedora 11 02-03-2005 12:44 PM
ISOLINUX 1.75 2002-06-14 isolinux failed to get sector size tihe Linux - General 13 12-16-2002 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:03 AM.

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