![]() ![]() Kali64.iso: DOS/MBR boot sector partition 1 : ID=0xb, start-CHS Iso should be good - it will boot a computer if burned to usb stick # file Kali64.iso I am able to get as far as the boot menu, but attempting to boot into the installer leaves me with a blinking cursor. ![]() Qemu-system-x86_64: -usbdevice disk:/dev/loop14: could not add USBĪnd # qemu-system-x86_64 -m 2G -hda /dev/loop14 -cdrom -boot dĭd if=iso of=/dev/sdc -> usb boots any machine without thanks for the hint, but creating in virt-manager vm still boots to "No bootable device." Attempting to boot from a Live Linux Mint 18.4 (圆4) ISO using QEMU under macOS Catalina (with patches to use hvf as hypervisor in place of kvm). Qemu window appears and hangs at "No bootable device."Īlso tried mounting iso with: # kpartx -a -v Īdd map loop14p1 (254:0): 0 6082560 linear 7:14 2048 add map loop14p2 In virt-manager the iso begins to boot - then KVM hangs at "Booting from Hard Disk."įrom CLI : # qemu-img create -f qcow2 disk_img.qcow 2Gįormatting 'disk_img.qcow', fmt=qcow2 size=2147483648Ĭluster_size=65536 lazy_refcounts=off refcount_bits=16 # qemu-system-x86_64 -m 2G -hda disk_img.qcow -cdrom -boot d Can not boot iso in kvm-qemu / virt-manager. The iso will make any usb stick bootable the same way. I/O size (minimum/optimal): 512 bytes / 512 bytesĭevice Boot Start End Sectors Size Id Type Sector size (logical/physical): 512 bytes / 512 bytes This is Ubuntu 15.10, running: QEMU emulator version 2.3.0 (Debian 1:2.3+dfsg-5ubuntu9.3), Copyright (c) 2003-2008 Fabrice Bellard How do I properly boot such a raw image in QEMU? The bus=9 argument that -drive should accept is either interpreted as a filename, or completely ignored. $ qemu-system-x86_64 -drive format=raw file=x86-64.img bus=9 Qemu-system-x86_64: -drive bus=9: Could not open 'format=raw': No such file or directory That fails (I think) because my boot device is on /dev/sda, bus 0, so one of the following should work according to QEMU's man page (but doesn't): $ qemu-system-x86_64 -drive bus=9 format=raw file=x86-64.img Qemu-system-x86_64: -drive format=raw: drive with bus=0, unit=0 (index=0) exists The raw command line argument is, as far as I can tell, meant to be passed like this: $ qemu-system-x86_64 -drive format=raw file=x86-64.img (probably because PilOS wants to write to block 0 but can't) ![]() The emulator loads, but PilOS crashes, which means I did something wrong: Specify the 'raw' format explicitly to remove the restrictions. That gives a message: WARNING: Image format was not specified for 'x86-64.img' and probing guessed raw.Īutomatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. I have a disk image file from here that page says I can boot this image with QEMU and the following command: $ qemu-system-x86_64 -m 4096 -ctrl-grab -no-reboot x86-64.img ![]()
0 Comments
Leave a Reply. |