[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
QEMU on MacBook Pro to boot bootable usb Linux flash drive
From: |
msg board |
Subject: |
QEMU on MacBook Pro to boot bootable usb Linux flash drive |
Date: |
Tue, 11 Feb 2020 13:40:13 -0800 |
Hi,
I m using qemu-system-x86_64 on MacBook Pro running Catalina 10.15.2
I have a bootable Linux usb flash drive which I connect to my MacBook and it enumerates as /dev/disk2 and mounts on /Volumes/NO NAME.
I want to use qemu on my MacBook to boot this disk.
I used many combination of commands but I keep getting errors.
————————————————————————
e.g. when I used “sudo qemu-system-x86_64 -hda /dev/disk2” command from command line, I get error on command line saying “ WARNING: Image format was not specified for '/dev/disk2' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.”
On qemu window I see “Booting from Hard Disk... Disk error Press any key to restart”
————————————————————————
So I run “sudo qemu-system-x86_64 -hda /dev/disk2,format=raw” and the command line shows “ qemu-system-x86_64: -hda /dev/disk2,format=raw: Could not open '/dev/disk2,format=raw': No such file or directory” and qemu does not start.
Any insight is greatly appreciated
Thanks
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- QEMU on MacBook Pro to boot bootable usb Linux flash drive,
msg board <=