[mdlug] Copying cdroms from command line

Paul set at pobox.com
Sun Jan 14 22:34:14 EST 2007


"Carl T. Miller" <millerc at cantonpl.org>, on Sun Jan 14, 2007 [08:55:01 AM] said:
> Mary, I'm still waiting for you to send the URL for that wiki
> thing you mentioned at the meeting...
> 
> We also talked about how to copy a cdrom to an iso file.  This
> is good because you can then burn multiple copies without needing
> to swap disks in and out.  Note that your mount point or device
> name may be different.  My /etc/fstab shows /media/cdrom and
> /dev/cdrom.
> 
> mount /media/cdrom
> dd if=/dev/cdrom of=myfile.iso

	Hi;

	Just to pick a nit; there is no need to mount the disc.
dd will be reading from the block device, not from the filesystem.

Paul
set at pobox.com

> 
> To test that it's a good image:
> 
> mkdir -p /media/iso
> mount -o loop myfile.iso /media/iso
> ls -AR /media/iso | more
> umount /media/iso
> 
> c



More information about the mdlug mailing list