

In that
how is it that initrd works for me with 5.01 and not 5.1?ncmprhnsbl wrote: ↑10 Jan 2025, 08:07extramod= is handled in initrd and it's is virtually identical between 5.1 and 5.01,
ncmprhnsbl wrote: ↑10 Jan 2025, 08:07regarding UUID/LABEL searching, adding a -w (whole word) to grep ..

Added in 1 hour 17 minutes 14 seconds:
So, /(hd0,gpt7)/porteus5.0/Modules didn't work, /D:/porteus5.0/Modules didn't work, but /mnt/nvme0n1p7/porteus5.0/Modules did.


In that the cause of my extramod= folder not being found problem seems obvious, and I suspect will also impact my changes=EXIT:$linux_folder/changes/50save.dat code, what problem did "adding a -w" to initrd resolve?

Added in 1 hour 9 minutes 41 seconds:
Thankfully the "-w" doesn't impact the from= cheatcode's folder/file.

Added in 19 minutes 37 seconds:
Well, for Porteus 5.1 alpha 1 this grub2 menu works:
Code: Select all
menuentry " Porteus 5.1 alpha ISO - Cinnamon AF" --class slackware --class user-icon-porteus {
set linux_folder=/porteus5.0
set iso="/ISOs/Porteus/Porteus-CINNAMON-v5.1-alpha-x86_64.iso"
set bootparms="volume=33 reboot=cold extramod=$linux_folder/Modules noload=-test;my;My;dat.xzm"
search -f $iso --set=root
if [ "$root" == "hd0.gpt7" ]; then
set bootparms="volume=33 reboot=cold extramod=/mnt/nvme0n1p7$linux_folder/Modules noload=-test;my;My;dat.xzm"
fi
loopback loop $iso
linux (loop)/boot/syslinux/vmlinuz from=$iso $bootparms # debug
# linux $linux_folder/BootModules/vmlinuz from=$iso $bootparms
initrd (loop)/boot/syslinux/initrd.xz
# initrd $linux_folder/initrd/initrd.xz
}
