On Thu, Mar 29, 2012 at 9:54 AM, Charles Yost <[email protected]> wrote:
>>
>>> BOOT_LOOP=$(losetup --find)
>>> losetup --verbose ${BOOT_LOOP} /dev/mapper/${IMAGE_FILE_BASENAME}p1
>>
>> I explicitly said not to do this and this is what is causing the
>> problem. Just do
>>
>> mount /dev/mapper/${IMAGE_FILE_BASENAME}p1 /mnt/disk_image-boot
>>
>
> When I tried this, here is what happens. The grub-install script exits
> with the following:
> /usr/sbin/grub-probe: error: no such disk
> Auto-detection of a filesystem of /dev/mapper/loop1p1 failed.
> Try with --recheck.
> If the problem persists please report this together with the output of
> "/usr/sbin/grub-probe
> --device-map="/mnt/image_os-boot/grub/device.map" --target=fs -v
> /mnt/image_os-boot/grub" to <[email protected]>

I must have been remembering wrong when I stated that kpartx support
made it into grub 1.99, apparently that is not the case. If you
upgrade to grub 2.0 beta2 though it should work.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to