[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:30:08 UTC 2011
Following http://kernel-handbook.alioth.debian.org/ch-update-hooks.html, added the following script to /etc/kernel/postinst.d :
===
# ls -l
total 12
-rwxr-xr-x 1 root root 481 2010-01-14 22:18 nvidia-common
-rwxr-xr-x 1 root root 196 2011-02-10 18:04 pm-utils
-rwxr-xr-x 1 root root 126 2011-08-15 19:22 zz-my-update-grub-cfg # <--
===
===
#!/bin/bash
mv /boot/grub/grub.cfg /boot/grub/grub.cfg.postinst-backup
grub-mkconfig -o /boot/grub/grub.cfg </dev/null 1>&2
===
won't force testing it and will wait till the next update, though .
we'll see .
--
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