How to use a virtual drive under Linux

  
                  

CODE: mount -t iso9660 -o loop *.ISO /media/cdrom
umount /media/cdrom
/******************* ***************Ref****************
General Virtual Drive
CODE:rm -rf /dev/Cdrom #delete optical drive
ln /dev/loop7 /dev/cdrom

losetup /dev/loop7 /*/XXXXX.iso

mount /mnt/cdrom
Then you Look at the iso file, is it a virtual drive?

Cancel this CD-ROM:
CODE:losetup -d /dev/loop7
If you change the disk:

Just transfer iso to /dev/loop
CODE: Lostup /dev/loop7 /*/XXXXX.iso
Note: /* is the path

Copyright © Windows knowledge All Rights Reserved