grub-install does not override config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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://
I then started to reinstall grub from a live CD (more or less with sudo grub-install --root-
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)
ProcVersionSign
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CheckboxSubmission: 236a6ecab42f5f0
CheckboxSystem: 5a5f83b1a222381
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)
This is by design; it is update-grub, not grub-install that is responsible for generating the config file.