As part of installing proxmox on a dedicated server running Debian, it installed a new kernel. As part of the install instructions, I am supposed to choose the new kernel in grub. However I dont have a virtual console for accessing the server at the time of boot. The only thing I can do, is to run an ssh console to the server after it boots. How can I select the pv kernel as default for boot time?
I am running Debian Wheezy on the server, and installed proxmox 3.
Set the
GRUB_DEFAULT
variable in/etc/default/grub
. You can use the title of the kernel entry instead of an index, so it's not disturbed by subsequent kernel installs/removals. Then you need to runupdate-grub
. From the Grub manual:Just edit /boot/grub/grub.cfg
where X is an index number of kernel definition in the /boot/grub/grub.cfg
There's
grub-set-default
(8) which can be used to select the boot entry if you're usingsavedefault
. If you're not usingsavedefault
the default isset default="0"
which boots the first defined kernel. Usually the kernels are ordered from latest to oldest in order to boot into the latest kernel.