Bug#627587: grub-pc: grub-probe: error: cannot stat `/dev/root'.
Colin Watson
cjwatson at debian.org
Tue May 31 08:18:52 UTC 2011
On Tue, May 31, 2011 at 12:57:43AM +0100, Colin Watson wrote:
> On Tue, May 31, 2011 at 01:37:06AM +0200, Marco d'Itri wrote:
> > On May 31, Adrian Bunk <bunk at stusta.de> wrote:
> > > squeeze udev && no initrd && latest grub = FAIL
> >
> > Yes, but why?
>
> Because GRUB now scans /proc/self/mountinfo to figure out the device
> underlying the root filesystem. This was part of making btrfs work
> properly, and we considered it to be better than the previous code
> because it didn't require searching /dev for a device node with the
> correct major and minor numbers.
>
> If there is a strong reason to avoid the Breaks on udev, it might be
> possible to have it fall back to the older method in the case where the
> device named in mountinfo doesn't exist. Something like this:
I realised that current upstream trunk doesn't have this problem, and so
I've backported r3318 from upstream.
http://anonscm.debian.org/loggerhead/pkg-grub/trunk/grub/revision/2435
Thanks for your comments.
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-grub-devel
mailing list