Use serial console with 115200n8 by default
authorMichael Prokop <mika@grml.org>
Fri, 17 Feb 2023 09:03:36 +0000 (10:03 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 20 Feb 2023 11:32:51 +0000 (12:32 +0100)
A baud rate of 9600 should no longer be a common default nowadays,
so let's set it to 115200 by default instead.

Thanks: anarcat
Closes: https://github.com/grml/grml-live/issues/130

templates/boot/grub/%SHORT_NAME%_options.cfg
templates/boot/isolinux/grml.cfg
templates/boot/isolinux/hidden.cfg
templates/boot/isolinux/isolinux.cfg

index 001fae9..ac0e42c 100644 (file)
@@ -74,7 +74,7 @@ menuentry "%GRML_NAME% - debug mode" {
 menuentry "%GRML_NAME% - serial mode" {
     set gfxpayload=text
     echo 'Loading kernel...'
-    linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% nomce net.ifnames=0 "${loopback}" ${kernelopts} video=vesafb:off console=tty1 console=ttyS0,9600n8 
+    linux /boot/%SHORT_NAME%/vmlinuz apm=power-off boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% nomce net.ifnames=0 "${loopback}" ${kernelopts} video=vesafb:off console=tty1 console=ttyS0,115200n8 
     echo 'Loading initrd...'
     initrd /boot/%SHORT_NAME%/initrd.img
 }
index 17560a2..64043ca 100644 (file)
@@ -119,7 +119,7 @@ label persistence
 label serial
   menu label %GRML_NAME% - Serial ^Console
   kernel /boot/%SHORT_NAME%/vmlinuz
-  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=normal video=vesafb:off nomce net.ifnames=0 console=tty1 console=ttyS0,9600n8 
+  append initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% apm=power-off vga=normal video=vesafb:off nomce net.ifnames=0 console=tty1 console=ttyS0,115200n8 
 
 
   text help
index a7f0738..e23ed09 100644 (file)
@@ -56,7 +56,7 @@ append apm=power-off vga=788 initrd=/boot/%SHORT_NAME%/initrd.img boot=live live
 label serial
 menu hide
 kernel /boot/%SHORT_NAME%/vmlinuz
-append apm=power-off vga=normal video=vesafb:off initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% nomce net.ifnames=0 console=tty1 console=ttyS0,9600n8 
+append apm=power-off vga=normal video=vesafb:off initrd=/boot/%SHORT_NAME%/initrd.img boot=live live-media-path=/live/%GRML_NAME%/ bootid=%BOOTID% nomce net.ifnames=0 console=tty1 console=ttyS0,115200n8 
 
 label userdef
 menu hide
index 51c8e43..fb64279 100644 (file)
@@ -74,7 +74,7 @@ timeout 300
 # ontimeout chain.c32 hd0 0
 
 # use this to control the bootup via a serial port:
-# serial 0 9600
+# serial 0 115200
 
 # following is a placeholder just in case you want to patch your own startup
 # options right into the Grml ISO. Feel free to use a hex editor like dhex to