On 11/30/2010 08:37 PM, Peter Hjalmarsson wrote: > I am running a imsm raid (intel ICH10r, named Gentoo) and a LVM on top > of that (named lillen) that holds a LV named lillen-boot. > > Now grub-probe does not find lillen-boot, but if you look at the log for > grub-prob you will see it only looks at /dev/md/lillen and /dev/md0. > However the LVM I want lies on top of /dev/md/Gentoo, /dev/md126 > (or /dev/md127 for the general metadata). > Could this be why it does not find the disk? > > This is the case of scamraid managed by mdraid which right now can't be autodetected. GRUB needs a little help in the form of following entry in device.map: (hd0) /dev/md126
> > lillen ~ # grub-install /dev/md126 > which: no ofpathname in > (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3) > which: no nvsetenv in > (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3) > /sbin/grub-probe: error: no such disk. > Auto-detection of a filesystem of /dev/mapper/lillen-boot failed. > Please report this together with the output of "/sbin/grub-probe > --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to > <[email protected]> > > > > lillen ~ # /sbin/grub-probe --device-map="/boot/grub/device.map" > --target=fs -v /boot/grub > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: scanning hd0 for LVM. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: couldn't find ID > . > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: scanning hd1 for LVM. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: scanning hd2 for LVM. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: scanning hd3 for LVM. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: scanning hd4 for LVM. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: scanning hd5 for LVM. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: scanning hd6 for LVM. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: scanning hd7 for LVM. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: scanning md/lillen for LVM. > /sbin/grub-probe: info: scanning md0 for LVM. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd0 for LVM. > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: couldn't find ID > . > /sbin/grub-probe: info: the size of hd0 is 625142448. > /sbin/grub-probe: info: scanning hd1 for LVM. > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd1 is 625142448. > /sbin/grub-probe: info: scanning hd2 for LVM. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: scanning hd2,msdos1 for LVM. > /sbin/grub-probe: info: the size of hd2 is 7823296. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd3 for LVM. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: scanning hd3,gpt3 for LVM. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd3,gpt2 for LVM. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd3,gpt1 for LVM. > /sbin/grub-probe: info: the size of hd3 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd4 for LVM. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: scanning hd4,gpt3 for LVM. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd4,gpt2 for LVM. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd4,gpt1 for LVM. > /sbin/grub-probe: info: the size of hd4 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd5 for LVM. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: scanning hd5,gpt1 for LVM. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: the size of hd5 is 1465149168. > /sbin/grub-probe: info: scanning hd6 for LVM. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: scanning hd6,msdos1 for LVM. > /sbin/grub-probe: info: the size of hd6 is 312581808. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd7 for LVM. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: scanning hd7,msdos2 for LVM. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: scanning hd7,msdos1 for LVM. > /sbin/grub-probe: info: the size of hd7 is 488397168. > /sbin/grub-probe: info: no LVM signature found > . > /sbin/grub-probe: info: changing current directory to /dev. > /sbin/grub-probe: info: changing current directory to lillen-home. > /sbin/grub-probe: info: changing current directory to lillen. > /sbin/grub-probe: info: changing current directory to md. > /sbin/grub-probe: info: changing current directory to disk. > /sbin/grub-probe: info: changing current directory to by-label. > /sbin/grub-probe: info: changing current directory to by-uuid. > /sbin/grub-probe: info: changing current directory to by-path. > /sbin/grub-probe: info: changing current directory to by-id. > /sbin/grub-probe: info: changing current directory to block. > /sbin/grub-probe: info: changing current directory to char. > /sbin/grub-probe: info: changing current directory to shm. > /sbin/grub-probe: info: changing current directory to pts. > /sbin/grub-probe: info: changing current directory to usb. > /sbin/grub-probe: info: changing current directory to bsg. > /sbin/grub-probe: info: changing current directory to snd. > /sbin/grub-probe: info: changing current directory to by-path. > /sbin/grub-probe: info: changing current directory to mapper. > /sbin/grub-probe: info: opening lillen-boot. > /sbin/grub-probe: error: no such disk. > > > > _______________________________________________ > Bug-grub mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-grub > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
