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@@
|
locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@
|
||||||
initrd (${voidlive})/boot/initrd
|
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
|
fi
|
||||||
|
@ -24,6 +24,10 @@ LABEL linux
|
|||||||
MENU LABEL @@BOOT_TITLE@@ @@KERNVER@@ @@ARCH@@
|
MENU LABEL @@BOOT_TITLE@@ @@KERNVER@@ @@ARCH@@
|
||||||
KERNEL /boot/vmlinuz
|
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@@
|
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
|
LABEL c
|
||||||
MENU LABEL Boot first HD found by BIOS
|
MENU LABEL Boot first HD found by BIOS
|
||||||
COM32 chain.c32
|
COM32 chain.c32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user