Opened 14 years ago

Closed 13 years ago

#5651 closed defect (fixed)

VirtualBox will not start when a read-only floppy image is mounted => Fixed in SVN

Reported by: Mike Swanson Owned by:
Component: virtual disk Version: VirtualBox 3.1.0
Keywords: Cc:
Guest type: other Host type: Linux


When setting up a VirtualBox with a floppy image without write permissions (I want to make sure the contents of the image are not changed), VirtualBox will fail to start with an error that it cannot open the file for writing (as expected). Version 3.0.x and earlier did not have this issue.

Although I am not sure what, if anything, happened if an explicit write attempt were made. I simply did this for extra safety of the integrity of the images...

Change History (4)

comment:1 by Alkis Georgopoulos, 14 years ago

I'm also affected by this (#6420). In my case the floppy image is in /usr/share, so I'd have to make a temporary copy to make it writeable. Isn't it possible to consider read-only images like read-only floppy disks? (with the hole uncovered?)

comment:2 by Donuts, 14 years ago

This deficiency is quite inconvenient. In my case, I have images of the master floppy disks for several applications (which are read-only). In order for VirtualBox to be able to mount them, I have to copy them to a temporary directory and make the copies read-write.

As mentioned above VirtualBox could simply consider read-only images as write-protected floppy disks. To more comprehensively address this issue, there could also be a global setting to treat all floppy images as write-protected. That would give the user some assurance that their master images won't be modified by VirtualBox, even if the images have read/write permissions. A per-image checkbox in the virtual media manager so that individual images can be marked as being write-protected would be good too.

comment:3 by Frank Mehnert, 14 years ago

Summary: VirtualBox will not start when a read-only floppy image is mountedVirtualBox will not start when a read-only floppy image is mounted => Fixed in SVN

Thanks for the report! Finally fixed in the next major release.

comment:4 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use