@wiak I think I am retrieving from the GitLab repo. And I do a daily git pull
just in case of an update or addition. I don't store the initrd-latest.gz because of exactly this issue.
The ISO boot stanza is this:
menu.lst
Code: Select all
set distname=KLV-Spectr
set revision=RT
set savepart=Persistence
set savedir=Sessions
set bootlabel=QEMU
#
# menu.lst
#
#color NORMAL HIGHLIGHT HELPTEXT HEADING
# f/b f/b f/b f/b
color light-gray/black yellow/red cyan/black light-blue/black
timeout 10
default 0
# 0.4.6a
graphicsmode -1 800 600
splashimage /boot/splash.jpg
# FOR BOOTING FROM CDROM:
title %distname%-%revision% (LABEL, RAM0 no persistence)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=RAM0 net.ifnames=0
initrd /initrd.gz
title %distname%-%revision% (LABEL, RAM2 save on demand to %savepart%_%savedir%)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=LABEL=%savepart%=/%savedir%/%distname%-%revision% w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
title %distname%-%revision% (LABEL, direct saves to %savepart%_%savedir%)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=LABEL=%savepart%=/%savedir%/%distname%-%revision% net.ifnames=0
initrd /initrd.gz
title %distname%-%revision% (LABEL, RAM2 save on demand to sda1/%savedir%)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=/mnt/sda1/%savedir%/%distname%-%revision% w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
title %distname%-%revision% (LABEL, direct saves to sda1/%savedir%)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=/mnt/sda1/%savedir%/%distname%-%revision% net.ifnames=0
initrd /initrd.gz
title %distname%-%revision% (LABEL, RAM2 save on demand to %bootlabel%_%savedir%)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=LABEL=%bootlabel%=/%savedir%/%distname%-%revision% w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
title %distname%-%revision% (LABEL, direct saves to %bootlabel%_%savedir%)
kernel /vmlinuz w_bootfrom=LABEL=%distname%=/ w_changes=LABEL=%bootlabel%=/%savedir%/%distname%-%revision% net.ifnames=0
initrd /initrd.gz
# EXTRAS, for example, /mnt/sr0 w_copy2ram:
title %distname%-%revision% (/mnt/sr0 RAM0 no persistence w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=RAM0 net.ifnames=0 w_copy2ram
initrd /initrd.gz
title %distname%-%revision% (/mnt/sr0 RAM2 save on demand to %savepart%_%savedir% w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=LABEL=%savepart%=/%savedir%/%distname%-%revision% w_changes1=RAM2 net.ifnames=0 w_copy2ram
initrd /initrd.gz
title %distname%-%revision% (/mnt/sr0 direct saves to %savepart%_%savedir% w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=LABEL=%savepart%=/%savedir%/%distname%-%revision% net.ifnames=0 w_copy2ram
initrd /initrd.gz
title %distname%-%revision% (/mnt/sr0 RAM2 save on demand to sda1/%savedir% w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=/mnt/sda1/%savedir%/%distname%-%revision% w_changes1=RAM2 net.ifnames=0 w_copy2ram
initrd /initrd.gz
title %distname%-%revision% (/mnt/sr0 direct saves to sda1/%savedir% w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=/mnt/sda1/%savedir%/%distname%-%revision% net.ifnames=0 w_copy2ram
initrd /initrd.gz
title %distname%-%revision% (/mnt/sr0 RAM2 save on demand to %bootlabel%_%savedir% w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=LABEL=%bootlabel%=/%savedir%/%distname%-%revision% w_changes1=RAM2 net.ifnames=0 w_copy2ram
initrd /initrd.gz
title %distname%-%revision% (/mnt/sr0 direct saves to %bootlabel%_%savedir% w_copy2ram)
kernel /vmlinuz w_bootfrom=/mnt/sr0 w_changes=LABEL=%bootlabel%=/%savedir%/%distname%-%revision% net.ifnames=0 w_copy2ram
initrd /initrd.gz
title
root
title Help - Boot Params
configfile /boot/grub/menu_phelp.lst
title
root
# Boot from Partition Boot Sector
title Boot first hard drive (hd0,0)
root (hd0,0)
chainloader +1 || chainloader /grldr || chainloader /bootmngr
title
root
# additionals
title Grub4Dos commandline\n(for experts only)
commandline
title Reboot computer
reboot
title Halt computer
halt
loopback.cfg
Code: Select all
set distname=KLV-Spectr
set revision=RT
set savepart=Persistence
set savedir=Sessions
set bootlabel=SG2D
loadfont /boot/grub/font.pf2
# https://help.ubuntu.com/community/Grub2/Displays
color_normal=cyan/black
#menu_color_highlight=black/light-gray
menu_color_highlight=yellow/red
menu_color_normal=light-gray/black
### loopback.cfg: All work with SG2D
menuentry "${distname}-${revision} (RAM0 no save persistence)" {
linux /vmlinuz w_bootfrom=${iso_path} w_changes=RAM0 net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (RAM2 save on demand to ${savepart}_${savedir})" {
linux /vmlinuz w_bootfrom=${iso_path} w_changes=LABEL=${savepart}=/${savedir}/${distname}-${revision} w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (direct saves to ${savepart}_${savedir})" {
linux /vmlinuz w_bootfrom=${iso_path} w_changes=LABEL=${savepart}=/${savedir}/${distname}-${revision} net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (RAM2 save on demand to ${bootlabel}_${savedir})" {
linux /vmlinuz w_bootfrom=${iso_path} w_changes=LABEL=${bootlabel}=/${savedir}/${distname}-${revision} w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (direct saves to ${bootlabel}_${savedir})" {
linux /vmlinuz w_bootfrom=${iso_path} w_changes=LABEL=${bootlabel}=/${savedir}/${distname}-${revision} net.ifnames=0
initrd /initrd.gz
}
menuentry "Shutdown" {
halt
}
menuentry "Reboot" {
reboot
}
grub.cfg
Code: Select all
set distname=KLV-Spectr
set revision=RT
set savepart=Persistence
set savedir=Sessions
set bootlabel=Ventoy
insmod part_acorn
insmod part_amiga
insmod part_apple
insmod part_bsd
insmod part_dfly
insmod part_dvh
insmod part_gpt
insmod part_msdos
insmod part_plan
insmod part_sun
insmod part_sunpc
loadfont /boot/grub/font.pf2
set gfxmode=800x600
set gfxpayload=keep
insmod efi_gop
insmod efi_uga
insmod all_video
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod png
insmod jpeg
terminal_output gfxterm
insmod ext2
insmod f2fs
insmod ntfs
insmod exfat
insmod loopback
insmod iso9660
insmod udf
background_image /boot/splash.png
set timeout=10
loadfont /boot/grub/font.pf2
color_normal=cyan/black
#menu_color_highlight=black/light-gray
menu_color_highlight=yellow/red
menu_color_normal=light-gray/black
# First five entries usefully work with Ventoy
menuentry "${distname}-${revision} (${bootlabel} RAM0 no persistence)" {
linux /vmlinuz w_bootfrom=/${distname}-${revision}.iso w_changes=RAM0 net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (${bootlabel} RAM2 save on demand to ${savepart}_${savedir})" {
linux /vmlinuz w_bootfrom=/${distname}-${revision}.iso w_changes=LABEL=${savepart}=/${savedir}/${distname}-${revision} w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (${bootlabel} direct saves to ${savepart}_${savedir})" {
linux /vmlinuz w_bootfrom=/${distname}-${revision}.iso w_changes=LABEL=${savepart}=/${savedir}/${distname}-${revision} net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (${bootlabel} RAM2 save on demand to ${bootlabel}_${savedir})" {
linux /vmlinuz w_bootfrom=/${distname}-${revision}.iso w_changes=LABEL=${bootlabel}=/${savedir}/${distname}-${revision} w_changes1=RAM2 net.ifnames=0
initrd /initrd.gz
}
menuentry "${distname}-${revision} (${bootlabel} direct saves to ${bootlabel}_${savedir})" {
linux /vmlinuz w_bootfrom=/${distname}-${revision}.iso w_changes=LABEL=${bootlabel}=/${savedir}/${distname}-${revision} net.ifnames=0
initrd /initrd.gz
}
menuentry "Shutdown" {
halt
}
menuentry "Reboot" {
reboot
}