LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-02-2006, 07:07 PM   #1
mohtasham1983
Member
 
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?

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

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

http://www.troubleshooters.com/linux/coasterless.htm

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, 10:37 AM   #3
Abnoba12
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 http://www.linuxquestions.org/linux/...ything_With_DD
 
  


Reply


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 04:17 PM
Burning an ISO file, making it bootable Ephracis Linux - Software 8 07-09-2005 05:32 AM
making openbsd 3.7 ISO noir911 *BSD 4 06-11-2005 08:27 PM
Making slack ISO zaicheke Slackware 6 11-21-2004 06:00 PM
Making an iso image?? Peppercorn Linux - General 9 09-29-2003 08:23 AM


All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration