joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.75k stars 381 forks source link

temporary write ? #5217

Open AlinGheaja opened 2 weeks ago

AlinGheaja commented 2 weeks ago

Question

is it possbile to make a hard disk img and have write protection but it resets to default on each boot/restart ? example: i install windows 95,drivers and a game and have a checkpoint. i make changes to the system or install something and on each boot/reset it revers to the checkpoint. i tried with "Note: You can write-protect a disk image by putting a leading colon (:) before the image file name in the default setting." but running windows gives errors at boot.

Have you checked that no similar question(s) exist?

Code of Conduct & Contributing Guidelines

Torinde commented 2 weeks ago

I think you don't want write-protection (not least because Windows wants to write to the HDD), but you want all changes to be discarded at the end of the session (like RAMdisk).

It seems that mounting a host folder as HDD in guest OS lacks the capability to actually commit-to-disk the writes, so that missing feature may help for your case? (e.g. if somebody plans to implement the missing feature they should make it optional)

maron2000 commented 2 weeks ago

A differencing VHD image may meet your requirements. I don't use it so I can't give you practical advises, but anyway u can try.

https://github.com/joncampbell123/dosbox-x/pull/4273#issuecomment-1562995011

AlinGheaja commented 1 week ago

thank you ill try.