You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/dev/disk5 is a read-only image, attached through hdiutils.
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme +42.9 GB disk5
1: Linux 1.1 GB disk5s1
2: Linux_LVM 41.9 GB disk5s2
$ sudo linsk ls dev:/dev/disk5
time=2024-10-12T11:15:35.563+02:00 level=WARN msg="Using raw block device passthrough. Please note that it's YOUR responsibility to ensure that no device is mounted in your OS and the VM at the same time. Otherwise, you run serious risks. No further warnings will be issued." caller=vm
time=2024-10-12T11:15:35.570+02:00 level=INFO msg="Booting the VM" caller=vm
time=2024-10-12T11:15:35.620+02:00 level=WARN msg="Canceling the VM context" caller=vm
time=2024-10-12T11:15:35.620+02:00 level=ERROR msg="Failed to start the VM" error="cancel on exit: interrupt cmd: no such process (qemu stderr log: 'qemu-system-aarch64: -device driver=virtio-blk-pci,drive=drive1728724535569297000,logical_block_size=512,physical_block_size=512: Could not open '/dev/disk5': Permission denied')"
Is there any way to debug this ?
Bonus, would there be a way to just use a file from the file system instead of a device (pretty sure qemu would be quite capable of digesting all sorts of disk images)
The text was updated successfully, but these errors were encountered:
In other news, it worked great to read my Asahi Linux disk, sudo linsk run dev:/dev/disk0sX vdb
Do you want me to make a PR to hint that you can pass a partition instead of a full disk (because disk0 has some partitions mounted on my host obviously) ?
I don't think this is an issue
As far as i know if you want to pass the entire disk and have sip enable you need to use /dev/rdisk# (some part of macos takes exclusive control over all the /dev/disk# devices)
I assume this is done to prevent writing to parts of the drive that make up the system volume while the system is running.
Link 0.2.2 arm64 binary release for Darwin.
/dev/disk5 is a read-only image, attached through hdiutils.
Is there any way to debug this ?
Bonus, would there be a way to just use a file from the file system instead of a device (pretty sure qemu would be quite capable of digesting all sorts of disk images)
The text was updated successfully, but these errors were encountered: