Bug#666992: grub-pc: installation into partition broken, postinst script does not detect MBR installation
Norbert Preining
preining at logic.at
Tue Apr 3 14:31:23 UTC 2012
Hi Colin,
thanks for the prompt answer!
On Di, 03 Apr 2012, Colin Watson wrote:
> The real error may be obtained using 'grub-install --force /dev/sda3',
> and I strongly suspect that it is along the lines of "error:
> non-sector-aligned data is found in the core file". See:
Indeed, exactely this error.
> > * grub is not able to be installed into my /dev/sda3
>
> That is indeed an important regression and I'm working on a fix now.
Thanks.
>From my side no hurry, as I have grub in MBR.
> > * postinst is not able to detect that grub is already installed in MBR
> [...]
> > * grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD10JPVT-00A1YT0_WD-WXK1A7154276, /dev/disk/by-id/ata-WDC_WD10JPVT-00A1YT0_WD-WXK1A7154276-part3
>
> If you don't want to install it to /dev/sda3, then you should run 'sudo
> dpkg-reconfigure grub-pc' and select only /dev/sda. At the moment this
Haaaa, debconf is *no* registry .... lintian warning ;-)))))
I was *searching* for a conffile that sets this, without success.
> debconf-show output indicates that you have both /dev/sda and /dev/sda3
> selected there, hence why the postinst tried to do this.
And actually, I *want* grub installed in both. In case some stupid
installer (like Windows) trashes my MBR, I only need to make part3
active, boot from it, and reinstall grub into the MBR ;-)
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
BOOK ...Man had always assumed that he was more intelligent than
dolphins because he had achieved so much... the wheel, New York,
wars, and so on, whilst all the dolphins had ever done was muck
about in the water having a good time. But conversely the
dolphins believed themselves to be more intelligent than man for
precisely the same reasons.
--- Douglas Adams, The Hitchhikers Guide to the Galaxy
More information about the Pkg-grub-devel
mailing list