You change Proxmox boot options from the web interface or the GRUB/syslinux prompt, not from a BIOS-style menu inside Proxmox itself. For a VM, open the VM's Options tab and set Boot Order; for the host, edit /etc/default/grub or the boot loader config and run update-grub. The exact labels differ slightly between Proxmox VE versions and between the GRUB and systemd-boot loaders, so treat the paths below as the current defaults rather than fixed strings.
What You'll Need
- Proxmox VE installed on the host and reachable over the network (browser or SSH).
- Root or sudo access to the host, since boot loader edits need root.
- A backup or snapshot of any VM whose boot order you plan to change, in case a disk is not bootable.
- The console open for the VM or host you are changing, so you can watch the boot sequence.
Step-by-Step
- Decide which boot you are changing. Proxmox has three separate layers: the physical host's firmware boot order, the host's boot loader (GRUB or systemd-boot), and each VM's virtual boot order. Changing one does not change the others.
- For a VM, open the VM in the web interface. Select the VM in the left tree, then open the Options tab. The Boot Order entry is usually near the top of the list.
- Edit the VM boot order. Double-click Boot Order, enable the devices you want (hard disk, CD/DVD, network/PXE, USB), and drag them into the order you want. Save. The setting takes effect on the next VM start.
- For a VM that will not boot from disk, set the boot device directly. In the same Options tab, edit Boot Order to put the install ISO or network first, or use the VM's Hardware tab to confirm the disk is attached and marked bootable. Start the VM and watch the console.
- For the host, check which boot loader is in use. SSH in as root and run
efibootmgron UEFI systems, or inspect/boot/grub/grub.cfgon BIOS/GRUB systems. The output tells you whether you are editing firmware entries, GRUB, or systemd-boot. - Change the host's default kernel or boot entry in GRUB. Edit
/etc/default/gruband setGRUB_DEFAULTto the menu entry number (0-based) or to the saved entry. Runupdate-grubafterwards, then reboot and confirm the entry you expected is highlighted. - Change the host's firmware boot order on UEFI. Use
efibootmgr -owith the BootOrder numbers you want, or enter the server's firmware setup at power-on and reorder the entries there. Do not delete entries you do not recognise; note them first. - Add or remove kernel boot parameters. In
/etc/default/grub, editGRUB_CMDLINE_LINUX_DEFAULT(for example to add a console or nomodeset option), runupdate-grub, and reboot. Keep a copy of the original line so you can restore it. - Set a one-time boot for a single start. On GRUB, press
eat the menu to edit the selected entry for that boot only; changes are discarded on reboot. On UEFI firmware, many servers offer a one-time boot menu at power-on (often F12 or F11) that does not persist. - Verify. Reboot or restart the VM, watch the console, and confirm the intended device or kernel loads. If it does not, revert the change before trying anything else.
Common Mistakes
- Editing the VM's boot order when the real problem is the host's boot loader, or the reverse. They are independent settings.
- Forgetting
update-grubafter editing/etc/default/grub, so the change never reaches the boot menu. - Using 1-based numbering for
GRUB_DEFAULTwhen GRUB counts entries from 0. - Removing a UEFI boot entry with
efibootmgr -b ... -Band then being unable to boot; always record the entry first. - Changing a VM's boot order without a snapshot, then finding the disk is not bootable and having no rollback.
Tips
- Label VM disks clearly in Hardware so the boot order list is readable.
- Keep a note of the original
GRUB_DEFAULTandGRUB_CMDLINE_LINUX_DEFAULTvalues before editing. - Use the VM console, not just the summary panel, to confirm which device actually booted.
- For servers, set the firmware boot order once and leave it; use one-time boot menus for installs.
Troubleshooting
If a VM will not boot after a boot-order change, shut it down, take a snapshot, and set the original disk first in Boot Order. If the host drops to a GRUB prompt, boot the previous kernel from the menu, then re-check /etc/default/grub and re-run update-grub. If the host will not boot at all after a UEFI change, enter firmware setup at power-on and restore the original BootOrder. If you are unsure which loader is in use, run efibootmgr and look at /boot before changing anything.
Frequently Asked Questions
Does changing a VM's boot order affect the Proxmox host?
No. VM boot order is a per-VM setting; the host's boot loader and firmware order are separate.
Do I need to reboot the host after changing GRUB settings?
Yes. update-grub rewrites the config, but the new default only applies on the next boot.
Can I boot a VM from a USB stick?
Only if the stick is passed through to the VM as a USB device and enabled in Boot Order. The host's own USB boot is a firmware setting, not a Proxmox one.
What is the difference between GRUB_DEFAULT and the firmware boot order?
GRUB_DEFAULT picks which menu entry GRUB loads; firmware boot order picks which device or loader the motherboard hands off to first.
Is it safe to edit efibootmgr entries?
It is safe if you record the current entries first. Deleting the wrong entry can leave the server unable to boot until you restore it in firmware setup.