How to hang ISO to virtual CD-ROM under Ubuntu

Source: Internet
Author: User

Using a virtual optical drive under Ubuntu is simple, unlike Windows, where you need to install specialized software, just run the following command to see what's in it:
Example: #mount-t Iso9660-o loop your ISO file name. ISO/MEDIA/CDROM0 (not please create first)
This allows you to view the contents of the ISO file under/MEDIA/CDROM0.
More detailed information is as follows: (Turn from: http://school.zzit.com.cn/system/Linux/... 81951.html)
1. Mount the ISO file
Generally view the contents of the ISO file, only need to:
#mount-T Iso9660-o Loop Xxx.iso/mnt/cdrom
You can see the contents of Xxx.iso under/mnt/cdrom.
2. Copy Disc as ISO image
#dd If=/dev/hdb Of=xxx.iso
Or
#cp/dev/cdrom Xxx.iso
3, virtual ISO for the device
#rm-rf/dev/cdrom//Delete the original symbol connection, it is best to check it first, remember after the recovery oh:-)
#ln-S/dev/loop7/dev/cdrom//establishing symbolic connections
#losetup/dev/loop7/path/to/xxx.iso//virtual ISO for device LOOP7
#mount/dev/cdrom/mnt/cdrom//Mount Virtual Appliance
The following are the steps to replace a disc:
#losetup-D/DEV/LOOP7//delete virtual appliance
#losetup/dev/loop7/path/to/yyy.iso
#mount/dev/cdrom/mnt/cdrom

///////////////////////////////////////////

sudo apt-get install Gmountiso

///////////////////////////////////////////

Http://www.cnblogs.com/Chinasf/archive/2010/05/06/1728840.html

How to hang ISO to virtual CD-ROM under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.