LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2011, 11:27 AM   #1
bria
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
kernel line grub menu


I am trying to add a command to the kernel line at the grub menu.

The options I have at the menu are...

recordfail
insmod ext2
setroot='(hd0,1)
search __no_floppy __fs_uuid __set (lots of numbers etc)
cae
linux /boot/vmlinuz-2.6.32-21-generic root (lots of numbers) quiet splash
initrd /boot/initrd.img-2.6.32-21-generic

is any of this anything to do with the kernel line?

please help

thanks bria
 
Old 09-17-2011, 01:07 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 493
Blog Entries: 3

Rep: Reputation: 156Reputation: 156
For linux mint you can edit /etc/default/grub , look for the line that matches:

Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Add your options, for example:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=792"
Then simply run:
Code:
sudo update-grub
And reboot.


-------

P.S.

The line
Code:
linux /boot/vmlinuz-2.6.32-21-generic root (lots of numbers) quiet splash
...you can add options to the end of that (it is the kernel line), however when your kernel is updated by the package manager you will lose the settings if they are placed in here, if you want it to be persistant then edit the /etc/grub/default file.

Last edited by coralfang; 09-17-2011 at 01:08 PM.
 
Old 09-17-2011, 01:48 PM   #3
bria
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you coralfang I was tempted to add to quiet splash but I thought I should get some advice first.
 
Old 09-17-2011, 02:23 PM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 493
Blog Entries: 3

Rep: Reputation: 156Reputation: 156
You're welcome.

You may also find this this page useful when modifying /etc/default/grub
https://help.ubuntu.com/community/Gr...iguring_GRUB_2

Good luck.

Last edited by coralfang; 09-17-2011 at 02:24 PM. Reason: spelling
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 9.10 does not start after kernel selection from Grub menu jiteshdoshi Linux - Hardware 1 06-28-2010 04:44 AM
Why kernel didn't show in GRUB menu? yzhong Linux - Newbie 1 11-27-2008 06:31 PM
Kernel upgrades - impact on GRUB's menu.lst reverse Debian 2 11-02-2007 06:09 AM
Appending 'vga=0x317' to the kernel line in GRUB Ashrack Linux - Hardware 2 09-23-2007 10:07 AM
Trouble With GRUB menu.lst Locating Kernel agmorgan Linux - Newbie 4 04-11-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration