[Bug 826163] Re: update-grub seems to ignore /etc/default/grub in 10.04.3
thread13
826163 at bugs.launchpad.net
Fri Aug 19 00:10:21 UTC 2011
This is to confirm that the problem safely reproduces on a different
"clean" installation of 10.04.3 ( Desktop LTS ), and that the suggested
workaround works for it as well .
** Description changed:
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:
+ HOW TO REPRODUCE:
+ 0. [ optional: install new kernel version ]
+ 1. edit /etc/default/grub, say, remove "splash" from the "quiet splash" line ;
+ 2. run 'sudo update-grub' ;
+ 3. observe that 'menu.lst' was regenerated, while 'grub.cfg' was not.
+ if the step zero was executed, then observe that 'menu.lst' has the right kernel entries, but effectively ignores '/etc/default/grub' .
+
+ 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:
+ 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
.
** Description changed:
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 .
- HOW TO REPRODUCE:
- 0. [ optional: install new kernel version ]
- 1. edit /etc/default/grub, say, remove "splash" from the "quiet splash" line ;
- 2. run 'sudo update-grub' ;
- 3. observe that 'menu.lst' was regenerated, while 'grub.cfg' was not.
- if the step zero was executed, then observe that 'menu.lst' has the right kernel entries, but effectively ignores '/etc/default/grub' .
-
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.
+ See also comment #3 ( https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/826163/comments/3 ) for a "full" workaround .
RELATED:
probably related bugs are:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/478652
and
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/470490
+
+
+ HOW TO REPRODUCE THE BUG:
+ 0. [ optional: install new kernel version ]
+ 1. edit /etc/default/grub, say,
+ remove "splash" from the "quiet splash" line ;
+ 2. run 'sudo update-grub' ;
+ 3. observe that 'menu.lst' was regenerated, while 'grub.cfg' was not.
+ if the step zero was executed, then observe that 'menu.lst' has the right kernel entries, but effectively ignores '/etc/default/grub' .
+
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
.
--
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.
See also comment #3 ( https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/826163/comments/3 ) for a "full" workaround .
RELATED:
probably related bugs are:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/478652
and
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/470490
HOW TO REPRODUCE THE BUG:
0. [ optional: install new kernel version ]
1. edit /etc/default/grub, say,
remove "splash" from the "quiet splash" line ;
2. run 'sudo update-grub' ;
3. observe that 'menu.lst' was regenerated, while 'grub.cfg' was not.
if the step zero was executed, then observe that 'menu.lst' has the right kernel entries, but effectively ignores '/etc/default/grub' .
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