[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed on grub installation
From: |
Andrei Borzenkov |
Subject: |
Re: Failed on grub installation |
Date: |
Thu, 12 May 2016 10:53:47 +0300 |
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 <address@hidden> 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 address@hidden
>
>
>
> Thanks
> Thiru
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-grub
>