does it still fail if you use current GIT master (or at least 2.02~beta3)? On Wed, May 11, 2016 at 4:31 PM, Thiru <[email protected]> wrote: > Hi, > > I have tried to create the disk image file to running ubuntu 12.04 (precise) > machine using loop device. But its failed during grub installation on the > same. > > I executed below commands > > TMP=/mnt > > ... > > LOOP=`losetup --find | cut -d "/" -f 3` > losetup -f --show disk.raw > kpartx -av /dev/${LOOP} > mount /dev/mapper/${LOOP}p1 $TMP > > ... > > grub-install --root-directory=/mnt /dev/loop0 > > > Error message: > > /usr/sbin/grub-probe: error: cannot find a GRUB drive for > /dev/mapper/loop0p1. Check your device.map. > Auto-detection of a filesystem of /dev/mapper/loop0p1 failed. > Try with --recheck. > If the problem persists please report this together with the output of > "/usr/sbin/grub-probe > --device-map="/tmp/tmp.eLpG2Ho5Ns/boot/grub/device.map" --target=fs -v > /tmp/tmp.eLpG2Ho5Ns/boot/grub" to [email protected] > > > > Thanks > Thiru > > _______________________________________________ > Bug-grub mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-grub >
_______________________________________________ Bug-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-grub
