about summary refs log tree commit diff
path: root/grub
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-22 17:01:17 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-22 17:01:17 +0200
commit52f9477c32749aee8b3c4ae080a9905e4ae9f3c9 (patch)
treebec3dba6f96957e56bca6fc0e13ca7544bedc587 /grub
parent75ed945d36496b1cbdbf4d4789b5ac557f825d54 (diff)
downloadhrmpf-52f9477c32749aee8b3c4ae080a9905e4ae9f3c9.tar.gz
hrmpf-52f9477c32749aee8b3c4ae080a9905e4ae9f3c9.tar.xz
hrmpf-52f9477c32749aee8b3c4ae080a9905e4ae9f3c9.zip
add support for text booting and serial console
Also enable HDT.
Diffstat (limited to 'grub')
-rw-r--r--grub/grub_void.cfg.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/grub/grub_void.cfg.in b/grub/grub_void.cfg.in
index a2cda85..8d93417 100644
--- a/grub/grub_void.cfg.in
+++ b/grub/grub_void.cfg.in
@@ -17,8 +17,8 @@ if loadfont "(${voidlive})/boot/grub/fonts/unicode.pf2" ; then
     insmod gfxterm
     set gfxmode="auto"
     
-    terminal_input console
-    terminal_output gfxterm
+    terminal_input console serial
+    terminal_output gfxterm serial
     
     insmod png
     background_image "(${voidlive})/boot/isolinux/@@SPLASHIMAGE@@"
@@ -43,4 +43,14 @@ if [ cpuid -l ]; then
 		locale.LANG=@@LOCALE@@ @@BOOT_CMDLINE@@ rd.live.ram
         initrd (${voidlive})/boot/initrd
     }
+    menuentry "@@BOOT_TITLE@@ @@KERNVER@@ (@@ARCH@@) (Serial)" {
+        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
+                console=tty0 console=ttyS0,115200n8
+        initrd (${voidlive})/boot/initrd
+    }
 fi