dd if=/dev/cdrom of=/tmp/whatever.iso
cat /dev/cdrom > /tmp/whatever.iso
不過今天看到有人說這些方法都不好, 因為沒有辦法即時驗證 or 修復檔案, 原文如下:
Many like to use 'dd' for creating CD/DVD iso images. This is bad. Very那就按照以下步驟使用 readom 吧:
bad. The reason this is, is 'dd' doesn't have any built-in error
checking. So, you don't know if you got all the bits or not. As such, it
is not the right tool for the job. Instead, 'reaom' (read optical media)
from the wodim package is what you should be using. It has built-in
error checking. Similarly, if you want to burn your newly creating ISO,
stay away from 'dd', and use:
wodim -v -eject /path/to/image.iso
- 取得 readom, 位於 wodim 套件裡.
sudo apt-get install wodim
- 確定 cd/dvd rom 的 device 沒有被 mount 起來.
umount /media/cdromX
- 建立 iso.
readom dev=/dev/cdrom f=/tmp/whatever.iso
ref: this, this & this.
0 comments:
張貼留言