Bug#598961: grub breaks after kernel upgrade

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sat Jan 8 21:33:49 UTC 2011


On 11/27/2010 08:35 PM, Richard Kettlewell wrote:
> 15:36 < col> rjk: I think this is one of those situations where I
> need to be sitting in front of it, but it might not hurt to run
> 'grub-install --debug <whatever your other args to grub-install
> are>' before and after upgrading the kernel, and send me the
> output from both runs
>
> Both are attached.  The only thing that happened between them was a
> kernel upgrade (transcript also attached).
>
> As you will see the debug output from save_blocklists() is completely
> different.
>
I think Debian attempts to reinstall GRUB to either device. This may
fail for some device but if it's even attempted even on one device then
core.img will be recreated and so blocklists will be invalidated. You
need to always do all installs with force if you use --force for at
least one device.
> However ... it seems that grub-install invokes grub-mkimage resulting
> in a new core.img, at a different physical location, each time.
>
> /boot is an ext3 filesystem.
>
> ttfn/rjk
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110108/e8bbaf20/attachment-0001.pgp>


More information about the Pkg-grub-devel mailing list