Hello,
As i got some difficulty to make the upgrade from Proxmox 5 to 6 on a dedicated OVH server (using the standard OVH Proxmox v5 template), i post here how i was able to make it work for people having same problems.
All the upgrade went fine. I rebooted the server, but no more GUI, SSH... server was blocked. IMPI was not working, so i rebooted in rescue mode using "rescue64-pro".
In the rescue mode OHV, mount the filesystems:
zpool import -R /mnt rpool
mount -t proc /proc /mnt/proc
mount -t sysfs /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /run /mnt/run
mount --bind /sys /mnt/sys
mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
modprobe efivars
chroot /mnt
And edit ZFS config:
nano /etc/default/zfs
to set ZFS_INITRD_PRE_MOUNTROOT_SLEEP at value 4 (i.e.: ZFS_INITRD_PRE_MOUNTROOT_SLEEP='4')
(taken from here: https://pve.proxmox.com/wiki/ZFS:_Tips_and_Tricks#Boot_fails_and_goes_into_busybox)
(in grub rootdelay was already set to 15, so i had no need to change it)
Get list of kernels:
dpkg --list|grep pve-kernel
In my case the last one was "pve-kernel-5.0.21-5-pve"
Run (replace kernel version by yours):
update-initramfs -k 5.0.21-5-pve -u
You can get an "No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync." message, i think this is normal, but i opened antoher post on it: https://forum.proxmox.com/threads/u...-do-we-must-do-a-pve-efiboot-tool-init.60475/)
Unmount all filesystems:
umount /mnt/proc
umount /mnt/sys
umount /mnt/dev
umount /mnt/run
umount /mnt/sys
umount /mnt/etc/resolv.conf
zpool export rpool
On OVH manager, set boot to HD normal, and reboot the server.
Now it was booting great on Proxmox.
Hope it helps.
As i got some difficulty to make the upgrade from Proxmox 5 to 6 on a dedicated OVH server (using the standard OVH Proxmox v5 template), i post here how i was able to make it work for people having same problems.
All the upgrade went fine. I rebooted the server, but no more GUI, SSH... server was blocked. IMPI was not working, so i rebooted in rescue mode using "rescue64-pro".
In the rescue mode OHV, mount the filesystems:
zpool import -R /mnt rpool
mount -t proc /proc /mnt/proc
mount -t sysfs /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /run /mnt/run
mount --bind /sys /mnt/sys
mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
modprobe efivars
chroot /mnt
And edit ZFS config:
nano /etc/default/zfs
to set ZFS_INITRD_PRE_MOUNTROOT_SLEEP at value 4 (i.e.: ZFS_INITRD_PRE_MOUNTROOT_SLEEP='4')
(taken from here: https://pve.proxmox.com/wiki/ZFS:_Tips_and_Tricks#Boot_fails_and_goes_into_busybox)
(in grub rootdelay was already set to 15, so i had no need to change it)
Get list of kernels:
dpkg --list|grep pve-kernel
In my case the last one was "pve-kernel-5.0.21-5-pve"
Run (replace kernel version by yours):
update-initramfs -k 5.0.21-5-pve -u
You can get an "No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync." message, i think this is normal, but i opened antoher post on it: https://forum.proxmox.com/threads/u...-do-we-must-do-a-pve-efiboot-tool-init.60475/)
Unmount all filesystems:
umount /mnt/proc
umount /mnt/sys
umount /mnt/dev
umount /mnt/run
umount /mnt/sys
umount /mnt/etc/resolv.conf
zpool export rpool
On OVH manager, set boot to HD normal, and reboot the server.
Now it was booting great on Proxmox.
Hope it helps.