Clean install of ProxmoxVE 4.0 leads to grub2 issues

Ovidiu

Renowned Member
Apr 27, 2014
326
14
83
- root server from strato with a raid1 (2x2tb HDs)
- installed a minimal Debian Jessie via their console
- followed these instructions: http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie
- as soon as I do a dist-upgrade I get into grub2 trouble.

IT doesn't allow me to install to /dev/md0

Code:
grub-install /dev/md0
Installing for i386-pc platform.
grub-install: warning: File system `ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
and seems to read the ext4 file system as ext2 and complains if I try installing into /dev/sda or sdb

Code:
update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.2.2-1-pve
Found initrd image: /boot/initrd.img-4.2.2-1-pve
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
done

so I reinstalled the server again and held off upgrading grub2. There's also an issue when trying to reinstall grub2 I get told grub2 depends on some beta2 packages but pve packages are to be installed.

Any advice on how to actually do a successful grub2 update?