Method one, Mount Mount command under Linux
The software disk downloaded on the Internet is in ISO format and can be read in the document without being carved into a disc. No decompression.
In terminal with Mount-o loop/mnt/*/1.iso/mnt/cdrom command, (where * is the path placed on your tool tray).
After entering the command, open My Computer--〉 open the CD-ROM to see the files inside. Run Install or Autorun.
When prompted to Charudi two discs, type command umount/mnt/cdrom.
Then type Mount-o loop/mnt/*/2.iso/mnt/cdrom (change the name of the first command to 1 to 2, which is the name of the second disc). then enter again. Wait and you're ready.
[@more @]
Cancel mount with Umount/mnt/cdrom
Cases:
Mount the first disk
#mount-O Loop/mnt/*/1.iso/mnt/cdrom
Un-mount
#umount/mnt/cdrom
Mount the second disk
#mount-O Loop/mnt/*/2.iso/mnt/cdrom
Un-mount
#umount/mnt/cdrom
Note: There are spaces between umount and/
/* is the path to ISO file placement
Method One has been used successfully, the law two will not be used, and there is no personal practice.
Method Two, using the virtual optical drive under Linux
In fact, there is no need for virtual optical drive software, with the Mount command can be completed.
1. Making the CD into an ISO file
Cp/dev/cdrom Xxxxx.iso
Xxxxx.iso is the image file that you named. After executing this command, you can make the entire disc into an ISO file. You can add a path before xxxxx.iso.
2. Load the ISO file on the hard disk into the disc (or virtual CD-ROM).
Mount-t Iso9660-o Loop/*/xxxxx.iso/mnt/iso
3. If you are installing the file provided by the system disk, such as adding the removal program, you may be prompted to insert the disc, but we do not have a CD-ROM, only mirror, how to do?
For Redhat, Mount ISO first, then execute
Redhat-install-packages--isodir=/mnt/iso
4. General situation Virtual Optical drive
Rm-rf/dev/cdrom #删除光驱
Ln/dev/loop7/dev/cdrom
LOSETUP/DEV/LOOP7/*/xxxxx.iso
Mount/mnt/cdrom
And then you look at the ISO file, does it turn into a virtual CD drive?
5. Cancel the optical drive:
Losetup-d/DEV/LOOP7
If you change the disc:
Simply transfer ISO associated to/dev/loop
LOSETUP/DEV/LOOP7/*/xxxxx.iso
NOTE:/* For the path, you may want to first build a folder named CDROM under/mnt/
Two ways to open ISO files under Linux