You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the above has a very unique init= parameter, I also tried using the provided grub2 loobpack configuration. That loads the provided grub menu, but entries freeze for me:
# NixOS
function add_menu {
isofile="$1"
regexp \
--set 1:isoname \
--set 2:variant \
--set 3:version \
"^${isopath}/nixos/(nixos-([^-]+)-([0-9]+\.[0-9]+).*-([^-]+)-linux\.iso)\$" "${isofile}"
menuentry "NixOS ${version} ${variant}" "${isofile}" "${isoname}" --class nixos {
set isofile=$2
set isoname=$3
use "${isoname}"
loop $isofile
change_root (loop)
set iso_path=$isofile
export iso_path
configfile /boot/grub/loopback.cfg
restore_root
}
}
for_each_sorted add_menu "$isopath"/nixos/nixos-*-linux.iso
Possibly something that needs to be sanitized better.
The text was updated successfully, but these errors were encountered:
Creating this for reference, since I've just tried and failed. Maybe someone else will have better luck than me...
This almost works, but gives an error about not being able to mount the GLIM filesystem on /findiso because of "device of resource busy":
Since the above has a very unique init= parameter, I also tried using the provided grub2 loobpack configuration. That loads the provided grub menu, but entries freeze for me:
Possibly something that needs to be sanitized better.
The text was updated successfully, but these errors were encountered: