Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46

Thread: How to create ISO images from your HD CD DVD

  1. #1
    Join Date
    Nov 2004
    Location
    Anywhere
    Beans
    Hidden!

    How to create ISO images from your HD CD DVD

    This is very helpfull to backup you cd and dvd into iso images:

    To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. (ubuntu automount so you need to unmount, that's quite easy, just choose the option unmount from the shell).

    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 mkisofs command.

    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 http://www.tldp.org.

    Hope it helps
    Sniff.

    Ubuntu Freak

  2. #2
    Join Date
    Apr 2005
    Beans
    1

    Re: How to create ISO images from your HD CD DVD

    hi,

    but as i see it just creates a image from hd/cd...

    to make it more fun, how could we make it a bootable/reinstall cd/dvd???

    I mean, if we could create a cd.iso from our hd, that could be very nice if we could restore it.

    Considering a hard disk crash, what are the best ways to do that ( restore from cd.iso)??

  3. #3
    Join Date
    Mar 2005
    Beans
    118

    Re: How to create ISO images from your HD CD DVD

    nice, guide
    See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too.

  4. #4
    Join Date
    May 2005
    Beans
    15
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to create ISO images from your HD CD DVD

    Quote Originally Posted by Sniffer
    This is very helpfull to backup you cd and dvd into iso images:

    dd if=/dev/dvd of=dvd.iso # for dvd

    can I use this command to make an iso of an double layer dvd too ?

  5. #5
    Join Date
    Nov 2004
    Location
    Anywhere
    Beans
    Hidden!

    Re: How to create ISO images from your HD CD DVD

    Never tried...but it should work, i presume.

  6. #6
    Join Date
    May 2005
    Beans
    15
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to create ISO images from your HD CD DVD

    Quote Originally Posted by Sniffer
    Never tried...but it should work, i presume.
    Well I tried to make an iso of my suse 9.3 dvd, this is a dual layer dvd so it contains 8.1Gbyte, If i use dd to make an iso I get about 3.9Gbyte in the iso.

  7. #7
    Join Date
    Nov 2004
    Location
    Anywhere
    Beans
    Hidden!

    Re: How to create ISO images from your HD CD DVD

    Maybe it can help you out.

    Since I always make a back-up copy of my original SuSE dvd's, I looked around if it can be done with the new dual layer dvd as well. And I found an easy and excellent way to do it over at linux-club.de.
    All kudos goto "crazyrolf", I just translated his German how-to into English and added a comment or two.

    Here it goes:
    I found a nice manual how to make a back-up of your SUSE 9.2 DVD that includes only the 32bit version and fits on a single layer dvd. This how to will create an ISO that can be burned to a regular DVD.
    This is only intented to be used with legal copies of SuSE 9.2

    Some explanations.
    Everything will be done in a root shell
    # ... is a prompt
    Everything to the right of the prompt is an order that has to be executed.
    Lines without prompt are just messages that are created during the executions of the orders

    Lets start:
    First mount the original DVD (if you created an ISO from the original DVD then you must extract that into a folder) with (or similar, that depends on your system)

    # mount /cdrom
    Now you need to create a new directory on your harddrive (it will take about 4GB). I called mine "/suse92". Lets get to work ( I will not explain the single commands, just use them in the order they are posted but change it for your dvd drive or the folder in case you already extracted the entire dvd):

    # mkdir /suse92
    # cd /cdrom
    # cp -p * /suse92
    cp: Verzeichnis ?boot? ausgelassen
    cp: Verzeichnis ?docu? ausgelassen
    cp: Verzeichnis ?dosutils? ausgelassen
    cp: Verzeichnis ?media.1? ausgelassen
    cp: Verzeichnis ?suse? ausgelassen
    # cp -a boot /suse92
    # cp -a docu /suse92
    # cp -a dosutils /suse92
    # cp -a media.1 /suse92
    # mkdir /suse92/suse
    # cp -a suse/i586 /suse92/suse
    # cp -a suse/i686 /suse92/suse
    # cp -a suse/noarch /suse92/suse
    # cp -a suse/setup /suse92/suse
    # cd /suse92/suse
    # mkdir x86_64
    # chmod +w *

    Now it is time to get rid of the stuff we don't need:

    # cd /suse92/suse/i586
    # ls aspell-[a-z]*|grep -v -- -de-|grep -v -- -en-|grep -v devel|xargs rm
    # ls OpenOffice_org-[a-z]*|egrep -v "(gnome)|(kde)|(Quick)|(-de-)|(-en-)"|xargs rm
    # cd /suse92/suse/noarch
    # ls ispell-*|grep -v german|xargs rm
    # ls yast2-trans-*|egrep -v "(-en)|(-de)"|xargs rm
    # ls susetour-[a-z]*|grep -v de|grep -v en|xargs rm
    # ls susehelp_[a-z]*|grep -v de|grep -v en|xargs rm
    # ls suselinux-adminguide*|egrep -v "(_de)|(_en)"|xargs rm
    # ls suselinux-userguide*|egrep -v "(_de)|(_en)"|xargs rm
    # ls myspell-*|egrep -v "(german)|(american)|(british)"|xargs rm
    # ls k*-i18n*|egrep -v -- "-(de)|(en)"|xargs rm


    This last chapter is only valid for the German and English language installation. If you need a different language then you have to make the proper changes.

    We are done with the data and it is time to create the ISO

    # cd /suse92

    ISO Image creation : the next lines are one entire command, that needs to go in one line

    # mkisofs -o SuSE_9_2.iso -b boot/loader/isolinux.bin -no-emul-boot -boot-info-table -joliet-long -publisher SuSE -r -V SuSE_9_2 -graft-points /suse92

    Done
    Burn the DVD and enjoy your back-up.

    This is only intented to be used with legal copies of SuSE 9.2

  8. #8
    Join Date
    Jul 2005
    Beans
    1

    Re: How to create ISO images from your HD CD DVD

    hi,
    it works perfectly to create iso images from cd-rom ; but do you know how to create an iso image of an audio cd ?
    thanks

  9. #9
    Join Date
    Nov 2004
    Location
    Melaka, Malaysia
    Beans
    138
    Distro
    Ubuntu Development Release

    Re: How to create ISO images from your HD CD DVD

    Quote Originally Posted by bzaume
    hi,
    it works perfectly to create iso images from cd-rom ; but do you know how to create an iso image of an audio cd ?
    thanks
    *bump*

    i'm interested in learning this, too.

    kahping

  10. #10
    Join Date
    Feb 2006
    Beans
    2

    Lightbulb

    .
    Last edited by Nwallins; February 15th, 2006 at 05:48 AM.

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •