Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest .iso is broken #1885

Open
osbyrne opened this issue Jul 30, 2024 · 17 comments
Open

latest .iso is broken #1885

osbyrne opened this issue Jul 30, 2024 · 17 comments

Comments

@osbyrne
Copy link

osbyrne commented Jul 30, 2024

image

trying to run the latest umbrel OS .iso from boxes doesn't work (screenshot above)
and trying to install on a spare laptop also fails

what do?

@a4004
Copy link

a4004 commented Jul 31, 2024

Hey @osbyrne 👋

It looks like GNOME Boxes is booting in Legacy BIOS mode which is the older firmware type that umbrelOS does not support.

I would recommend using another hypervisor such as Oracle VM VirtualBox or QEMU/KVM with Libvirtd on Linux to boot umbrelOS.

However, you may be able to change the boot mode on GNOME Boxes by doing the following:

  • Go to Box preferences → Resources → Configuration
  • Look for the line that says something like: <os> and change it to: <os firmware="efi">
  • Try booting again

Hope that helps! 😄

@osbyrne
Copy link
Author

osbyrne commented Aug 1, 2024

thanks!

running Boxes as Flatpak on ChromeOS, I weirdly can't edit configuration (clicking on the button simply does not open any config editor)

I was trying Boxes after failing to boot umbrelOS on a Dell Latitude E5540 laptop, which is maybe old enough. I'll see if I can change its Bios to run UmbrelOS

@zerpex
Copy link

zerpex commented Aug 2, 2024

Hey,

Got a similar issue with Proxmox:
image

I tried a lot of settings. Here are the latest ones:
image

And the options of the VM:
image

Checked the iso, it seems correct. The VM just don't boot !
Any thoughts ?

Thanks,
z.

@osbyrne
Copy link
Author

osbyrne commented Aug 2, 2024

I tried with UEFI
image
still no boot

@a4004
Copy link

a4004 commented Aug 2, 2024

Hey @zerpex,

I've managed to get umbrelOS successfully installed on my test instance of Proxmox as you can see here:

image

With pretty much the same configuration - however, I did not specify an EFI disk and used i440fx instead of q35 which seems to work.

image
image

Could you try removing the EFI disk and see if that helps?

@a4004
Copy link

a4004 commented Aug 2, 2024

I tried with UEFI image still no boot

Could you try re-creating the USB drive again using Etcher or Rufus if you're on Windows and try booting again? Could you also show what happens after you choose the USB drive, any error messages or just a blank screen + reset of the machine?

@zerpex
Copy link

zerpex commented Aug 2, 2024

Hey @zerpex,

I've managed to get umbrelOS successfully installed on my test instance of Proxmox as you can see here:

image

With pretty much the same configuration - however, I did not specify an EFI disk and used i440fx instead of q35 which seems to work.

image image

Could you try removing the EFI disk and see if that helps?

Confirmed to works with this config.
The only thing I did not test was to remove the EFI disk... Which is asked by Proxmox when setting the bios to UEFI !

Anyway, it works !
Thanks a lot.

@a4004
Copy link

a4004 commented Aug 2, 2024

No worries, glad to hear it works! 🎉

Interestingly, on my version of Proxmox you can untick the "Add EFI Disk" option and create a VM without one:

image

😄

@osbyrne
Copy link
Author

osbyrne commented Aug 2, 2024

image

Rufus fails to write the .iso to USB

I'll try to meddle more with the boot settings

@lhuanluz
Copy link

lhuanluz commented Aug 2, 2024

I'm having the same error on Rufus, and balena won't even make the thumb drive bootable

@a4004
Copy link

a4004 commented Aug 2, 2024

image

Rufus fails to write the .iso to USB

I'll try to meddle more with the boot settings

Try using DD image mode instead of ISO image mode.

@osbyrne
Copy link
Author

osbyrne commented Aug 3, 2024

I found success with Balena Etcher.
I could also boot umbrelOS after disabling secure boot.

Maybe I do a PR to the docs to add "make sure you're booting in EFI or UEFI mode, and secure boot is off" ? at your service @a4004 , thanks for your help

@a4004
Copy link

a4004 commented Aug 3, 2024

No worries @osbyrne, glad you have the issue resolved! 😎

And yes, feel free to make any contributions in a PR to the Umbrel project! ☂️

@osbyrne osbyrne closed this as completed Aug 5, 2024
@osbyrne
Copy link
Author

osbyrne commented Aug 8, 2024

No worries @osbyrne, glad you have the issue resolved! 😎

And yes, feel free to make any contributions in a PR to the Umbrel project! ☂️

Since the info is in a wiki tab, it's not available for PR's :(

@osbyrne osbyrne reopened this Aug 8, 2024
@marleixo
Copy link

marleixo commented Sep 2, 2024

Hey,

Got a similar issue with Proxmox: image

I tried a lot of settings. Here are the latest ones: image

And the options of the VM: image

Checked the iso, it seems correct. The VM just don't boot ! Any thoughts ?

Thanks, z.

It seems the issue with ProxMox is the "pre-Enroll keys", untick and it works.
you cannot remove the EFI storage, it must store it somewhere, if you create the VM and remove it later it loads the VM using a "temp" storage, that's why without it works, that is, there are no "Pre-Enrolled keys".

1 similar comment
@marleixo
Copy link

marleixo commented Sep 2, 2024

Hey,

Got a similar issue with Proxmox: image

I tried a lot of settings. Here are the latest ones: image

And the options of the VM: image

Checked the iso, it seems correct. The VM just don't boot ! Any thoughts ?

Thanks, z.

It seems the issue with ProxMox is the "pre-Enroll keys", untick and it works.
you cannot remove the EFI storage, it must store it somewhere, if you create the VM and remove it later it loads the VM using a "temp" storage, that's why without it works, that is, there are no "Pre-Enrolled keys".

@DavidEGx
Copy link

I would recommend using another hypervisor such as Oracle VM VirtualBox or QEMU/KVM with Libvirtd on Linux to boot umbrelOS.

Litvirtd didn't work by default for me.

I had to:

$ sudo apt update
$ sudo apt install ovmf
$ sudo virsh edit UmbrelOS

Then add:

    <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
    <nvram>/var/lib/libvirt/qemu/nvram/UmbrelOS_VARS.fd</nvram>

right after:

    <type arch='x86_64' machine='q35'>hvm</type>

After that, it worked just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants