probonopd / SystemImageKit

Run (multiple) operating systems directly from image files. Add extensions, apps and configuration, which are one file each.
MIT License
157 stars 24 forks source link

Support Manjaro #32

Open probonopd opened 6 years ago

probonopd commented 6 years ago

According to https://forum.manjaro.org/t/boot-manjaro-iso-from-grub2-loopback/32985/7 Manjaro 17.0.6 has support for booting from ISO4 files using Manjaro’s Grub2 menu in the ISO file:

menuentry "Manjaro XFCE 17.0.6 64-bit" {
    iso_path="/manjaro-xfce-17.0.6-stable-x86_64.iso"
    export iso_path
    search --set=root --file $iso_path
    probe -u -s rootuuid $root
    export rootuuid
    loopback loop $iso_path
    root=(loop)
    configfile /boot/grub/loopback.cfg
    loopback --delete loop
}
probonopd commented 6 years ago

Interestingly, loopback.cfg contains

source /boot/grub/grub.cfg