Skip to content

Instantly share code, notes, and snippets.

@nh2
Last active June 1, 2019 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nh2/554f94a3ca03fa136bf4d20a0eeb5906 to your computer and use it in GitHub Desktop.
Save nh2/554f94a3ca03fa136bf4d20a0eeb5906 to your computer and use it in GitHub Desktop.
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