I've an *.img file, that can't be converted to *.iso, because its a multi-session disk. So I simply changed the file ending to .iso.
Now, I am able to mount it using the following command: mount -o loop dvd.iso /media/iso
BUT: When I try to use this iso in VirtualBox, it fails! Is there a way to mount the iso file as a drive, and then use it in VirtualBox?
mount -o loop
it creates a loopback device that represents the ISO, and then mounts the loopback. Given that you can mount the iso in linux, I guess vb is using a different method. Try mounting in linux, then dolosetup -a
to find out which/dev/loop
it created (/dev/loop0
for example). Then when adding the cdrom device to your vm, use the/dev/loop
device instead of the iso directly.