Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th May 2005, 11:59 AM
I-1 Offline
Registered User
 
Join Date: May 2005
Location: The Netherlands
Posts: 81
apending "/boot/grub/grub.conf" file // need some help...

Hi,

as a few allready know I am busy with setting up a MythTV box.
now I using this guide:
http://wilsonet.com/mythtv/fcmyth.php

In that guide in chapter 10 this piece of text is stated:
Quote:
We're going to make little modification to the kernel boot line in your grub.conf file that should force the ivtv frame buffer to load on /dev/fb1, as well as allow the ivtv-fb module to be loaded and unloaded. Without doing this, unloading the ivtv-fb module would probably crash your system. To the end of all 'kernel /vmlinuz...' lines in /boot/grub/grub.conf, append 'vga=791', then reboot your system. This tells the kernel to load a frame buffer for your video card at 1024x768, 16-bit color. I use this all the time myself, simply so I can see more when I'm not in X. I'd always done this on my 350-equipped box without even thinking about it, which could explain some of why I've not run into some of the problems other folks have...
Now this is an output of my "/boot/grub/grub.conf" file:

Code:
[root@MythTVBOX /]# more /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,0)
#          kernel /vmlinuz-version ro root=/dev/hdb2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_14.rhfc3.at)
        root (hd1,0)
        kernel /vmlinuz-2.6.10-1.770_14.rhfc3.at ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.10-1.770_14.rhfc3.at.img
title Fedora Core (2.6.11-1.14_FC3)
        root (hd1,0)
        kernel /vmlinuz-2.6.11-1.14_FC3 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.11-1.14_FC3.img
title Fedora Core (2.6.9-1.667)
        root (hd1,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-1.667.img
[root@MythTVBOX /]#
I know I can edit thid with VI but I don't understand where I need to put the 'vga=791' part.

Can someone help me?

Thanks,
__________________
--------------------------------------------------------
Still a n00b on Fedora...but I will get there with your help...
Thanks for making this forum available!!!
Reply With Quote
  #2  
Old 4th May 2005, 12:49 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
Quote:
[root@MythTVBOX /]# more /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_14.rhfc3.at)
root (hd1,0)
kernel /vmlinuz-2.6.10-1.770_14.rhfc3.at ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.10-1.770_14.rhfc3.at.img

change to this
Quote:
[root@MythTVBOX /]# more /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_14.rhfc3.at)
root (hd1,0)
kernel /vmlinuz-2.6.10-1.770_14.rhfc3.at ro root=LABEL=/ vga=791
initrd /initrd-2.6.10-1.770_14.rhfc3.at.img

That should do the trick

also you can remove the oldest kernel
list em out with
Code:
 rpm -q kernel
then remove with this
Code:
 rpm -e kernel-2.6.9-1.667
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #3  
Old 4th May 2005, 12:55 PM
I-1 Offline
Registered User
 
Join Date: May 2005
Location: The Netherlands
Posts: 81
Hi,

So I can just remove this:
Code:
rhgb quiet
Where is "rhgb quiet" for anyway?

Thanks,
__________________
--------------------------------------------------------
Still a n00b on Fedora...but I will get there with your help...
Thanks for making this forum available!!!
Reply With Quote
  #4  
Old 4th May 2005, 01:01 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
redhat graphical boot
the splash screen durring your boot

when you make your change you want o make a back up as well like so
Quote:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_14.rhfc3.at)
root (hd1,0)
kernel /vmlinuz-2.6.10-1.770_14.rhfc3.at ro root=LABEL=/ vga=791
initrd /initrd-2.6.10-1.770_14.rhfc3.at.img
#------- In case I screw up---------------
#kernel /vmlinuz-2.6.10-1.770_14.rhfc3.at ro root=LABEL=/ rrhgb quiet
#initrd /initrd-2.6.10-1.770_14.rhfc3.at.img
so if the system hangs when it boots you plop in the rescue CD mount your install and edit grub.conf
by putting the # symbol infront of the offending kernel line
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #5  
Old 4th May 2005, 01:11 PM
I-1 Offline
Registered User
 
Join Date: May 2005
Location: The Netherlands
Posts: 81
Hi,

Thanks for your answer ...I have 2 more questions,
When I remove "rrhgb quiet" it will not show me the graphical boot anymore right?
Is there a way that I still see the splash screen durring my boot TOGETHER WITH the vga=791 option?
Or am I totally talking crap here?

And when my system gets screwed up...
1)I know where I can download the rescue CD
2)I DON'T know how I mount my install as you stated:
Quote:
plop in the rescue CD mount your install
How do I do that?

Thanks for your answers,
__________________
--------------------------------------------------------
Still a n00b on Fedora...but I will get there with your help...
Thanks for making this forum available!!!
Reply With Quote
  #6  
Old 4th May 2005, 01:27 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
not sure if you can use the rhgb && vga=791 tiogether try it and see what happens

as for rescue

put in the linux rescue CD
at the command promt type
Code:
 linux rescue
answer yes to the questions
once it finds your system install
you want to mount it
Code:
 chroot /mnt/sysimage
you now have control of your system
Code:
 vi /boot/grub/grub.conf
make your changes
type exit and 3 finger salute it ALT-CNTL-DEL
then try again
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
Reply

Tags
apending, file, or or

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing "grub.conf" file ! jce2005 Using Fedora 3 6th June 2008 05:13 AM
Dual Boot: GRUB boots Fedora drive for "Other" Kyuzo Using Fedora 2 1st April 2008 01:35 AM
GRUB Raid0 & Install "grub hard disk error" synic Installation and Live Media 7 24th February 2008 10:45 AM
editing the /boot/grub/grub.conf file Debaser13 Using Fedora 10 10th June 2005 05:40 PM
NT-Loader causes "GRUB " screen - how to move the /boot partition? UserName00 Installation and Live Media 1 29th January 2005 06:52 PM


Current GMT-time: 07:21 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat