LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-03-2003, 01:57 AM   #1
kashif
LQ Newbie
 
Registered: Jan 2003
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Grub Configration


Hi!

I am using Red Hat linux 7.3 along with Windows XP. While Installing I selected the GRUB bootloader and the boot image in MBR. I would like to know a few things

1. How can I configure grub menu e.g. It has linux as default OS and I want to switch to XP.

2. How can I switch to lilo since I found it easier to configur with liloconf
 
Old 02-03-2003, 02:04 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Grub default

If you look at your grub.conf file, you'll see a line like:

default 0

If your grub.conf file has multiple operating systems listed, GRUB numbers them as they appear, starting from 0. On my system, I have two Linux images I can load, and my Win2k partition. Win2k appears last, and that means GRUB considers it #2. So to set Win2k as my default, I'd change the default line above to:

default 2

Piece of cake. As for lilo, I'd have to read up on it bit. I think all you need is a proper LILO configuration file, and then to run:

/sbin/lilo

DO NOT take my word on that though. Read the man page to double-check me.
 
Old 02-03-2003, 02:10 AM   #3
kashif
LQ Newbie
 
Registered: Jan 2003
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
Thanx Chris for your prompt response.

for the lilo part when I issue the command liloconf while logged in as root bash displays that lilo.conf file was not found. so is there any sample file available
 
Old 02-03-2003, 02:19 AM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
LILO Mini-Howto

I don't want to give you bad information, so I'll give a cop-out and point you to the LILO mini-How-To. It gives a simple configuration file you can probably massage to fit your needs.

LILO Mini-How-To

If you're just chomping at the bit to get going, the configuration file example is in section 3 of the how-to.
 
Old 02-03-2003, 04:44 AM   #5
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
Try this:
less /etc/lilo.conf
lynch
 
  


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
Pam configration hassan2 Suse/Novell 0 08-01-2005 06:19 PM
samba configration Bl@ck_Comb Linux - General 2 01-23-2004 10:56 PM
How to change X configration on alinux machine siddz777 Linux - Laptop and Netbook 1 09-29-2003 10:14 PM
problem with SSI configration on apache 2.0 garfield Linux - Newbie 0 10-12-2002 05:32 AM
pop3 and imap configration tarak4u Linux - Networking 1 05-29-2002 04:54 AM


All times are GMT -5. The time now is 10:24 PM.

Main Menu
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