Last active
January 6, 2023 15:04
-
-
Save tonejito/3d14b62dbc3ba40775ac63a22d06237f to your computer and use it in GitHub Desktop.
Linux kernel verbose boot and logging to serial console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linux kernel verbose boot and logging to serial console | |
# | |
# Check Documentation/kernel-parameters.txt [1] to check all aplicable options for your kernel version | |
# | |
# VERSION="v"$(uname -r | sed -e 's/\(\.0\)\?-.*$//') | |
# [1] https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/Documentation/kernel-parameters.txt?id=refs/tags/$VERSION | |
linux /vmlinuz root=/dev/sda1 ro consoleblank=0 earlyprintk=ttyS0 console=ttyS0 panic=1 oops=panic panic_on_warn verbose INIT_VERBOSE=yes init=/sbin/init -v | |
initrd /initrd.gz | |
boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment