I've been scowering the forum and the internet for the answer to this question so I do believe that it hasn't been answered. Appologies if it has, if so please direct me in the direction cause I can't find it.
anyway...
I have created a hard disk image using qemu-image.exe. mounted it using the command line. partitioned it and once I have given 777 permisions to it I can write to it during my session. My plan for this hard disk is to store my files (not settings, I am happy with the default 60MB disk for this).
My problem is when I restart these files are not commited.
I have been a user of MSVPC and I know that unless you choose commit changes now when you shut down these things don't get saved and you are left with the installation as it was.
I have looked at the Backup/Restore but this just appears to be the settings and my home folder.
I have looked at QEMU's monitor commit command but as I am not using -snapshot this is irelevant.
I have been able to modify hdb directly (create a mydsl directory) which has been saved
So I'm not sure if this is a QEMU or DSL problem. Is there something that needs to be tweaked?
Thanks in advanceDid you add this new virtual drive in the append section of the .bat file? Then you should be able to copy your extension files to it via the name mapping as provided in the append section.roberts,
I didn't add it into the append section, but as follows (-hdd)
is there another way to achieve the same thing? As the contents of the apend are kernal command line I guess this is DSL relatedOnce booted into DSL, you should see hdd as an option in the mount tool. If not, then perhaps this newly created virtual drive is formatted with something that DSL does not know. I have always created the virtual hard drives using dd then format them with ext2. As a quick and dirty test, I copied the harddrive file to myfiles in the qemu directory using windows. I added the drive mapping hdd as you have done. I started the dsl-qemu.bat file. Then using the mount tool mounted hdd. Then i downloaded glinks.uci and as root copied it to /mnt/hdd. Then upon a reboot, mounted hdd and mydsl-load /mnt/hdd/glinks.uci and all worked as it should. Lastly, I shutdown normally. Then edited dsl-windows.bat and added restore=hdb mydsl=hdd in the append section and reboot. glinks.uci loaded automatically as it should and all is well.
Ok, I decided to try the same thing. I created the qemu disk with this command:
Code Sample
qemu-img create -f raw files.img 100M
I added the line -hdd qemu/files.img to the batch file.
I tried to format it in cfdisk, and I formatted it with Linux file system. Even after I reboot, I still can't seem to mount it. It says that I must specify the file system type.