cs:kernel_boot_parameters
Return to Home page
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/kernel_boot_parameters?rev=1551188037&do=diff
Differences
This shows you the differences between two versions of the page.
— | cs:kernel_boot_parameters [2024/04/08 22:34] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Kernel boot parameters ====== | ||
+ | How to configure kernel boot parameters with grub2 | ||
+ | ===== Example of the " | ||
+ | * Open the file ''/ | ||
+ | < | ||
+ | |||
+ | * Edit the option '' | ||
+ | <code bash> | ||
+ | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
+ | </ | ||
+ | |||
+ | * Run the command: | ||
+ | <code bash> | ||
+ | sudo update-grub | ||
+ | </ | ||
+ | to make active the GRUB configuration at the next reboot. | ||
+ | |||
+ | ===== Choose which kernel use for boot ===== | ||
+ | If you want to boot the third kernel of the second sub-menu, you have to modify in file ''/ | ||
+ | <code bash> | ||
+ | GRUB_DEFAULT=1> | ||
+ | </ | ||
+ | and to make effective modification you have to run the command: | ||
+ | <code bash> | ||
+ | sudo update-grub | ||
+ | </ | ||
+ | |||
+ | If you want to choose directly an entry of the main menu, for instance the third entry, the variable '' | ||
+ | <code bash> | ||
+ | GRUB_DEFAULT=2 | ||
+ | </ | ||
+ | |||
+ | There is also the option to specify directly the name of the kernel (this is the solution I prefer): | ||
+ | <code bash> | ||
+ | GRUB_DEFAULT=" | ||
+ | </ | ||
+ | |||
+ | To know the names of the kernels you can type the command: | ||
+ | <code bash> | ||
+ | grep menuentry / | ||
+ | </ | ||
+ | |||
+ | ===== Boot in recovery mode ===== | ||
+ | * Select //Recovery mode// among kernel options | ||
+ | * Select a //root section// | ||
+ | * Type '' |
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/kernel_boot_parameters?rev=1551188037&do=diff