I have a somewhat frustrating situation - I have a ZFS RAID1 which started out life as a single disk, and then a second SSD was added as a mirror after the installation was done. The original failed, and today I learned that a ZFS RAID1 mirror is not actually a mirror - it doesn't actually clone the bootloader, so my system is unbootable. Oops!
Initially I booted up Linux Mint and fired up gparted - indeed, all I have is a ZFS partition and no bootloader. I installed Proxmox in a VM using UEFI boot and ZFS, and cloned the boot mbr and EFI partition to IMG files which I can then pull down on my target system when booting the Linux Mint Live ISO. I then installed a second SSD that was slightly larger (256GB instead of 250GB) and cloned over the boot, efi and zfs partitions using ddrescue. Adjusted the flags in gparted... still no boot.
At this point I figured that Proxmox is special somehow and that there is probably some special alignment of the EFI partition and ZFS pool, so I also tried booting a Proxmox ISO and using the "proxmox-boot-tool" via the terminal debugging console - no luck there either. The tool will format my EFI partition (/dev/sda2) but it will not initialize it - I get the following error:
I tried to install systemd-boot in the Proxmox ISO live session but no luck there because there's no network and messing around with /etc/network/interfaces doesn't seem to behave. I am ready to throw in the towel and wipe this system and restore from backup, but before I do that, has anyone dealt with this before? Would rather get this booting again if possible as it is part of a cluster and last time I tried to replace a node it was a somewhat painful experience as well... suggestions appreciated!
Initially I booted up Linux Mint and fired up gparted - indeed, all I have is a ZFS partition and no bootloader. I installed Proxmox in a VM using UEFI boot and ZFS, and cloned the boot mbr and EFI partition to IMG files which I can then pull down on my target system when booting the Linux Mint Live ISO. I then installed a second SSD that was slightly larger (256GB instead of 250GB) and cloned over the boot, efi and zfs partitions using ddrescue. Adjusted the flags in gparted... still no boot.
At this point I figured that Proxmox is special somehow and that there is probably some special alignment of the EFI partition and ZFS pool, so I also tried booting a Proxmox ISO and using the "proxmox-boot-tool" via the terminal debugging console - no luck there either. The tool will format my EFI partition (/dev/sda2) but it will not initialize it - I get the following error:
Code:
E: bootctl is not available - make sure systemd-boot is installed
I tried to install systemd-boot in the Proxmox ISO live session but no luck there because there's no network and messing around with /etc/network/interfaces doesn't seem to behave. I am ready to throw in the towel and wipe this system and restore from backup, but before I do that, has anyone dealt with this before? Would rather get this booting again if possible as it is part of a cluster and last time I tried to replace a node it was a somewhat painful experience as well... suggestions appreciated!
Last edited: