grub_milis.cfg.in 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. set pager="1"
  2. set locale_dir="(${milislive})/boot/grub/locale"
  3. if [ -e "${prefix}/${grub_cpu}-${grub_platform}/all_video.mod" ]; then
  4. insmod all_video
  5. else
  6. insmod efi_gop
  7. insmod efi_uga
  8. insmod video_bochs
  9. insmod video_cirrus
  10. fi
  11. insmod font
  12. if loadfont "(${milislive})/boot/grub/fonts/unicode.pf2" ; then
  13. insmod gfxterm
  14. set gfxmode="auto"
  15. terminal_input console
  16. terminal_output gfxterm
  17. insmod png
  18. background_image "(${milislive})/boot/isolinux/@@SPLASHIMAGE@@"
  19. fi
  20. if [ cpuid -l ]; then
  21. menuentry "@@BOOT_TITLE@@ @@KERNVER@@ (@@ARCH@@)" {
  22. set gfxpayload="keep"
  23. linux (${milislive})/boot/kernel \
  24. root=live:CDLABEL=MILIS_LIVE ro \
  25. rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 gpt add_efi_memmap \
  26. vconsole.unicode=1 vconsole.keymap=@@KEYMAP@@ \
  27. locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@
  28. initrd (${milislive})/boot/initramfs
  29. }
  30. menuentry "@@BOOT_TITLE@@ @@KERNVER@@ (@@ARCH@@) (RAM)" {
  31. set gfxpayload="keep"
  32. linux (${milislive})/boot/kernel \
  33. root=live:CDLABEL=MILIS_LIVE ro \
  34. rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 gpt add_efi_memmap \
  35. vconsole.unicode=1 vconsole.keymap=@@KEYMAP@@ \
  36. locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@ rd.live.ram
  37. initrd (${milislive})/boot/initramfs
  38. }
  39. fi