i'm using grub 1.99 i am using this setup: GPT on sda and sdb (see parted paste below) /dev/sda2 + /dev/sdb2 = /dev/md0 /dev/md0 is a pv (for lvm)
i installed my nixos system (yes no ubuntu) into /dev/myVolGrp/system and i'm not using an additional boot partition as /dev/sda1 or /dev/sdb2; they are only there so that i can put grub2 stuff there. my system is directly booted from lvm; so why do i post this, because i had a similar error: nixos-rebuild switch --fast building the system configuration... updating GRUB 2 menu... installing the GRUB bootloader on /dev/sda... /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: error: no such disk. Auto-detection of a filesystem of /dev/mapper/myVolGrp-system failed. Try with --recheck. If the problem persists please report this together with the output of "/nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <[email protected]> /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: Cannot stat `/dev/disk/by-id/scsi-35000c5003f556643', skipping. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: Cannot stat `/dev/disk/by-id/scsi-35000c5003f5363a6', skipping. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to /dev. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to pts. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to shm. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to myVolGrp. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to md. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to disk. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to by-label. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to by-uuid. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to by-partlabel. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to by-partuuid. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to by-path. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to by-id. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to snd. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: changing current directory to mapper. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: info: opening myVolGrp-system. /nix/store/iaypdz5mm1qk8izs9412cb28v9vwwcn4-grub-1.99/sbin/grub-probe: error: no such disk. but all i did was: cd /boot/grub cat device.map (hd0) /dev/disk/by-id/scsi-35000c5003f556643 (hd1) /dev/disk/by-id/scsi-35000c5003f5363a6 then rm /boot/grub/device.map and after i had removed the device.map file, grub-install would just work! hope this helps someone. thanks a lot to Jordan_U#[email protected] parted: Number Start End Size File system Name Flags 1 17.4kB 2000kB 1983kB non-fs bios_grub 2 2097kB 3001GB 3001GB primary [root@nix9000:~]# lvdisplay --- Logical volume --- LV Path /dev/myVolGrp/system LV Name system VG Name myVolGrp LV UUID pszfD0-hAY8-A0QS-SFCr-ZI77-5KYP-QL2ziR LV Write Access read/write LV Creation host, time , LV Status available # open 1 LV Size 50.00 GiB Current LE 12800 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Path /dev/myVolGrp/swap LV Name swap VG Name myVolGrp LV UUID LE9YTS-wKUP-3VCb-Wv2t-WLEf-xgP6-h2yrX6 LV Write Access read/write LV Creation host, time , LV Status available # open 2 LV Size 8.00 GiB Current LE 2048 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 pvdisplay --- Physical volume --- PV Name /dev/md127 VG Name myVolGrp PV Size 2.73 TiB / not usable 888.00 KiB Allocatable yes PE Size 4.00 MiB Total PE 715396 Free PE 700548 Allocated PE 14848 PV UUID 22ycjZ-h0Bd-fPqc-4FMZ-CZcw-KIXb-S2gnEX -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/681535 Title: Auto-detection of a filesystem of /dev/md0 failed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/681535/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
