Linux kernel Boot Options

Linux kernel Boot Options

The Linux kernel can accept a variety of boot options, which are passed to it on the command line. These options can be used to change the kernel’s behavior at boot time, such as enabling or disabling features, specifying hardware settings, or passing information to kernel modules.

Here is a table of some of the most common Linux kernel boot options:

OptionDescription
quietSuppresses the kernel’s boot messages. This can be useful if you are troubleshooting a problem and do not need to see the boot messages.
splashDisplays a splash screen during the boot process. This can be a nice way to add some visual flair to your boot process.
nomodesetPrevents the kernel from loading graphics drivers, which can be useful for troubleshooting graphics problems.
log_buf_len=1MSets the size of the kernel’s log buffer to 1 megabyte. This can be useful if you are experiencing kernel panics or other errors, as it will give you more information to troubleshoot the problem.
print_fatal_signals=1Causes the kernel to print a message when it receives a fatal signal. This can be useful for debugging kernel crashes.
rd.break=initramfsForces the kernel to load the initramfs before the root filesystem. This can be useful if you are using a custom initramfs or if you are troubleshooting a problem with the root filesystem.
init=/bin/bashSpecifies the command to run after the kernel has booted. This can be useful if you want to run a custom startup script or if you are troubleshooting a problem with the init system.
console=tty0 console=ttyS0,115200Specifies the console devices to use. This can be useful if you are using a serial console or if you are troubleshooting a problem with the console.
mem=1024MSets the amount of memory to be allocated to the kernel. This can be useful if you are running out of memory or if you are troubleshooting a problem with memory management.
root=/dev/sda1Specifies the root filesystem device. This can be useful if you are using a different root filesystem or if you are troubleshooting a problem with the root filesystem.
noapicPrevents the kernel from using the Advanced Programmable Interrupt Controller (APIC) chip. (You can use this command on motherboards known to have a bad APIC.)
apicWorks around a bug commonly encountered in the Intel 440GX chipset BIOS and only executes with the installation program kernel.
vncStarts a VNC (Virtual Network Computing) server so that you can control the GUI installer from another networked system that runs a VNC client.
ksConfigures the Ethernet card using DHCP and runs a kickstart installation by using a kickstart file from an NFS server identified by the boot server parameters provided by the DHCP server.
rescueStarts the kernel in rescue mode where you get a shell prompt and can try to fix problems.

For a complete list of kernel boot options, please refer to the Linux kernel documentation: https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html.

Note that the exact method for specifying kernel boot options may vary depending on your Linux distribution and bootloader. It’s recommended to refer to your distribution’s documentation or the documentation of your specific bootloader for detailed instructions on how to add and configure kernel boot options.

Total
0
Shares

Leave a Reply

Previous Post
Microsoft Launches New Cybersecurity Scholarship Program to Help Fill Talent Gap

Microsoft Launches New Cybersecurity Scholarship Program to Help Fill Talent Gap

Next Post
How to install Ubuntu in VM step by step installation guide

How to install Ubuntu in VM step by step installation guide

Related Posts