Have a CD or DVD lying around that you are sick of putting in the drive every time you need something on the disc How about just making an .iso file that you can mount as you need? Or maybe you just want a “master” copy of the media so you can create another copy at a future date.
At any rate it is rather easy to accomplish in Ubuntu:
sudo umount /dev/cdrom dd if=/dev/cdrom of=file.iso bs=1024
You can also do the same with folders:
mkisofs -r -o file.iso /location_of_folder/
Don’t forget to make a checksum:
md5sum file.iso > file.iso.md5
5 comments:
Or, if you want to do it graphically, you can just right-click the icon for the CD/DVD on your desktop, and choose "Copy Disc". Just change the "Copy Disc to:" field to "File Image" and choose where you want to save it.
Sure, that's not simple... I don't really understand the code and can only blindly copy and paste it, and it Did Not Work - so simple or not it's useless to me. Sorry.
I did this before with 'cat' command, and don't remember having to umount the disk. I prefer the right click method though - lazy but efficient.
Use Braserio to copy disk to file image ( change destination image type to ISO if you want to )
Hardy Heron AMD64
The sudo command is missing a very important ";". It is actually two commands. First you have to unmount the cd drive (if it was mounted to begin with). The second command is dd and it only works with unmounted devices. The 'if=' is the input file (your cdrom device). The 'of='is the output file (whatever you want it to be--include a path or it will go into the current directory). The 'bs=' is block size. I've never used it and never had a problem but after seeing this I checked and it does make a difference. It seems to default to 512 if you leave it out.
The working command would look like this:
sudo umount /dev/[your_cdrom] ; dd if=/dev/[your_cdrom] of=OutputFileName.iso bs=1024
come on ben thats simple if you have the right tools installed. maybe you should just use windows if you point and click
Post a Comment