[SOLVED] ln: failed to create symbolic link '/boot/pve/vmlinuz-5.11': Operation not permitted

luciferlu

Active Member
Apr 22, 2019
25
2
43
44
I was installing PVE from debian bullseys. At 98% process, the error jumped just like this:
Code:
Setting up pve-kernel-5.11 (7.0-7) ...
ln: failed to create symbolic link '/boot/pve/vmlinuz-5.11': Operation not permitted
dpkg: error processing package pve-kernel-5.11 (--configure):
[B] installed pve-kernel-5.11 package post-installation script subprocess returned error exit status 1[/B]
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on pve-kernel-5.11; however:
  Package pve-kernel-5.11 is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-kernel-5.11
 proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)

The /boot partition is vfat. So the problem is it cannot make symbol links on vfat?
 
The /boot partition is vfat. So the problem is it cannot make symbol links on vfat?
yes - vfat does not support symbolic links

why is your /boot on a vfat partition?
 
yes - vfat does not support symbolic links

why is your /boot on a vfat partition?
While I was installing the Debian 11,the default option was that boot is vfat and a efi partition is also vfat too. I've found that debian make symbol links in the / partition instead of /boot.
 
Code:
mkdir /mnt/pve

mount --bind /mnt/pve /boot/pve

modifiy /etc/fstab
 
Last edited:

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!