LinuxQuestions.org
Help answer threads with 0 replies.
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 01-08-2008, 04:34 PM   #1
poblano
Member
 
Registered: May 2003
Location: Cape Cod, MA
Distribution: Debian Stable, CentOS, Ubuntu, etc.
Posts: 63

Rep: Reputation: 16
how do I create a bootable CD?


I admit that I should probably know the answer to this but I don't. I'm in the process of trying to add some new kickstart files to the first CD of a 4-CD Red Hat distribution. I recursively copied the contents of the CD to a directory, added the new files, and then created an ISO image using mkisofs like so:

Code:
mkisofs -U -o /tmp/rhel_as401_cd1.iso /tmp/cd1
Then I right-clicked on the CD icon (GNOME desktop) and selected "Write". The resulting CD is not bootable, even though it appears to be identical to the original CD with the exception of the new kickstart files. Are there some "hidden" files I might be missing? Or perhaps an obscure mkisofs option? Do I need to use mkisofs at all?

Thanks in advance for the help.
 
Old 01-08-2008, 05:04 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Typically what I have done in the past is to use dd to make an exact copy of the CD image, then mount the cd on loopback and add my files. Then unmount it and recreate the CD from that altered image.
 
Old 01-08-2008, 05:07 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Also, instead of right clicking - write, try starting gnomebaker or whichever program you use, load the iso manually and look for boot options before you write.
 
Old 01-18-2008, 04:50 AM   #4
lynnevan
Member
 
Registered: Mar 2006
Location: boise, id
Distribution: windoz, fedora, archlinux, mandriva, ubuntu, suse
Posts: 65

Rep: Reputation: 15
Just a heads up. "mkisofs" is just a soft link for "genisoimage". I used to use mkisofs to create grub boot CDs. It doesn't work anymore to make a boot CD. At least with any of the options I've tried. Which also means this section of "info grub" needs to be corrected:
---------------------------
3.4 Making a GRUB bootable CD-ROM
=================================

$ mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o grub.iso iso
---------------------------

Used to work fine. Now it won't. Be interested to see how you solve this.

good luck,

lynnevan
 
  


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
Can't create bootable CD ken2cross Linux - Newbie 3 12-09-2007 12:18 PM
create : bootable cd. mola Linux - General 1 03-28-2005 11:25 AM
bootable cd create... navaladi Mandriva 1 01-06-2005 04:05 AM
how to create bootable cd shadowsurfer Linux - Newbie 7 10-07-2004 07:35 PM
How to create a bootable CDROM? benny Linux - Newbie 5 04-09-2004 01:51 PM

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

All times are GMT -5. The time now is 08:33 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