Bug#637768: grub-common: grub-probe doesn't follow symlinks
Colin Watson
cjwatson at ubuntu.com
Mon Aug 15 22:39:52 UTC 2011
tags 637768 pending
thanks
On Sun, Aug 14, 2011 at 11:02:56AM +0200, Ove Kaaven wrote:
> I have a multibooted system with two Linux root partitions (one for i386
> and one for amd64) and have been sharing /boot between them through
> symlinking. That is, on the 64-bit partition, I mount the 32-bit
> partition on /deb32 and symlink to it:
>
> merlin:~# ls -l /boot
> lrwxrwxrwx 1 root root 11 6 jan. 2009 /boot -> /deb32/boot
>
> So, I do not have a separate /boot partition. Rather, in this case,
> /boot is a subdirectory of another partition than the current root
> partition. It appears that "grub-probe -t device /boot" doesn't notice
> that /boot is a symlink into another partition, so it just returns
> the current root partition, which doesn't work.
Thanks for your report. Mario Limonciello posted a patch upstream a
couple of weeks ago; it was to address a related problem rather than
this, but it happens to fix this as well. I've cleaned it up and
committed it upstream, and have backported it for 1.99-12.
Cheers,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the Pkg-grub-devel
mailing list