HomeAppleexhausting drive - How do I share host disk with linux vm...

exhausting drive – How do I share host disk with linux vm visitor


I am experimenting with operating Fedora utilizing Virtualisation bundle in Xcode. Mac is Apple M1 operating Ventura 13.2.1

I’ve managed to share a number listing with the visitor VM, however have thus far didn’t share a uncooked disk. I also can share a disk picture (appears to need to be formatted ext4, which makes some sense, I assume,) however not the uncooked disk itself. For security I am experimenting with a USB stick moderately than one in every of my fundamental system/knowledge disks.
It fails making an attempt to create the preliminary attachment:

guard let testDiskAttachment = attempt? VZDiskImageStorageDeviceAttachment(url: URL(fileURLWithPath: testDiskImagePath), readOnly: false) else {
            fatalError("Did not create installer's disk attachment.")
        }

however the error message is unhelpful (to me, at the very least):

Thread 1: Deadly error: Did not create installer's disk attachment.

Any steering a lot appreciated. Have tried testDiskImagePath as “/dev/disk11”, “/dev/disk11s2”, /Volumes/Scratch_USB (solely attainable if formatted with a filesystem Apple recognises, clearly)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments