Using a virtual optical drive in ubuntu is very simple. Unlike installing special software in Windows, you only need to run the following command to view the content:
Example: # mount-t iso9660-o loop your iso file name. iso/media/cdrom0 (if not, create a file first)
In this way, you can view the content of the ISO file under/media/cdrom0.
More detailed content is as follows :( from: http://school.zzit.com.cn/system/Linux/... 81951.html)
1. Mount the iso file
Generally, you only need:
# Mount-t iso9660-o loop xxx. iso/mnt/cdrom
You can see the content of xxx. iso under/mnt/cdrom.
2. Copy the CD to an iso Image
# Dd if =/dev/hdb of = xxx. iso
Or
# Cp/dev/cdrom xxx. iso
3. The virtual iso is a device.
# Rm-rf/dev/cdrom // Delete the original symbolic connection. You 'd better check it first and remember to restore it :-)
# Ln-s/dev/loop7/dev/cdrom // create a symbolic connection
# Losetup/dev/loop7/path/to/xxx. iso // The virtual iso is the loop7 device.
# Mount/dev/cdrom/mnt/cdrom // mount Virtual Devices
Here are the steps for changing the disk:
# Losetup-d/dev/loop7 // delete a Virtual Device
# Losetup/dev/loop7/path/to/yyy. iso
# Mount/dev/cdrom/mnt/cdrom
//////////////////////////////////////// ///
Sudo apt-get install gmountiso
//////////////////////////////////////// ///