I am wrong -- virtual optical drive for Linux

Source: Internet
Author: User
In Linux, you can directly mount the virtual Optical Drive.

Reference:
Ubuntu Linux does not require us to install the virtual optical drive software. It can be easily done with simple Mount commands without additional downloads. For example, to use a virtual file. ISO file, run the following command on the command line:
First, create a folder for storing the ISO file. We have created this folder/Media/ISO
Sudo mkdir/Media/ISO
Mount file. ISO:
Sudo mount file. ISO/Media/ISO/-T iso9660-o loop
Now we can see the file. ISO file in/Media/ISO.
To uninstall the image file. ISO, run the following command:
Sudo umount/Media/ISO/

Source: http://publish.it168.com/2005/1226/20051226007601.shtml

After an afternoon, I found that the above method was not feasible and always prompted that the format was incorrect.
So I searched for the loop device and the virtual optical drive on the Forum and Google.
Find inspiration from a post about RedHat hard drive installation
The following are your solutions:

first


sudo losetup-D/dev/loop *


* indicates the number of loop devices


you can use sudo losetup-F to find the first available loop device



the following uses loop0 as an example, to load/homeoem/amule/bsci_a.iso to/home/OEM/bcmsn_a/:


sudo losetup-D/dev/loop0


sudo losetup/dev/loop0/home/OEM/amule/bsci_a.iso


sudo Mount/dev/loop0/home/OEM/bcmsn_a/


as long as there are enough loop devices, you can keep working on it.

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.