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
signature.asc
Description: OpenPGP digital signature

