From 9d16ed4fe0e6f1301a6ed1e99d710bee1a17739c Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 26 Aug 2023 14:18:10 +0200 Subject: [PATCH] Add ram-boot to ISO boot menu --- path/wdvn-image-iso | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/path/wdvn-image-iso b/path/wdvn-image-iso index 33a0e6c..efab9f9 100755 --- a/path/wdvn-image-iso +++ b/path/wdvn-image-iso @@ -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"