Add ram-boot to ISO boot menu

This commit is contained in:
Fierelier 2023-08-26 14:18:10 +02:00
parent d6a7a245fb
commit 9d16ed4fe0

View File

@ -69,6 +69,14 @@ menuentry '$WDVN_NAME $WDVN_ARCH $WDVN_VER $WDVN_DATE live' --class gnu-linux --
echo "Loading initrd ..."
initrd /live/initrd.img
}
menuentry '$WDVN_NAME $WDVN_ARCH $WDVN_VER $WDVN_DATE live (RAM-boot)' --class gnu-linux --id linux {
insmod all_video
echo "Loading Linux ..."
linux /live/vmlinuz boot=live noautologin quiet toram
echo "Loading initrd ..."
initrd /live/initrd.img
}
" > "$IMAGE/boot/grub/grub.cfg"
grub-mkrescue -o "$2" "$IMAGE" --volid "$DISC_NAME"