LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub Configration (https://www.linuxquestions.org/questions/linux-newbie-8/grub-configration-43848/)

kashif 02-03-2003 01:57 AM

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

Dark_Helmet 02-03-2003 02:04 AM

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.

kashif 02-03-2003 02:10 AM

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

Dark_Helmet 02-03-2003 02:19 AM

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.

lynch 02-03-2003 04:44 AM

Try this:
less /etc/lilo.conf
lynch


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