LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-11-2003, 01:47 PM   #1
hoffman
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Redhat 9
Posts: 43

Rep: Reputation: 15
Booting from Grub XP/RH9


I'm using grub for dual booting of XP/RH9. I got it all configured and working over a few days and nights (I'm a SUPERNOOB).
It works great but when booting it prompts Rh and DOS with RH as the default. I should have set it up better but I wasn't even sure it was going to work after about the 3rd try at loading both systems. I want the prompt to read: Windows XP and Redhat 9 and I want XP as the default. Not a big deal but my wife and kids use XP.
I searched and found that I need to:
edit the /etc/grub.conf file.

Change this line:
title DOS
to
title Windows XP

How do I get to the /etc/grub.conf file and how do I save the changes? I'm very new at linux and I don't want to wipe out all this work.

Also how do I change the default OS. (I'll probably figure it out but I want to fix the name first).

I'm using RH and Mozilla now and I think I'm gonna like it...
Thanks
 
Old 11-11-2003, 02:08 PM   #2
R. X. Rolaveric
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
You can get to /etc/grub.conf as any user, but you can only edit it as root.
Just type '/etc/' into a file brower, like Nautilus if you use Gnome.
Scroll down, find grub.conf, right click on it and open it with a text editor, any old text editor, doesn't really matter, just as long as your logged in as root when you use it.
From there you should easily be able to work out the format for each boot entry.
 
Old 11-11-2003, 02:29 PM   #3
hoffman
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Redhat 9
Posts: 43

Original Poster
Rep: Reputation: 15
OK I'm getting a feel for it...
Nautilus says "no installed viewer for this file" so I can't get into it even logged in as root.
 
Old 11-11-2003, 09:15 PM   #4
Frodak
LQ Newbie
 
Registered: Jul 2003
Distribution: Redhat 9
Posts: 12

Rep: Reputation: 0
I had to do the same thing when I insalled RH9, but didn't want the kids to worry about getting into XP.

However when I installed RH9 with grub it put the conf file at /boot/grub
The file I edited was grub.conf.

I opened up a terminal went to /boot/grub
used su to become root and then used vi to edit the file

I also added the following lines to mine:
default=3
timeout=10
hiddenmenu

this had the effect that XP would start in 10 seconds after booting unless the ESC key was hit and you would never actually see the menu.

:-)
Frodak
 
Old 11-11-2003, 09:41 PM   #5
x4n0b1
Member
 
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
seems that you're 'really' not familiar with linux

i presume you're using kde, gnome would be not far diff
this is not a clever suggestion, but i still have time to just type
log as root
open a gui-based text editor (u don't seem to quite understand the cli),
my favorite is kate (in your kde menu, go to accesories, there u find something named *text editor* , kate, kwrite or whatever)
once you get to it, open file /boot/grub/grub.conf . it's not hard, very windoze feel to open file.
there go you go, edit what ever u want, save and run grub-install command line in /sbin

if you don't have a gui text editor, open terminal, goto /boot/grub/,
type vi grub.conf,
hit i to enter insert mode
edit what ever you want
hit esc

type ':wq'
and install your grub.
fuhhh i feel idiot writing this

also check 'info grub' for better info
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
GRUB stalls on RH9 dual booting XP paul1892 Linux - Newbie 3 01-02-2005 08:52 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM
GRUB: Booting RH9 and Debian General_Tso Linux - General 4 07-12-2003 10:24 AM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM

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

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