Better error message on import of non-MBR image
Submitted by Chris Murphy
UEFI laptop that came with Windows 8.1, includes an application to create recovery (install) media. I used that to create a bootable USB stick, which I confirmed works by booting the system from the USB stick and reinstalling Windows 8.1. I'd rather run Windows 8.1 in Boxes rather than have a dual boot system.
dd if=/dev/sdc of=dellrecovery.iso bs=256K
This completes, and I can use losetup + kpartx + mount to mount what was sdc1, a FAT32 volume containing all the files for booting and doing the restore.
When I point Boxes to this using Select a file > and clicking open...
Actual results "Failed to analyze installer media. Corrupted or incomplete media?"
Either it ought to work, or I should get a different error message. The media isn't likely corrupted. I suppose it might be incomplete if Boxes can't support a UEFI only installer, i.e. there is no BIOS boot sector or boot loader on this install media. It has UEFI only boot files. But if that's the problem then it's best if Boxes uses a different error message.
Unfortunately there's nothing reported in journalctl, and I'm not that skilled with either gdb or strace to know how to get a more detailed error message.