[Bug 826163] Re: update-grub seems to ignore /etc/default/grub in 10.04.3

thread13 826163 at bugs.launchpad.net
Mon Aug 15 09:04:51 UTC 2011


Just have added the kernel from maverick-backports and can confirm that:

-- menu.lst *is* regenerated, but ignores my settings in /etc/default/grub ;  
-- grub.cfg is *not* regenerated at all, had to use 'sudo grub-mkconfig -o grub.cfg', that did the trick ;  

As effectively menu.lst is ignored, I see no point in editing it manually, and the up-to-date workaround is just to run
'sudo grub-mkconfig -o /boot/grub/grub.cfg' every time after kernel update ; are there any standard ways to do so within Ubuntu framework ?

-- 
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/826163

Title:
  update-grub seems to ignore /etc/default/grub in 10.04.3

Status in “grub2” package in Ubuntu:
  New

Bug description:
  fresh install of Ubuntu 10.04 LTS (as 10.04.3, i386 32 bit), apt-
  updated to current state ,

  PROBLEM:
  can boot after manually changing boot line (press 'e', delete 'quiet splash', add 'i915.modeset=1' as required by my hardware), can not make these settings permanent by editing /etc/default/grub according to (1) and running 'sudo update-grub' : both menu.lst and grub.conf do not seem to be affected by changes, while menu.lst *is* regenerated (with 'ro quiet splash' instead of 'i915.modeset=1') and grub.conf is not .

  WORKAROUND: 
  edited both menu.lst and grub.conf to add the required incantations, but I'm worried that the next update will revert everything to defaults ; I have attached a sticker to the computer to remind myself what to do if it will stop booting after an update, but I'd prefer to solve this problem in some more reliable way, if possible.

  RELATED:
  probably related bugs are: 
  https://bugs.launchpad.net/ubuntu/+source/grub/+bug/478652
  and
  https://bugs.launchpad.net/ubuntu/+source/grub/+bug/470490

  refs:
  1. https://help.ubuntu.com/community/Grub2#/etc/default/grub%20%28file%29

  P.S. If someone points me to a description of what has happened to
  good ol' menu.lst (now there are /etc/default/grub, /etc/grub.d,
  /boot/grub/*, including menu.lst and grub.conf, and I am not sure I am
  not missing something), then I can debug the problem myself and report
  the result here ; until then, I can only say that the
  GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX lines from
  /etc/default grub are somehow disappearing from the effective boot
  menu .

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




More information about the foundations-bugs mailing list