UTM icon indicating copy to clipboard operation
UTM copied to clipboard

UTM SE: Crash when booting VM as i386 BIOS

Open kirb opened this issue 1 year ago • 6 comments

Describe the issue

Booting a VM with the following characteristics crashes the UTM SE app:

  • Architecture: i386 (x86)
  • UEFI Boot: Off

Changing Architecture to x86_64 fixes this.

Same issue as #5925.

First caught this after sharing an existing VM from UTM on macOS to UTM SE on my iPhone, so this exact config works there.

Configuration (required)

  • UTM Version: 4.5.3 (99)
  • OS Version: iOS 18.0 beta 3
  • Device Model: iPhone 15 Pro Max
  • Is it jailbroken (name jailbreak used)? No
  • How did you install UTM? App Store

Crash log crash.txt

Debug log debug.log

Upload VM

No need, to repro:

  1. Tap +
  2. Select New Machine
  3. Select no boot device
  4. Turn on Legacy Hardware
  5. Change architecture to i386
  6. Accept remainder of defaults
  7. Start the VM

kirb avatar Jul 14 '24 10:07 kirb

I get the same issue. Straight up crashes trying to boot, no matter what I change.

MisutaaAsriel avatar Jul 17 '24 12:07 MisutaaAsriel

Same here. Anything I chance means a crash as long as i386 is the machine type.

Either crashes instantly, or crashes with "guest has not initialized the display (yet)".

Trying to set up a 486-like MS-DOS VM and guides suggest i386 with 486 cpu.

Banjo-Oz avatar Jul 18 '24 18:07 Banjo-Oz

Same issue here on my XR

AlfCraft07 avatar Jul 20 '24 22:07 AlfCraft07

Same on my iPhone 13, has anyone found a fix? I need to use i386 for a OS im trying to run.

A workaround for most OSes is to use "x86-64" then disable "UEFI Boot" which makes the emu boot in BIOS (x86) compatibility mode. x86-64 supports the same boards & CPUs as i386, as well. This is how I got Windows 98 to run.

MisutaaAsriel avatar Jul 25 '24 12:07 MisutaaAsriel

Duplicate of #5925

osy avatar Aug 21 '24 23:08 osy