[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing GRUB to drive image
From: |
Jordan Uggla |
Subject: |
Re: Installing GRUB to drive image |
Date: |
Fri, 30 Mar 2012 00:19:16 -0700 |
On Thu, Mar 29, 2012 at 9:54 AM, Charles Yost <address@hidden> 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 <address@hidden>
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)
- Installing GRUB to drive image, Charles Yost, 2012/03/28
- Re: Installing GRUB to drive image, Jordan Uggla, 2012/03/28
- Re: Installing GRUB to drive image, Charles Yost, 2012/03/28
- Re: Installing GRUB to drive image, Jordan Uggla, 2012/03/28
- Re: Installing GRUB to drive image, Charles Yost, 2012/03/28
- Re: Installing GRUB to drive image, Charles Yost, 2012/03/28
- Re: Installing GRUB to drive image, Jordan Uggla, 2012/03/29
- Re: Installing GRUB to drive image, Charles Yost, 2012/03/29
- Re: Installing GRUB to drive image, Jordan Uggla, 2012/03/29
- Re: Installing GRUB to drive image, Charles Yost, 2012/03/29
- Re: Installing GRUB to drive image,
Jordan Uggla <=
- Re: Installing GRUB to drive image, wangji, 2012/03/31