Skip to content

Commit

Permalink
Added support for Qubes OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Mexit committed Mar 23, 2024
1 parent 43f96cc commit 55cb45b
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
62 changes: 62 additions & 0 deletions config/qubes-os/qubes-os.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Qubes OS
# https://www.qubes-os.org

iso_pattern="Qubes-*-x86_64.iso"

for isofile in $iso_dir/$iso_pattern; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$iso_dir/(.*)" "$isofile"

submenu "$isoname ->" "$isofile" {
iso_path="$2"
loopback loop $iso_path
probe --label --set=cd_label (loop)
isocfg="iso-scan/filename=$iso_path"
bootoptions="inst.repo=hd:LABEL=$cd_label"
xen_path="(loop)/images/pxeboot/xen.gz"
linux_path="(loop)/images/pxeboot/vmlinuz"
initrd_path="(loop)/images/pxeboot/initrd.img"

menuentry "Install Qubes OS" {
echo Loading xen...
multiboot2 $xen_path console=none
echo Loading kernel...
module2 $linux_path $isocfg $bootoptions plymouth.ignore-serial-consoles quiet
echo Loading initrd...
module2 $initrd_path
}
menuentry "Test media and install Qubes" {
echo Loading xen...
multiboot2 $xen_path console=none
echo Loading kernel...
module2 $linux_path $isocfg $bootoptions plymouth.ignore-serial-consoles rd.live.check quiet
echo Loading initrd...
module2 $initrd_path
}
menuentry "Troubleshooting - verbose boot and Install Qubes OS" {
echo Loading xen...
multiboot2 $xen_path loglvl=all
echo Loading kernel...
module2 $linux_path $isocfg $bootoptions
echo Loading initrd...
module2 $initrd_path
}
menuentry "Rescue a Qubes OS system" {
echo Loading xen...
multiboot2 $xen_path console=none
echo Loading kernel...
module2 $linux_path $isocfg $bootoptions inst.rescue quiet
echo Loading initrd...
module2 $initrd_path
}
menuentry "Install Qubes OS using kernel-latest" {
echo Loading xen...
multiboot2 $xen_path console=none
echo Loading kernel...
module2 (loop)/images/pxeboot/vmlinuz-latest $isocfg $bootoptions plymouth.ignore-serial-consoles quiet
echo Loading initrd...
module2 (loop)/images/pxeboot/initrd-latest.img
}
}
fi
done
1 change: 1 addition & 0 deletions docs/Supported_OS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Below is just a list of tested and working systems. The actual number of support
| [Oracle Linux](https://www.oracle.com/linux) | [OracleLinux-R9-U3-x86_64-boot.iso](https://yum.oracle.com/ISOS/OracleLinux/OL9/u3/x86_64/OracleLinux-R9-U3-x86_64-boot.iso) | yes | [no](../config/oracleLinux) | yes | Oracle |
| [peppermintOS](https://peppermintos.com) | [PeppermintOS-Debian-64.iso](https://sourceforge.net/projects/peppermintos/files/isos/XFCE/PeppermintOS-Debian-64.iso) | no | yes | yes | Debian |
| [Plop Linux](https://www.plop.at/en/ploplinux/index.html) | [ploplinux-24.2-x86_64.iso](https://download.plop.at/ploplinux/24.2/live/ploplinux-24.2-x86_64.iso) | yes | [no](../config/ploplinux) | no | - |
| [Qubes OS](https://www.qubes-os.org) | [Qubes-R4.2.1-rc1-x86_64.iso](https://ftp.qubes-os.org/iso/Qubes-R4.2.1-rc1-x86_64.iso) | yes | [no](../config/qubes-os) | no | - |
| [Rocky Linux](https://rockylinux.org) | [Rocky-9.3-x86_64-boot.iso](https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.3-x86_64-boot.iso) | yes | [no](../config/rocky) | yes | Rocky |
| | [Rocky-9.3-x86_64-minimal.iso](https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.3-x86_64-minimal.iso) | yes | [no](../config/rocky) | yes | Rocky |
| [Slax](https://www.slax.org) | [slax-64bit-debian-12.2.0.iso](https://ftp.sh.cvut.cz/slax/Slax-12.x/slax-64bit-debian-12.2.0.iso) | no | [no](../config/slax) | no | - |
Expand Down

0 comments on commit 55cb45b

Please sign in to comment.