summary refs log tree commit diff
path: root/grub/grub_void.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'grub/grub_void.cfg.in')
-rw-r--r--grub/grub_void.cfg.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/grub/grub_void.cfg.in b/grub/grub_void.cfg.in
index 4748284..a6bf89f 100644
--- a/grub/grub_void.cfg.in
+++ b/grub/grub_void.cfg.in
@@ -34,4 +34,13 @@ if [ cpuid -l ]; then
 		locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@
         initrd (${voidlive})/boot/initrd
     }
+    menuentry "@@BOOT_TITLE@@ @@KERNVER@@ (@@ARCH@@) (load to RAM)" {
+        set gfxpayload="keep"
+        linux (${voidlive})/boot/vmlinuz \
+		root=live:CDLABEL=VOID_LIVE ro init=/sbin/init \
+		rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 gpt add_efi_memmap \
+		vconsole.unicode=1 vconsole.keymap=@@KEYMAP@@ \
+		locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@ rd.live.ram=1
+        initrd (${voidlive})/boot/initrd
+    }
 fi