Hello, I've an x86_64-linux system, without EFI, and grub 2.00 grub-probe crashes, if it has a non-existant device.map (/tmp/device.map does not exist):
[root@atom:/nix/var/nix/profiles/system-130-link]# sw/sbin/grub-probe -m /tmp/device.map /boot reiserfs *** glibc detected *** sw/sbin/grub-probe: double free or corruption (fasttop): 0x0000000000cc2290 *** Aborted The backtrace without debug info: .... #5 0x000000000049d466 in grub_free () #6 0x00000000004ae3bc in free_array () #7 0x00000000004ae546 in grub_mod_fini () #8 0x00000000004ae531 in grub_diskfilter_fini () #9 0x0000000000408528 in grub_fini_all () #10 0x00000000004050d2 in main () If I run it from another directory, with full path, it does not: [root@atom:/etc/nixos/nixpkgs]# /nix/var/nix/profiles/system-130-link/sw/sbin/grub-probe -m /tmp/device.map /boot reiserfs It does not happen with grub 1.99. For more information: The device.map built by 1.99 is: (hd0) /dev/disk/by-id/ata-MAXTOR_STM3250310AS_6RY26Q2Z (hd1) /dev/disk/by-id/ata-ST3320613AS_9SZ50W76 (hd2) /dev/disk/by-id/ata-ST3320613AS_9SZ3MZ4S It does not happen either, if the device.map grub-probe finds has the contents above. I care about the former run to work, because it makes grub-install fail. The partition holding /boot is a reiserfs over a md raid1 array: Mount: /dev/md127 on / type reiserfs (rw,relatime) mdstat: md126 : active raid1 sda2[0] sdb2[1] 524276 blocks super 1.2 [2/2] [UU] Any idea? Meanwhile I keep on using 1.99. Thank you, Lluís. _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub