LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   software for virtual cd in linux (https://www.linuxquestions.org/questions/linux-software-2/software-for-virtual-cd-in-linux-88778/)

spyghost 09-03-2003 07:35 AM

software for virtual cd in linux
 
hi,

is there any software that can do a "virtual cd-rom drive" in linux?

gundelgauk 09-03-2003 07:54 AM

Greetings!


If you want to mount iso images that are lying around on your hdd, you don't need any extra software. Just issue the command
mount -t iso9600 /patch/image.iso /mnt/mountpoint

Though I guess this will only work with actual iso9660 images. Images with another format probably won't work.


Good luck!

spyghost 09-03-2003 08:09 AM

how do i make those iso images?

gundelgauk 09-03-2003 09:20 AM

I take it you want to create an image from an existing CDROM. To do that you need to mount that CDROM, say to /mnt/cdrom. Then you can create an iso image by issuing
mkisofs -J -o /home/user/yourcdrom.iso /mnt/cdrom

Now you should have an image called yourcdrom.iso in your home directory and you can mount this one like you would an actual cdrom in your drive by using the mount command.

I strongly suggest you :study: the manual pages for mount and mkisofs for additional options!


Good luck!

spyghost 09-03-2003 11:13 AM

i suppose to unmount is just umount /mnt/cdrom

aaa 09-03-2003 11:48 AM

You can use dd to make one-to-one images of cds:
dd if=/dev/hdc of=/myimage.iso bs=2048
Replace /dev/hdc with your cdrom device if applicable.


All times are GMT -5. The time now is 02:49 PM.