-   Linux - Newbie (
-   -   Scientific linux grub file (

sanaz 09-21-2012 03:13 PM

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?


John VV 09-21-2012 06:16 PM

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"

sanaz 09-21-2012 06:51 PM

I'm sorry. I made a mistake. It's Fedora 17.

yancek 09-21-2012 11:22 PM

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.

syg00 09-22-2012 12:47 AM

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

grub2-mkconfig -o /boot/grub2/grub.cfg
Read the wiki (noting all caveats), and also take note of my sigline.

All times are GMT -5. The time now is 06:45 PM.