no grub file in /etc/default

Asked by Igor Tumbas

Recently upgraded to Lucid Studio from Karmic Studio. While searching for the solution for the low res splash screen, I discovered a potential one that required me to modify /etc/default/grub file. To my dismay the file does not exist (sudo ls -l /etc/default does not list "grub"). All forum threads just assume that this file should be there. Am I looking in the right place? Are there packages that I should install first?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Jens Maucher
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Here's mine (I disable ipv6 but if you need it simply delete the boot option:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

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="quiet splash ipv6.disable=1"
GRUB_CMDLINE_LINUX=""

# 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_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

You will need gksudo gedit /etc/default/grub

to get write access to the file.

Revision history for this message
Best Jens Maucher (jensmaucher) said :
#2

No grub in /etc/default?
Well, maybe you have grub1 installed, and not grub2?

Revision history for this message
Igor Tumbas (fowfer) said :
#3

actionparsnip, Jens,

Many thanks for your pointers. Turns out both of you were right. Grub 2 was not installed on upgrade to Lucid Studio for whatever reason. Following this link fixed that

https://help.ubuntu.com/community/Grub2

After installing Grub2 "/etc/default/grub" was there.

Getting the low res splash to work was a bit more involved. Following instructions worked for me (I omitted the ATI driver stuff as I have an NVIDIA card).

http://ubuntuforums.org/showthread.php?t=1477012

Didn't think this would need to be that hard .... many thanks for your help!

Revision history for this message
Igor Tumbas (fowfer) said :
#4

Thanks Jens Maucher, that solved my question.