2016-08-03 18:46:17 +02:00
|
|
|
|
2016-08-02 18:03:47 +02:00
|
|
|
set pager="1"
|
2016-08-03 18:46:17 +02:00
|
|
|
set locale_dir="(${milislive})/boot/grub/locale"
|
2016-08-02 18:03:47 +02:00
|
|
|
|
|
|
|
if [ -e "${prefix}/${grub_cpu}-${grub_platform}/all_video.mod" ]; then
|
|
|
|
insmod all_video
|
|
|
|
else
|
|
|
|
insmod efi_gop
|
|
|
|
insmod efi_uga
|
|
|
|
insmod video_bochs
|
|
|
|
insmod video_cirrus
|
|
|
|
fi
|
|
|
|
|
|
|
|
insmod font
|
|
|
|
|
2016-08-03 18:46:17 +02:00
|
|
|
if loadfont "(${milislive})/boot/grub/fonts/unicode.pf2" ; then
|
2016-08-02 18:03:47 +02:00
|
|
|
insmod gfxterm
|
|
|
|
set gfxmode="auto"
|
|
|
|
|
|
|
|
terminal_input console
|
|
|
|
terminal_output gfxterm
|
|
|
|
|
|
|
|
insmod png
|
2016-08-03 18:46:17 +02:00
|
|
|
background_image "(${milislive})/boot/isolinux/@@SPLASHIMAGE@@"
|
2016-08-02 18:03:47 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ cpuid -l ]; then
|
|
|
|
menuentry "@@BOOT_TITLE@@ @@KERNVER@@ (@@ARCH@@)" {
|
|
|
|
set gfxpayload="keep"
|
2016-08-03 22:01:54 +02:00
|
|
|
linux (${milislive})/boot/kernel \
|
2016-08-02 18:03:47 +02:00
|
|
|
root=live:CDLABEL=MILIS_LIVE ro \
|
|
|
|
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@@
|
2016-08-03 22:01:54 +02:00
|
|
|
initrd (${milislive})/boot/initramfs
|
2016-08-02 18:03:47 +02:00
|
|
|
}
|
|
|
|
menuentry "@@BOOT_TITLE@@ @@KERNVER@@ (@@ARCH@@) (RAM)" {
|
|
|
|
set gfxpayload="keep"
|
2016-08-03 22:01:54 +02:00
|
|
|
linux (${milislive})/boot/kernel \
|
2016-08-03 18:46:17 +02:00
|
|
|
root=live:CDLABEL=MILIS_LIVE ro \
|
2016-08-02 18:03:47 +02:00
|
|
|
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
|
2016-08-03 22:01:54 +02:00
|
|
|
initrd (${milislive})/boot/initramfs
|
2016-08-02 18:03:47 +02:00
|
|
|
}
|
|
|
|
fi
|