Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ The supported `iso` sub-directories (in alphabetical order) are :
* [`peppermint`](https://peppermintos.com/)
* [`popos`](https://pop.system76.com/)
* [`porteus`](http://www.porteus.org/)
* [`rescuezilla`](https://rescuezilla.com/)
* [`rhel`](https://www.redhat.com/rhel) - _Installation only_
* [`rockylinux`](https://rockylinux.org/)
* [`slitaz`](https://slitaz.org/)
Expand Down Expand Up @@ -183,7 +184,7 @@ releases of some distro:
Sample ordered menu:

| | iso mtime |
|------------------------------------|-------------------------|
| ---------------------------------- | ----------------------- |
| Debian Live 12.0.0 amd64 standard | 10 June 2023 |
| Debian Live 11.7.0 amd64 gnome | 14 August 2021 + 7 days |
| Debian Live 11.7.0 amd64 kde | 14 August 2021 + 7 days |
Expand Down
6 changes: 6 additions & 0 deletions grub2/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,12 @@ if any_exists ${isopath}/porteus/Porteus-*.iso; then
}
fi

if any_exists ${isopath}/rescuezilla/rescuezilla-*.iso; then
menuentry "Rescuezilla >" --class rescuezilla {
configfile "${prefix}/inc-rescuezilla.cfg"
}
fi

if any_exists ${isopath}/rhel/rhel-*.iso; then
menuentry "Red Hat Enterprise Linux >" --class redhat {
configfile "${prefix}/inc-rhel.cfg"
Expand Down
29 changes: 29 additions & 0 deletions grub2/inc-rescuezilla.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Rescuezilla
function add_menu {
isofile="$1"

if regexp "rolling" "${isofile}"; then # Exceptional weekly release
regexp \
--set 1:isoname \
--set 2:version \
--set 3:arch \
"^${isopath}/rescuezilla/(rescuezilla-(rolling-release.20..-..-..).(.+)\.iso)\$" "${isofile}"
else # Normal release
regexp \
--set 1:isoname \
--set 2:version \
--set 3:arch \
"^${isopath}/rescuezilla/(rescuezilla-(.+)-(.+)\.iso)\$" "${isofile}"
fi
menuentry "Rescuezilla ${version} ${arch}" "${isofile}" "${isoname}" --class rescuezilla {
set isofile=$2
set isoname=$3
use "${isoname}"
loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} skip quiet splash
initrd (loop)/casper/initrd.*
}
}

for_each_sorted add_menu "$isopath"/rescuezilla/rescuezilla-*.iso

Binary file added grub2/themes/invader/icons/rescuezilla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons-original/invader/rescuezilla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.