Closed sachaarbonel closed 3 years ago
It sounds like your disk image is not large enough for the install of Ubuntu. I think I would try creating a larger disk image for the installer. How large of a disk image did you make?
Also, after you created the disk image, did you load it into the VM Configuration? The program doesn't auto load the image that you create, you still need to drag it onto the image well.
In the running of qemu-system-aarch64, here is where the disk image is referenced:
mainImage.path is the path to the Main Image that is setup in the VM Configuration. So it is reading in the path that you have specified, and then passing that onto the arguments for qemu.
As for diskLocationTextField, it is set here:
And then it is used in the output routine of the qemu-img process here:
@sachaarbonel if you try creating a larger drive, and it still doesn't work, please go ahead an open a new issue. But I am going to close this one for now.
Hi @ubenmackin, thank's a lot of for this fork. I've create a new disk using the gui but the vm doesn't seem to use it as I'm getting this error "You need at least 8.6 DB of available space to install Ubuntu. This computer only has 2.2 GB". Fyi using the terminal I enter this command with the patched qemu:
I've read the code a bit and I can't seem to find a line that looks like this
-drive if=none,file=NewDisk.qcow2,format=qcow2,id=hd0 \
. Also I'm not a swift expert but I don't see you reuse this variable "diskLocationTextField" in the controller. Am I missing something?Also there is a bug when deleting a vm it only gets deleted after the app is being restart