utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.01k stars 1.34k forks source link

BdsDxe: Failed to load Boot0001 "UEFI Misc Device" #2355

Closed ChangheeOh closed 3 years ago

ChangheeOh commented 3 years ago

Describe the issue A clear and concise description of what the issue is. BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.

I have tried to create Ubuntu 20.04 arm64 VM by UTM almost with default configuration and there is an error occurring now as bellow at console.

1) First screen

BdsDxe: failed to load Boot0001 "UEFI Misc Device" from VenHw(93E34C7E-B50E-11DF-9223-244DFD72085,00): Not Found
BdsDxe: failed to lad Boot0002 "UEFI Misc Device 2" from RciRoot(0x0)/Pci(0x3,0x0): Not Found

>>Start PXE over IPv4.

2) Last screen

UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
    FS0: Alias(s):CD0h0a0a:;BLK1:
    ... (omitted)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.

Configuration

Crash log If the app crashed, you need a crash log. To get your crash log, open Console.app, go to Crash Reports, and find the latest entry for either QEMU, QEMUHelper, or qemu-*. Right click and choose Reveal in Finder. Attach the report here.

There is no crash report found in the following directories. If I missed to find somewhere other, please let me know.

/Users//Library/Logs/DiagnosticReports /Library/Logs/DiagnosticReports

Debug log For all issues, including crashes, you should attach a debug log. Open UTM, and open the settings for the VM you wish to launch. Near the top of the QEMU page is Debug Log. Turn it on and save the VM. After you experience the issue, open the VM settings again and select Export Log... and attach it here.

1) Debug log exported Running: -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4000,server,nowait -vga none -nographic -chardev pipe,id=term0,path=/var/folders/b_/wc72yt5s56dbjqb0nn7mklqh0000gn/T/com.utmapp.UTM/ubt.terminal -serial chardev:term0 -cpu cortex-a72 -smp cpus=8,sockets=1,cores=8,threads=1 -machine virt,highmem=off -accel hvf -accel tcg,tb-size=512 -bios /Applications/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd -boot order=d -m 2048 -name ubt -device qemu-xhci -device usb-tablet -device usb-mouse -device usb-kbd -drive if=virtio,media=disk,id=drive0,file=/Users/och/Library/Containers/com.utmapp.UTM/Data/Documents/ubt.utm/Images/disk-0.qcow2,cache=writethrough -device usb-storage,drive=drive1,removable=true -drive if=none,media=cdrom,id=drive1 -device virtio-net-pci,netdev=net0 -netdev user,id=net0 -uuid C7C37447-A558-42DE-B0FE-BE92B89D5DC6 -rtc base=localtime

2) QEMU command exported qemu-system-aarch64 -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4444,server,nowait -vga none -nographic -chardev pipe,id=term0,path=/var/folders/b_/wc72yt5s56dbjqb0nn7mklqh0000gn/T/com.utmapp.UTM/ubt.terminal -serial chardev:term0 -cpu cortex-a72 -smp cpus=8,sockets=1,cores=8,threads=1 -machine virt,highmem=off -accel hvf -accel tcg,tb-size=512 -bios /Applications/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd -boot order=d -m 2048 -name ubt -device qemu-xhci -device usb-tablet -device usb-mouse -device usb-kbd -drive if=virtio,media=disk,id=drive0,file=/Users/och/Library/Containers/com.utmapp.UTM/Data/Documents/ubt.utm/Images/disk-0.qcow2,cache=writethrough -device usb-storage,drive=drive1,removable=true -drive if=none,media=cdrom,id=drive1 -device virtio-net-pci,netdev=net0 -netdev user,id=net0 -uuid C7C37447-A558-42DE-B0FE-BE92B89D5DC6 -rtc base=localtime

Upload VM (Optional) If possible, upload the config.plist inside the .utm. If you do not have this, you can upload the entire .utm but note this contains your personal data. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.

osy commented 3 years ago

Duplicate of #2333

abraamgtr commented 1 year ago

You can add boot from the virtual cd drive that is your mac iso file and save and reset it. It will detect the file and boot from that.

Starmynd commented 4 months ago

did you fix it? i have the same issue

ChangheeOh commented 4 months ago

I have not retry it yet.

Aaryanb45 commented 1 month ago

hiii I am facing this error BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU USB HARDDRIVE 1-0000:00:04.0-4.1 from PciRoot (0x0)/Pci (0x4,0x0)/USB (0x7,0x0)/USB (0x0,0x0): Not Found BdsDxe: loading Boot0005 "ubuntu" from HD (1,GPT,5E282052-9FD8-4AD5-BO8D-3A91DF45 DDD5,0x800,0x219800)/\EFI\ubuntu\shimaa64.efi BdsDxe: starting Boot0005 "ubuntu" from HD (1,GPT,5E282C52-9FD8-4AD5-BOOD-3A91DF4 5DDD5,0x800,0x219800)/\EFI\ubuntu\shimaa64.efi EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Exiting boot services...

P-A-R-U-S commented 1 month ago

Looks like same issue with different ubuntu distro

Screenshot 2024-10-05 at 12 20 16 PM