Public bug reported:

I played around with my grub-configuration ( /etc/grub.d/ ) - very
stupid, I know - and broke it completely. See here, "alloc magic is
broken" http://askubuntu.com/questions/183601/cant-boot-no-grub-alloc-
magic-is-broken.

I then started to reinstall grub from a live CD (more or less with sudo
grub-install --root-directory=/mnt /dev/sda ).

This did not change anything and after playing around a while I checked the 
grub.conf and saw that the old error still remained.
It turned out that though reinstalling it would use the old configuration (the 
broken one.)

I'd suggest grub-install to ask the user whether to override or to back
it up. (and .bak to the files does NOT work)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CheckboxSubmission: 236a6ecab42f5f00606cd37059f07dc1
CheckboxSystem: 5a5f83b1a22238119772e525a902a417
Date: Sun Sep  9 15:48:43 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: grub2
UpgradeStatus: Upgraded to precise on 2012-04-26 (136 days ago)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1048385

Title:
  grub-install does not override config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1048385/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to