Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-02-2006, 08:07 PM   #1
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Rep: Reputation: 30
making ISO file

I have ubuntu 6.06 available in cd and I would like to have its ISO file on my hard disk.
I want to know if I use the following command to make ISO file on my hard disk and if I write my ISO file on a cd , will my new cd be bootable or not?

mkisofs -o ubuntu.iso /media/cdrom/*
Old 08-02-2006, 09:05 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,732

Rep: Reputation: 259Reputation: 259Reputation: 259
I doubt that will be bootable. See this article:

Use the rawread script in that article to check the md5sum of the cd, to make the iso and to check the md5sum of the created iso to make sure it matches the cd md5sum. It's the most accurate tool I've found for generating an iso from a cd. A cd burned from an iso generated from rawread will be an exact sector by sector copy of the original cd which is what you need for the cd to be bootable; certain boot info must appear on certain sectors for a cd to be bootable. mkisofs will put all the data on the cd but not in the same place. The "dd" command will give you that sector by sector copy but you can run into other problems with dd that the rawread script corrects. The article explains it all much better than I can.
Old 08-04-2006, 11:37 AM   #3
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 2, Fedora Core 6, UNBUNTU
Posts: 22

Rep: Reputation: 15
Here is a part of a tutorial on making an ISO from a Cd and the command to do it.

Make an iso image of a CD:

dd if=/dev/hdc of=/home/sam/mycd.iso bs=2048 conv=notrunc

CD sectors are 2048 bytes, so this copies sector for sector. The result will be a hard disk image file of the CD. You can use "chmod a+rwx mycd.iso" to make the image writable. You can mount the image with "mkdir /mnt/mycd", this line in fstab: "/home/sam/mycd.iso /mnt/mycd iso9660 rw,user,noauto 0 0", save fstab, "mount -o loop /mnt/mycd". Then the file system will be viewable as files and directories in the directory /mnt/mycd. You can edit the image as you wish, and the new file will be "/home/sam/mycd.iso" dd does not write to CD's. You need to use a burning utility, or the cdrdao command.

The full artical is at


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a CD from an ISO, help please. limeylew Linux - Newbie 9 06-11-2006 05:17 PM
Burning an ISO file, making it bootable Ephracis Linux - Software 8 07-09-2005 06:32 AM
making openbsd 3.7 ISO noir911 *BSD 4 06-11-2005 09:27 PM
Making slack ISO zaicheke Slackware 6 11-21-2004 07:00 PM
Making an iso image?? Peppercorn Linux - General 9 09-29-2003 09:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration