umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

(x86) install ISO image?

Open jg1uaa opened this issue 1 year ago • 10 comments

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 avatar May 05 '24 07:05 jg1uaa

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

jg1uaa avatar May 06 '24 11:05 jg1uaa

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

unhighghlow avatar May 13 '24 20:05 unhighghlow

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

unhighghlow avatar May 13 '24 20:05 unhighghlow

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

make_iso.txt

jg1uaa avatar May 19 '24 09:05 jg1uaa

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.

jg1uaa avatar May 19 '24 09:05 jg1uaa

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

unhighghlow avatar May 19 '24 14:05 unhighghlow

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 ?

ffrediani avatar May 28 '24 05:05 ffrediani

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

Impa10r avatar Jun 01 '24 14:06 Impa10r

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.

jg1uaa avatar Jun 01 '24 20:06 jg1uaa

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 ?

ffrediani avatar Jun 02 '24 02:06 ffrediani