[SOLVED] Proxmox-Boot-Tool Status vmlinuz not found

dj_arbz

New Member
Dec 26, 2021
11
1
3
32
I am in process of migrating to use the PBT and it looks like everything is processing correctly as per the documentation.

However, when I run proxmox-boot-tool status, I get the following output.
Bash:
$ sudo proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with legacy bios
ls: cannot access '/var/tmp/espmounts/18C2-6E14/vmlinuz-*': No such file or directory
18C2-6E14 is configured with: grub (versions: )
ls: cannot access '/var/tmp/espmounts/4108-9365/vmlinuz-*': No such file or directory
4108-9365 is configured with: grub (versions: )
ls: cannot access '/var/tmp/espmounts/4A16-FE12/vmlinuz-*': No such file or directory
4A16-FE12 is configured with: grub (versions: )
ls: cannot access '/var/tmp/espmounts/51B4-DD2A/vmlinuz-*': No such file or directory
51B4-DD2A is configured with: grub (versions: )
ls: cannot access '/var/tmp/espmounts/5BB8-559D/vmlinuz-*': No such file or directory
5BB8-559D is configured with: grub (versions: )
E55C-BC9C is configured with: uefi (versions: 5.4.106-1-pve, 5.4.78-2-pve), grub (versions: 5.13.19-2-pve, 5.4.157-1-pve)

If I mount those partitions that are missing the kernel, I only see a grub folder and nothing else.
To my understanding, proxmox-tool-refresh should make sure that the grub/EFI/kernels are synced?
 
afaik in legacy mode grub boot kernel from / not from boot part.
once you boot in efi mode, you can use proxmox-boot-tool to reinstall systemd with kernel sync on each boot part you want.
You can format boot part before install to wipe grub bootloader.
 
Ok, so if I understand correctly, the kernel only is installed on this partition if using UEFI?
My motherboard does not support UEFI, so I should be good to go?
 
sorry I forget the zfs legacy boot case, indeed grub is used and it needs kernel in boot partition in sync.
you can try proxmox-boot-tool init bootpart to reinstall / resync kernel
 
Still not working, here is the output of the init command.
Bash:
$ sudo proxmox-boot-tool init /dev/nvme0n1p2
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
UUID="4108-9365" SIZE="536870912" FSTYPE="vfat" PARTTYPE="c12a7328-f81f-11d2-ba4b-00a0c93ec93b" PKNAME="nvme0n1" MOUNTPOINT=""
Mounting '/dev/nvme0n1p2' on '/var/tmp/espmounts/4108-9365'.
Installing grub i386-pc target..
Installing for i386-pc platform.
Installation finished. No error reported.
Unmounting '/dev/nvme0n1p2'.
Adding '/dev/nvme0n1p2' to list of synced ESPs..
Refreshing kernels and initrds..
Running hook script 'proxmox-auto-removal'..
Running hook script 'zz-proxmox-boot'..
No /etc/kernel/cmdline found - falling back to /proc/cmdline
Copying and configuring kernels on /dev/disk/by-uuid/18C2-6E14
No linux-image /boot/vmlinuz-5.13.19-2-pve found - skipping
No linux-image /boot/vmlinuz-5.4.157-1-pve found - skipping
        Removing old version *
Generating grub configuration file ...
done
Copying and configuring kernels on /dev/disk/by-uuid/4108-9365
No linux-image /boot/vmlinuz-5.13.19-2-pve found - skipping
No linux-image /boot/vmlinuz-5.4.157-1-pve found - skipping
        Removing old version *
Generating grub configuration file ...
done
Copying and configuring kernels on /dev/disk/by-uuid/4A16-FE12
No linux-image /boot/vmlinuz-5.13.19-2-pve found - skipping
No linux-image /boot/vmlinuz-5.4.157-1-pve found - skipping
        Removing old version *
Generating grub configuration file ...
done
Copying and configuring kernels on /dev/disk/by-uuid/51B4-DD2A
No linux-image /boot/vmlinuz-5.13.19-2-pve found - skipping
No linux-image /boot/vmlinuz-5.4.157-1-pve found - skipping
        Removing old version *
Generating grub configuration file ...
done
Copying and configuring kernels on /dev/disk/by-uuid/5BB8-559D
No linux-image /boot/vmlinuz-5.13.19-2-pve found - skipping
No linux-image /boot/vmlinuz-5.4.157-1-pve found - skipping
        Removing old version *
Generating grub configuration file ...
done
Copying and configuring kernels on /dev/disk/by-uuid/E55C-BC9C
No linux-image /boot/vmlinuz-5.13.19-2-pve found - skipping
No linux-image /boot/vmlinuz-5.4.157-1-pve found - skipping
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.19-2-pve
Found initrd image: /boot/initrd.img-5.13.19-2-pve
Found linux image: /boot/vmlinuz-5.4.157-1-pve
Found initrd image: /boot/initrd.img-5.4.157-1-pve
done
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!