dd if=/dev/cdrom of=/directory/filename.iso mount -o loop /directory/filename.iso /mountpoint/
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Create a virtual CD/DVD using an image on Linux (See related posts)
Comments on this post
You need to create an account or log in to post comments to this site.
Related Posts
» filesharing between linux an... in linux administration filesharing
» ubuntu apt-get list installe... in ubuntu linux adminstration
» Fix permissions on a directory in linux
» Reverse DNS from command line in shell osx unix linux
» Configure Ctrl-Alt-Del to op... in linux gnome
» How to Rip a DVD in Ubuntu L... in ubuntu linux dvd mplayer handbrake
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
This is dangerous if you are attempting what the title of this snippet aims to be able to, due to the fact the to be virtualized iso file will be lost by the use of this command (the length will be zeroed or the file overwritten with the content of the CD-R).
Beware! use the first command to create the iso file only!
The second command only mounts the iso file as a virtual CD/DVD. So if you already have the iso file to virtualize use the second command only and never use the first one!
Regards