copy cd iso image to pc [debian]

based on:
http://www.linuxjournal.com/content/archiving-cds-iso-commandline

get blocksize and volume size:
isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size'
copy iso:
sudo dd if=/dev/cdrom bs=blocksize count=count of=test.iso

eg:
isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size'
Logical block size is: 2048
Volume size is: 1595775
to copy:
sudo dd if=/dev/cdrom bs=2048 count=1595775 of=/home/xxfreddyxx/isoimage.iso

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s