Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make .iso from bootable Redhat CD

Status
Not open for further replies.

thedaver

IS-IT--Management
Jul 12, 2001
2,741
US
Instead of wanting to burn an .ISO, I want to MAKE an .ISO FROM a known good RedHat CD set I borrowed from my buddy. I'm particularly concerned about CD1 because it's bootable.

If it's enough to `cp -R` the whole enchilada from each CD and make an .ISO from there I guess I can manage, but I really hoped somebody had a truly slick way to solve this. OR AT LEAST some GOTCHAS to watch out for before I proceed.

Thanks,
D.
 
Try using 'dd'. It'll copy the CD byte-by-byte. Check out this quick run down:

<quote>

To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.
Code:
dd if=/dev/dvd of=dvd.iso  # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso  # if cdrom is scsi
To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the
Code:
mkisofs
command.
Code:
mkisofs -o /tmp/cd.iso /tmp/directory/
This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.

For more info, see the man pages for mkisofs, losetup, and dd, or see the CD-Writing-HOWTO at
</quote>

Source:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top