-
-
Save BH1SCW/ff5e092b95ab614b2048d50226208112 to your computer and use it in GitHub Desktop.
Linux kernel verbose boot and logging to serial console
This file contains hidden or 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