ISO鏡像是一張cd或者DVD的鏡像文件,它能被儲存在你的電腦裡,並且能用來寫入一張新的光盤裡。在Ubuntu7.10下掛載並使用它是很簡單的。
Ubuntu7.10下掛載.ISO文件使用指南
在linux下默認的ISO掛載點位於"/media"目錄,下面是掛載一個ISO文件的方法:
sudo mkdir /media/cdimage #建立一個文件夾作為ISO掛載點
sudo mount -o loop myfile.iso /media/cdimage #掛載ISO文件,使用參數 -o loop
使用你想掛載的iso文件代替myfile.iso。
掛載一個鏡像文件使之能被寫入,使用下面的命令:
sudo mkdir /media/cdimage
sudo mount -o rw,loop myfile.iso /media/cdimage
卸載鏡像文件:
sudo umount /media/cdimage
rmdir /media/cdimage
其它格式
其它的CD,DVD鏡像文件能被轉換成ISO文件以被掛載
* Nero 鏡像(.nrg)文件能使用 nrg2iso 轉換成ISO文件,或者使用mount掛載
o 使用mount掛載:
sudo mkdir /media/cdimage
sudo mount -o loop,offset=307200 myfile.nrg /media/cdimage
o 安裝nrg2iso:
sudo apt-get install nrg2iso
o 使用nrg2iso轉換成iso文件:
nrg2iso myfile.nrg myfile.iso
* Cue/Bin 鏡像 (.cue/.bin) 必須轉換才能使用. 使用bchunk可以轉換.
o 安裝bchunk:
sudo apt-get install bchunk
o 使用bchunk轉換:
bchunk myfile.bin myfile.cue myfile
* Clone CD (.ccd/.img/.sub) files must be converted. This can be done using ccd2iso. The package for this program is extremely unstable and has been taken from the Ubuntu forums http://www.ubuntuforums.org. It is also only packaged for Pentium (i386) systems. You can also compile from the source using the guide on ManageDiscImages.