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

Unable to boot disks from read only file systems #34

Open
MagnusS opened this issue Sep 12, 2024 · 1 comment
Open

Unable to boot disks from read only file systems #34

MagnusS opened this issue Sep 12, 2024 · 1 comment

Comments

@MagnusS
Copy link
Member

MagnusS commented Sep 12, 2024

When booting an iso from a read-only nix location, qemu fails with:

<vm> qemu-system-x86_64: Could not open 'grub.iso': Read-only file system

The iso is attached using the parameter -drive file=grub.iso,format=raw,if=ide,media=disk

Changing media manually to media=cdrom boots the image.

@MagnusS
Copy link
Member Author

MagnusS commented Sep 13, 2024

Currently it's not possible to specify other media-types with vm.boot(): https://github.com/includeos/vmrunner/blob/master/vmrunner/vmrunner.py#L1027

And only disk is supported in the schema: https://github.com/includeos/vmrunner/blob/master/vmrunner/vm.schema.json#L59

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

1 participant