Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run it using virt-manager #597

Open
chan-dev opened this issue Feb 2, 2023 · 4 comments
Open

Cannot run it using virt-manager #597

chan-dev opened this issue Feb 2, 2023 · 4 comments

Comments

@chan-dev
Copy link

chan-dev commented Feb 2, 2023

I was able to complete the steps and run the vm. However, when i quit the VM, and tried to open it with virt-manager, it shows an error like the screenshot shown below.

image

I have a couple of questions.

  1. Why is it showing ESP.qcow2 even if the disk created by following the steps is named MyDisk.qcow2?
    qemu-img create -f qcow2 MyDisk.qcow2 64G

  2. How do i re-open the VM after quitting without using virt-manager?

@Masamune3210
Copy link

Its saying ESP.qcow2 because that is the drive for the ESP, or EFI System Partition. As for how to relaunch the emulator without using virt-manager, its the same way you launched it the first time. Once the system is installed, all you should have to do to get it turned on again is just relaunch qemu with the right variables

@chan-dev
Copy link
Author

chan-dev commented Feb 2, 2023

@Masamune3210, got that. Thanks
I've followed all steps specified.
Why was that MyDisk.qcow2 not detected by virt-manager?

I'm not very familiar with virt-manager, does it mean that i simply add another storage for MyDisk.qcow2?

As a sidenote, if i have to clean up to start from the clean slate, do I simply delete the macOS-Simple-KVMdirectory?

@Masamune3210
Copy link

Its saying PermissionDenied, so I'm assuming either your files are in a directory that is not world-accessible or that you missed a step somewhere in adding a user to a group. Either way, the fix is the same, figure out the permission issue and fix it

@scyilk
Copy link

scyilk commented Jun 29, 2023

Don't delete the directory, instead run chmod -R 777 /path/to/macOS-Simple-KVM where /path/to/macOS-Simple-KVM is the path to that directory. This will fix the permission issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants