mklive: add a new entry to load image into RAM (grub, syslinux).
This commit is contained in:
parent
6557b08b4c
commit
749ed6c3c4
|
@ -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
|
||||
|
|
|
@ -24,6 +24,10 @@ LABEL linux
|
|||
MENU LABEL @@BOOT_TITLE@@ @@KERNVER@@ @@ARCH@@
|
||||
KERNEL /boot/vmlinuz
|
||||
APPEND initrd=/boot/initrd root=live:CDLABEL=VOID_LIVE init=/sbin/init ro rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 vconsole.unicode=1 vconsole.keymap=@@KEYMAP@@ locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@
|
||||
LABEL linuxram
|
||||
MENU LABEL @@BOOT_TITLE@@ @@KERNVER@@ @@ARCH@@ (RAM)
|
||||
KERNEL /boot/vmlinuz
|
||||
APPEND initrd=/boot/initrd root=live:CDLABEL=VOID_LIVE init=/sbin/init ro rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 vconsole.unicode=1 vconsole.keymap=@@KEYMAP@@ locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@ rd.live.ram
|
||||
LABEL c
|
||||
MENU LABEL Boot first HD found by BIOS
|
||||
COM32 chain.c32
|
||||
|
|
Loading…
Reference in New Issue