Is there a way to reboot with a different kernel version from the command line? I have Ubuntu PXE booted on a VM, and there is no graphical interface, but I need to downgrade the kernel (which is installed).
Asked
Active
Viewed 2.3k times
2 Answers
1
Edit your grub configuration as necessary - if you want to use it for longer, and install the new grub setup then to disk(s).
This I believe will help you understand grub configuration: https://help.ubuntu.com/community/Grub2/Setup
Otherwise I think kexec may also help you.
Install kexec with:
sudo apt-get install kexec-tools
Jacek
- 1,921
- 12
- 10
1
- If you want to one-time reboot selection consider using
grub-rebootcommand; - If you want to set selection permanently use
grub-set-defaultcommand.
Bot these commands require MENU-ITEM as parameter, for listing yours see: How to list GRUB's “menuentries” in command-line?
But, you can always hold Shift while booting, to show Grub Menu, isn't it possible in your VM manager?