LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-21-2012, 03:13 PM   #1
sanaz
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
Scientific linux grub file


Hi all,

I'm new to linux and I'm trying to enable serial console to my grub file(console=ttyS0). I was looking for grub.conf but the only thing I have is /etc/grub2.cfg.

Is there any body who knows where should I add it?

Thanks

Last edited by sanaz; 09-21-2012 at 06:50 PM.
 
Old 09-21-2012, 06:16 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
what version of ScientifisLinux??
on MY install of SL6.3 64 bit install i have "/boot/grub/grub.conf" and a link to it called "menu.lis"
 
Old 09-21-2012, 06:51 PM   #3
sanaz
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
I'm sorry. I made a mistake. It's Fedora 17.
 
Old 09-21-2012, 11:22 PM   #4
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,122

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Fedora 17 installs Grub2 by default but also has the Grub legacy files. You should have both a /boot/grub and /boot/grub2 directory. If you don't see either then you did not install Grub or else the installation did not complete properly. The grub.conf file was used with earlier versions of Fedora which used Grub Legacy.
 
Old 09-22-2012, 12:47 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,504

Rep: Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079
A clean install of F17 will have the grub files under /boot/grub2 - grub.cfg being of the most interest (/boot/grub has only the splash.xpm.gz).

To answer the question posed, update the GRUB_CMDLINE_LINUX in the file /etc/default/grub, then run
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
Read the wiki (noting all caveats), and also take note of my sigline.
 
  


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
Here is a Scientific Linux Kickstart file for minimal installs szboardstretcher Linux - Server 0 09-13-2012 10:44 AM
MPI programs freeze when accessing MPI shared file on Scientific Linux 6 Pizzicato Linux - Software 0 08-29-2012 08:41 AM
Scientific linux - how-to? arunagiri Linux - Newbie 8 04-27-2011 05:52 PM
Scientific Linux kujirasan Linux - Distributions 3 10-29-2007 02:25 PM
Scientific Linux khaleel5000 Linux - General 2 10-18-2006 10:00 AM


All times are GMT -5. The time now is 05:38 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration