about summary refs log tree commit diff
path: root/grub/grub_void.cfg.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2015-04-29 16:50:18 +0200
committerJuan RP <xtraeme@voidlinux.eu>2015-04-29 16:50:18 +0200
commit749ed6c3c4fbd12ec3c33ca2f664562bf923acb9 (patch)
tree2b8c7665f5eb6ff8e2c6be56097b8baa9328093a /grub/grub_void.cfg.in
parent6557b08b4c39696b62ced3a4414eee058392f99c (diff)
downloadhrmpf-749ed6c3c4fbd12ec3c33ca2f664562bf923acb9.tar.gz
hrmpf-749ed6c3c4fbd12ec3c33ca2f664562bf923acb9.tar.xz
hrmpf-749ed6c3c4fbd12ec3c33ca2f664562bf923acb9.zip
mklive: add a new entry to load image into RAM (grub, syslinux).
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..a2cda85 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@@) (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
+        initrd (${voidlive})/boot/initrd
+    }
 fi