[SOLVED] Grub-install error - unknown filesystem

Vasilij Lebedinskij

Renowned Member
Jan 30, 2016
65
3
73
39
Hello! I've faced strange error while replacing failed disk on old PVE appliance (5.4). After appliying sgdisk -R and sgdisk -G on new disk I've initiated resilver on a new disk and meanwhile I've wanted to install grub on first partition of new hdd. But grub-install failed with error: unknown filesystem. I know it not Proxmox fault but maybe anyone won this battle before and there is some "oneliner" to overcome it?
 
Let's me assume that this is drive /dev/sda, change it accordingly to match your drive! If the drive has a EF02 partition (according togdisk -l /dev/sda, fdisk calls it a BIOS boot) from sector 34 to 2047, then you don't run grub-install /dev/sda1 to install it to the first partition but instead use grub-install /dev/sda and it will find that partition itself and use it.
 
Let's me assume that this is drive /dev/sda, change it accordingly to match your drive! If the drive has a EF02 partition (according togdisk -l /dev/sda, fdisk calls it a BIOS boot) from sector 34 to 2047, then you don't run grub-install /dev/sda1 to install it to the first partition but instead use grub-install /dev/sda and it will find that partition itself and use it.
The problem was that resilver process was not over. After it finished grub-install /dev/sdb reported no errors.
 
  • Like
Reactions: leesteken