So far the closest I've gotten is with Qemu. As Administrator: C:\Program Files\qemu>qemu-system-x86_64.exe -kernel \coLinux\vmlinuz64 -initrd \coLinux\initrd64.img -snapshot -hda \\.\PhysicalDrive0 drops me out into the initrd shell, where cat /proc/devices tantalizingly shows me the 3 partitions with their correct sizes, but won't let me mount any of them, saying "no such file or directory". And yet, I can dd if=/dev/sda1 bs=512 count=1 and it shows me the gibberish I expect from that partition's bootblock.
Running that same Qemu command as a regular user simply returns immediately, with no sign that it registered anything. This is a version from 2016; the newest download won't run at all, complaining about lack of support for somethingorother from kernel32.dll.
Oh, and as a user I can specify the D: drive, which is properly recognized as my USB stick, but again, it can't see the partitions, it only lets me dd it as a raw device.
Back to blog or home page
last updated 2021-03-12 13:40:30. served from tektonic.jcomeau.com