Skip to content
 
 

Repository files navigation

elementary

elementary OS

Build scripts for image creation



Stable 8.1 Daily 8.1 Monthly 9.0


Building Locally

  1. Install mkosi, just, fzf
  2. Generate keys just _gen_keys
  3. Build just build-sysupdate

Run with qemu

  • Resize with qemu-img resize "$(ls mkosi.output/Elementary_*_x86-64.raw)" +40G, and you can then directly boot the .raw image with qemu or VirtManager/libvirt.
  • Make sure to have TPM and UEFI enabled in libvirt (Gnome Boxes won't work - doesn't support TPM).

Install / run on baremetal

Copy the main .raw file to a 40+ GB USB stick with one of the options below. It will then expand and be bootable. Note: Don't run this after resizing for qemu or your image will be the wrong shape.

sudo dd if="$(ls mkosi.output/Elementary_*_x86-64.raw)" of=/dev/sdX bs=4M status=progress conv=fsync where X is your usb drive on /dev/sda, etc

or

sudo mkosi burn /dev/sdX where X is your usb drive on /dev/sda, etc

or

Fedora Media Writer, etc.

About

The OS build system

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages