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

luciferlu

Active Member
Apr 22, 2019
26
2
43
45
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: