Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
install-grub.pl errors with nixos-install when / is on an LVM LV on top of mdadm RA
# EDIT: Solution was that I had accidentally given grub a config where / is on LVM on LUKS, which can obviously not work.
# Still unclear why GRUB "memory leaks" in that case.
installing the GRUB 2 boot loader on /dev/sda...
Installing for i386-pc platform.
You have a memory leak (not released memory pool):
[0x56c1e0] dtree
[0x571e10] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
[0x56c1e0] dtree
[0x571e10] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
[0x56c1e0] dtree
[0x571e10] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
[0x56c1e0] dtree
[0x571e10] dtree
Internal error: Unreleased memory pool(s) found.
/nix/store/fjf5p60sbh2s73mlpmlgd9szfmq14f9m-grub-2.02/sbin/grub-install: error: can't mount encrypted volume `/dev/md127': disk `mduuid/21f2654bd1f7ee102c9975cd82b0ab16' not found.
You have a memory leak (not released memory pool):
[0x56c1e0] dtree
Internal error: Unreleased memory pool(s) found.
/nix/store/wbp0fp4f2gzhsx65pqakfdzrh3g9qbic-install-grub.pl: installation of GRUB on /dev/sda failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.