Skip to content

Commit

Permalink
Use serial console with 115200n8 by default
Browse files Browse the repository at this point in the history
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: #130
  • Loading branch information
mika committed Feb 20, 2023
1 parent 721a473 commit 6f345c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/boot/grub/%SHORT_NAME%_options.cfg
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion templates/boot/isolinux/grml.cfg
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/boot/isolinux/hidden.cfg
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/boot/isolinux/isolinux.cfg
Expand Up @@ -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
Expand Down

0 comments on commit 6f345c1

Please sign in to comment.