bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failed on grub installation


From: Thiru
Subject: Failed on grub installation
Date: Wed, 11 May 2016 19:01:38 +0530

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]