[Bug 997270] Re: Kernel options not effective when added to /etc/default/grub
Eric van der Vlist
vdv at dyomedea.com
Thu May 10 15:40:12 UTC 2012
I have tried to be both precise and concise, sorry if I have not been
clear.
The grub.cfg in the bootinfo is the one that has been generated by
update-grub. It may look correct but I get a black screen (before even
displaying the grub menu) when I boot the machine with it.
I have replaced it with the content included in my description as a way
to test the kernel options and as a workaround to boot the machine
(which I need up and running).
My /etc/default/grub is just below in the same bootinfo, but I can copy
it here (it's the default one where I have replaced "quiet splash" by
"console=tty1 acpi=off" in GRUB_CMDLINE_LINUX_DEFAULT):
=================== /mnt/boot-sav/sda1/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 acpi=off"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== /mnt/boot-sav/sda1/etc/default/grub
--
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/997270
Title:
Kernel options not effective when added to /etc/default/grub
Status in “grub2” package in Ubuntu:
Invalid
Bug description:
After upgrading a fit-pc2 (http://www.fit-pc.com/web/fit-pc/fit-
pc2-specifications/) from 10.04 to 12.04, I got a black screen at boot
time (before hitting the grub menu).
The root cause is probably due to a known issue with gma500_gfx
drivers
(https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo
/#PSB-GFX_drivers) and after trying a few combination with a live USB
key, I saw that I could boot with the options "acpi=off" and
"console=tty1".
Using boot-repair, I have added these options to
"GRUB_CMDLINE_LINUX_DEFAULT" in /etc/default/grub (BootInfo available
at http://paste.ubuntu.com/975929/) but still get a black screen.
I am sure that these options work because when I replace the content
of /boot/grub/grub.cfg by:
+++++++++++++++++++++++++++++
set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro acpi=off console=tty1
initrd /initrd.img
boot
+++++++++++++++++++++++++++++
the machine boots perfectly fine.
Why are these options not taken into account when added to
/etc/default/grub?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/997270/+subscriptions
More information about the foundations-bugs
mailing list