Skip to content

Commit

Permalink
Added support for Void Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Mexit committed Mar 16, 2024
1 parent c8a489f commit 5f72ab3
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
45 changes: 45 additions & 0 deletions config/void-linux/void-linux.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Void Linux
# https://voidlinux.org

iso_pattern="void-live-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="root=live:CDLABEL=$cd_label ro init=/sbin/init rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 gpt add_efi_memmap vconsole.unicode=1 vconsole.keymap=us locale.LANG=en_US.UTF-8 rd.live.overlay.overlayfs=1"
linux_path="(loop)/boot/vmlinuz"
initrd_path="(loop)/boot/initrd"

menuentry "Void Linux" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg
echo Loading initrd...
initrd $initrd_path
}
menuentry "Void Linux (RAM)" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg rd.live.ram
echo Loading initrd...
initrd $initrd_path
}
menuentry "Void Linux with speech" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg live.accessibility live.autologin
echo Loading initrd...
initrd $initrd_path
}
menuentry "Void Linux with speech (RAM)" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg live.accessibility live.autologin rd.live.ram
echo Loading initrd...
initrd $initrd_path
}
}
fi
done
2 changes: 2 additions & 0 deletions docs/Supported_OS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
| [SparkyLinux](https://sparkylinux.org) | [sparkylinux-7.3-x86_64-lxqt.iso](https://downloads.sourceforge.net/sparkylinux/sparkylinux-7.3-x86_64-lxqt.iso) | no | yes | yes | Debian |
| [Tails](https://tails.net) | [tails-amd64-6.0.iso](https://download.tails.net/tails/stable/tails-amd64-6.0/tails-amd64-6.0.iso) | no | [no](../config/tails) | yes | Debian |
| [TUXEDO OS](https://os.tuxedocomputers.com) | [TUXEDO-OS-2-202402220947.iso](https://os.tuxedocomputers.com/TUXEDO-OS-2-202402220947.iso) | yes | yes | yes | TUXEDO |
| [Void Linux](https://voidlinux.org) | [void-live-x86_64-20240314-xfce.iso](https://repo-default.voidlinux.org/live/current/void-live-x86_64-20240314-xfce.iso) | yes | [no](../config/void-linux) | no | - |
| | [void-live-x86_64-20240314-base.iso](https://repo-default.voidlinux.org/live/current/void-live-x86_64-20240314-base.iso) | yes | [no](../config/void-linux) | no | - |
| [VOYAGER](https://voyagerlive.org) | [Voyager-12.5-debian-amd64.iso](https://downloads.sourceforge.net/voyagerlive/Voyager-12.5-debian-amd64.iso) | no | yes | yes | Debian |
| [Windows](https://www.microsoft.com/software-download) | Win10_22H2_English_x64v1.iso | yes | [no](../config/windows) | no | Microsoft |
| | Win11_23H2_English_x64v2.iso | yes | [no](../config/windows) | no | Microsoft |
Expand Down

0 comments on commit 5f72ab3

Please sign in to comment.