User Tools

Site Tools


linux:change_boot_kernel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:change_boot_kernel [2021/05/13 21:35]
admin created
linux:change_boot_kernel [2021/05/13 21:37] (current)
admin
Line 8: Line 8:
 </​code>​ </​code>​
  
 +{{ :​linux:​linux_change_boot_kernel_01.jpg |}}
  
 Identify the GRUB menu entry for the kernel that you want to set as default. Each menu entry is assigned by GRUB2 a numeric value starting from 0 in an increasing order. That is, the first menu entry assigned 0, the second entry assigned 1, etc. For example, the menu entry value for the kernel 3.10.0-327 is 2 in the above screenshot. Identify the GRUB menu entry for the kernel that you want to set as default. Each menu entry is assigned by GRUB2 a numeric value starting from 0 in an increasing order. That is, the first menu entry assigned 0, the second entry assigned 1, etc. For example, the menu entry value for the kernel 3.10.0-327 is 2 in the above screenshot.
Line 23: Line 23:
 $ sudo grub2-mkconfig -o /​boot/​grub2/​grub.cfg $ sudo grub2-mkconfig -o /​boot/​grub2/​grub.cfg
 </​code>​ </​code>​
 +
 +{{ :​linux:​linux_change_boot_kernel_02.jpg |}}
  
 Reboot and confirm that the specified kernel is selected by GRUB2 by default. Reboot and confirm that the specified kernel is selected by GRUB2 by default.
  
linux/change_boot_kernel.1620934501.txt.gz ยท Last modified: 2021/05/13 21:35 by admin