My server is unable to boot

Maz

Member
Apr 11, 2022
10
1
8
Hello,
I've a Proxmox server since 2020, currently on version 8.4.14.

Two ZFS boot disks are in mirror- 0: /dev/sdb with ID: scsi-350000399a8202971 and /dev/sdc with Id: scsi-350000399a8202d21. I wanted to replace the /dev/sdb disk with a disk with ID: scsi-35000039e18220e99.
Here's what I did:
#zpool offline rpool scsi-350000399a8202971-part3
#zpool status
#sgdisk /dev/sdc -R /dev/sdb
#sgdisk -G /dev/sdb
#dd if=/dev/sdc1 of=/dev/sdb1
#dd if=/dev/sdc2 of=/dev/sdb2
#zpool set autotrim=on rpool#zpool get autotrim rpool
#zpool replace -f rpool /dev/disk/by-id/scsi-350000399a8202971-part3 /dev/disk/by-id/scsi-35000039e18220e99-part3
#zpool status rpool#proxmox-boot-tool format /dev/disk/by-id/scsi-35000039e18220e99-part2 --force
#proxmox-boot-tool init /dev/disk/by-id/scsi-35000039e18220e99-part2
#proxmox-boot-tool status#proxmox-boot-tool format /dev/disk/by-id/scsi-scsi-350000399a8202d21-part2 --force
#proxmox-boot-tool format /dev/disk/by-id/scsi-350000399a8202d21-part2 --force
#proxmox-boot-tool init /dev/disk/by-id/scsi-350000399a8202d21-part2
#proxmox-boot-tool clean
# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..System currently booted with uefi
After reboot the server was unable to boot from the disks.
I was able to reboot with the old disk /dev/sdb. Now i would like to know how I can make the /dev/sdc disk bootable and after the new /dev/sdb.

Thank you for your help.
Sincerely
 
Last edited:
Hi,
I solved it by adding [grub] in "#proxmox-boot-tool ini "
#proxmox-boot-tool init /dev/disk/by-id/scsi-350000399a8202d21-part2 grub
and the same for the nexw disk

Best regards
 
Last edited:
  • Like
Reactions: Kingneutron