Keep failing to booting for the 2nd time (UTM, M1 Pro)

As title suggested, I successfully booting it for once after installing it.
But after that, I keep failing to boot it again.
First I thought it’s just a long booting time, but even after 2-3 hours it does not pass the loading screen.
I will write my installing process down as if I report bugs on Jira, hope it helps what am I keep doing it wrong

[Environment]

  • OS : Sequoia 15.3
  • UTM : Version 4.6.4 (107)
  • ISO : haiku-r1beta5-x86_64-anyboot

[Steps]

  1. Create a New VM > Emulate > Other > Browse ISO
  2. Change nothing from default setting
  • Architecture : x86_64
  • System : Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-9.1) (q35)
  • Memory : 4GB
  • Drive Size : 64GB
  1. Start UTM > Try Haiku > Installer > DriveSetup
  2. Format QEMU Hard disk
  3. Installing it successfully > Shut down Haiku
  4. Select created VM > Edit
  5. Drives > Change the order of IDE drive > Save

Hope I can get the helps I need.

Ahoy @Dott,

I am not expert on this, I just see you wrote select IDE drive order. I just wrote about some probing …

→ what if you setup SATA drive instead ?

Also you had not wrote anything about setup EFI load … I mean, 64 bit Haiku has EFI bootloader.
Step ’ Format QEMU harddisk’ does not contain step about creating a FAT formatted EFI partittion !..
The installer image has it - so might be the installer ISO helped to boot the Haiku, you just had not recognozed … it is the Live system … but after you changed the boot order … on that IDE QEMU disk there were no EFI partition, so boot failed. You should have a bootable EFI partition. You can copy its content from the installer image.
You just have to create one on the virtual hard disk during install process , a 64 MB FAT formatted bootable partition - I suggest to create it as first primary partition, if you create DOS partition mapped disk, and select ‘EFI partition’ as its type.
Then after install finished … do not restart the Haiku, but mount both haiku_esp EFI partitions into the Live system, and copy the whole content from the Live onto the empty FAT partition.
After that you can restart - removing the install image, as your new disk in virtual machine then will have an EFI partition to boot your 64 bit Haiku.

I hope I was clear and could help you to get your Haiku :sparkler: in a VM bootable on an Apple M1 Mac! :smiley:

:cowboy_hat_face:

I fidgeting around for 30 minutes, and figured out what do you mean, I think.

Can I ask you what is the significant of make FAT partition and not just keep mount Haiku ESP? I feel like it’s working as is, but maybe I miss something huge again.

I did nothing but just mount HAIKU ESP after installing it, by the way. And it seems works fine now. Thank you for the help! :smiling_face:

Well, if you
→ had not created an EFI partition during install on the selected drive
→ but you can boot into Haiku, then you may have boot into the Live image
→ not into your installed Haiku.

Of course, you can use the EFI partition what is in the installer image and you may not removed from UTM, but in that case
you must turn to Boot Options … hitting quickly Space bar during boot , like F8 works in case Windows.
Then you can use the bootloader to select the installed Haiku instead booting the Live image … selecting from available Haiku drives and then continue with booting.
It will be repeated every time you want to boot into installed Haiku.
You should understand without EFI partition you would boot into always into the installer image.
There you will run out of disk space as that is have only 1.4 GB size.

Open terminal, and issue
df -h
command to check out available disk space.
Or you can check it on GUI -
right clicking on Haiku system drive on Desktop, selecting Information in pop-up menu,
and check out Capacity.

Haiku_drive_Info_Capacity

Thanks to your help, now I can booting it confidently.
There was a simple solution on UTM VM.

  1. Booting with Haiku ESP mounted
  2. System Off > VM Edit > Uncheck UEFI Boot > Save
  3. Unmount Haiku ESP and Everything works fine

I also tried your method and it worked perfectly. So if I have any issue with this VM, I will switch to watch you told me to do.

Thank you so much! Hope I can use Haiku on computer directly, one day :grin: