Arranque
JetStream
Version unspecified
Last review: 2021-10-11
Configurar un kernel instalado para que arranque de forma predeterminada
Para configurar un kernel instalado para que arranque de forma predeterminada, primero compruebe los kernels instalados en el sistema.
sudo ls /boot | grep vmlinuz
Identify the kernel to be set to boot by default.
Use the following command to set the default kernel to boot:
sudo grubby --set-default /boot/vmlinuz-<version>.<release>.<arch>
Here is a sample output (on an x84_64
architecture system):
sudo ls /boot | grep vmlinuz vmlinuz-0-rescue-c722f5f7d614446b99c39b846c2bb76c vmlinuz-5.12.18-200.fc33.x86_64 vmlinuz-5.8.15-301.fc33.x86_64
If vmlinuz-<version>.<release>.<arch>
is chosen to be set as the default, we issue the following command:
sudo grubby --set-default /boot/vmlinuz-<version>.<release>.<arch>
For the above scenario, the command will look like so
sudo grubby --set-default /boot/vmlinuz-5.12.18-200.fc33.x86_64
Want to help? Learn how to contribute to Fedora Docs ›