2010年9月2日 星期四

快速製作光碟映像檔(iso)

這個指令可以拿來方便的拷貝光碟
(注意﹕光碟的格式是標準的 iso9660格式才可以!)

dd if=/dev/cdrom of=cdrom.iso



How do I use dd command to create an ISO image?

Put CD into CDROM
Do not mount CD. Verify if cd is mounted or not with mount command:

# mount
If cd was mouted automatically unmout it with umount command:
# umount /dev/cdrom

OR
# umount /mnt/cdrom

Create CD-ROM ISO image with dd command:
# dd if=/dev/cdrom of=/tmp/cdimg1.iso

Where,

* if=/dev/cdrom: Read from /dev/cdrom (raw format)
* of=/tmp/cdimg1.iso: write to FILE cdimg1.iso i.e. create an ISO image



Reference