getumbrel / umbrel

A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
https://umbrel.com
Other
6.87k stars 508 forks source link

(x86) install ISO image? #1818

Open jg1uaa opened 1 month ago

jg1uaa commented 1 month ago

Hi,

Is there any install ISO (not USB) image for x86, or plan for provide? many VPS requires ISO image to install, and it is freindly for vitrual machine such as VirtualBox and QEMU.

jg1uaa commented 1 month ago

Here is the method that I could run umbrelOS USB installer on VirtualBOX.

  1. extract and mount USB installer with losetup -P /dev/loop0 umbrelos-amd64-usb-installer.img
  2. mount /dev/loop0p2 /mnt and mksquashfs /mnt squashfs.img
  3. create RedHat style LiveOS image (I used vmlinuz and initrd from CentOS-stream 9).
  4. boot from LiveOS image and install virtual storage
  5. after install, enable EFI support and re-start virtual machine.
  6. enjoy umbrelOS world

I think MBR bootloader support is required. And umbrelOS is not suitable for VPS. I tried and learned that the OS is strongly-aimed for home server.

438256135_10232781943112420_6101352741224086471_n

highghlow commented 1 month ago

Can you share the exact steps you took (down to individual commands), so I can make a script out of this?

highghlow commented 1 month ago

I may be able to make a script from the information you already provided

jg1uaa commented 1 month ago

here is my shell script to build ISO image. (extension is .txt but actually .sh)

make_iso.txt

jg1uaa commented 1 month ago

But I think mounting un-xz'ed installer image as virtual hard disk is no problem and easy solution for EFI-capable virtual machine. It is special case to create ISO image.

highghlow commented 1 month ago

Thank you. I'll try to make it into a dockerfile

ffrediani commented 4 weeks ago

I had a hell to install it on x86 as well. Managed to do by changing the Virtual Machine BIOS to UEFI and disabling Secure Boot inside the VM Bios. A traditional pre built ISO could make this much simpler really. Also is the EFI-capable something that must exist in this context ?

Impa10r commented 3 weeks ago

Is this ISO not compatible with VM? I am struggling with both VirtualBox and VMWare, "Operating System not found"...

jg1uaa commented 3 weeks ago

Released ISO (and umbrelOS itself) is for UEFI system only. No BIOS system supported. Please check "Enable EFI" at VirtualBox' System Settings -> Mainboard tab. I don't know about VMware.

ffrediani commented 3 weeks ago

Seems the recent changes on instalation method are making things more dificult to several people. Can't simply another ISO which doesn't depend on UEFI be built to make things easier for people that don't necessarily are using Raspberry Pi.

Or ever better return the previous instalation method that allows to install in on the top of an OS ans allow people to have their own OS customizations with further security where it apllies ?