Bug#475718: update-grub fails; grub-probe cannot find device -- disk device is in device.map
Robert Millan
rmh at aybabtu.com
Sun Apr 13 09:05:05 UTC 2008
On Sat, Apr 12, 2008 at 08:21:58PM -0400, Chris Knadle wrote:
> On Saturday 12 April 2008, Robert Millan wrote:
> > On Sat, Apr 12, 2008 at 09:47:05AM -0400, Chris Knadle wrote:
> > > However, with both grub 0.97-36 and grub 0.97-32 running
> > > grub-probe manually to detect /dev/hde2 seems to fail
> > > (identical output from both):
> > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > anon7# grub-probe -d /dev/hde2 -v
> >
> > Please try with -vv
> >
> > Thanks
>
> Okay, it's attached. Apparently grub-probe is finding an Apple partition
> map on the first drive; we do have a few Apple machines here and there is a
> small chance that at one time this disk was in an Apple. The only reliable
> way I've found of removing Apple partitions is to use 'wipe' on them,
> although I don't know if that was done on this disk. I have a duplicate of
> the same make + size that I can use to back this disk up with if something
> risky needs to be done to try to get rid of the Apple map if there is one.
> If you know of a better or less intrusive way of removing Apple maps, I'd
> like to know.
Or maybe we can make grub-probe smarter. But before we get into this, can
you confirm that disabling apple support fixes your problem?
Remove partmap/apple.c from grub_probe_SOURCES in common.rmk, then run
./autogen.sh to propagate your change to common.mk and rebuild.
Thank you
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
More information about the Pkg-grub-devel
mailing list