Bug#607642: grub-pc: failure of update-grub with root over nfs
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Mon Mar 28 00:42:51 UTC 2011
On 30.01.2011 21:24, Motiejus Jakstys wrote:
> Package: grub-pc
> Version: 1.98+20100804-14
> Severity: normal
> Tags: patch
>
> Does not work with root over nfs as well. Was upgrading from lenny to
> squeeze and update-grub failed:
> aviastopas:/usr/sbin# update-grub2
> /usr/sbin/grub-probe: error: cannot find a device for / (is /dev
> mounted?).
>
>
This has nothing to do with Paul's bugreport. Instead it's a duplicate
of 561855 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561855>.
> digging with bash -x...:
> aviastopas:/usr/sbin# grub-probe --target=device /
> grub-probe: error: cannot find a device for / (is /dev mounted?).
>
> Quick hack working for me is here. Of course, it will break "normal"
> systems:
>
> aviastopas:/usr/sbin# diff grub-mkconfig.*
> 152c152
> < GRUB_DEVICE="`${grub_probe} --target=device /`"
> ---
>
>> GRUB_DEVICE="`${grub_probe} --target=device /boot`"
>>
>
And this would break any non-nfs, separate /boot user.
> When I changed it, update-grub fully worked and this was the only issue
> while upgrading to squeeze. Wheee :)
>
> -- Package-specific info:
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110328/5589e9f9/attachment.pgp>
More information about the Pkg-grub-devel
mailing list