Have you ever been wondering if you can get some software on Linux to what Virtual CD or Fake CD Does, well in Linux you don't need this kind of software cause Loopback Devices comes to the rescue.
 
the first thing you need to do is to create an image of your CD, (HD,DVD, or whatever) by
 
$ cp /dev/cdrom ~/MyCDrom.img
 
you can replace /dev/cdrom with any device you wont (or the proper one, consult your documentation) and ~/MyCdrom.img with any other name or path, it's your img file.
 
after that you just need to mount it, applying that the you have a directory to mount it to.
 
$ mount -o loop=/dev/loop0 ~/MyCDrom.img /mnt/VirtualSystemFolder
 
of course replace ~/MyCDrom.img /mnt/VirtualSystemFolder with the appropriate values.
 
if it failed try /dev/loop1 or /dev/loop2 instead of loop0 as you might be using the loopdevice, issue
 
$ ls /dev/loop*
 
to see what loop devices you have.
 
hope this was useful
 
PS: Things may be changed on your system, if nothing worked then excuse me for bothering you, and Consult the documentation of your distribution for the loopback devices

--
                                 Ala'a A. Ibrahim
http://360.yahoo.com/bai_83
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to