LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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 05:50 PM.
 
Old 09-21-2012, 05:16 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 05: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, 10:22 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
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-21-2012, 11:47 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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



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 09:44 AM
MPI programs freeze when accessing MPI shared file on Scientific Linux 6 Pizzicato Linux - Software 0 08-29-2012 07:41 AM
Scientific linux - how-to? arunagiri Linux - Newbie 8 04-27-2011 04:52 PM
Scientific Linux kujirasan Linux - Distributions 3 10-29-2007 01:25 PM
Scientific Linux khaleel5000 Linux - General 2 10-18-2006 09:00 AM

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

All times are GMT -5. The time now is 11:18 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
Open Source Consulting | Domain Registration