[Bug 1048385] Re: grub-install does not override config

Phillip Susi psusi at ubuntu.com
Mon Sep 24 18:59:04 UTC 2012


This is by design; it is update-grub, not grub-install that is
responsible for generating the config file.


** Changed in: grub2 (Ubuntu)
       Status: New => Invalid

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

Title:
  grub-install does not override config

Status in “grub2” package in Ubuntu:
  Invalid

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://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)

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




More information about the foundations-bugs mailing list