Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-01-2003, 04:22 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
How to change default boot for Grub?

Hi all
i was just wondering how could I change the default boot for Grub boot loader.

Currently I have 3 systems on my computer
o Redhat 8
o Win2000 Server
o Win2003 Server

The default boot has been set to be win2003 server when I first installed Redhat 8. I want to change the default boot to win2000 Server. How would i do that?

Any suggestions would be greatly appreciate. Any Links will be very welcomed.


Old 09-01-2003, 04:27 AM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
in /boot/grub/grub.conf, set



you have Win2000 is the second in the list of OS entries listed in grub.conf.
Old 09-01-2003, 06:18 AM   #3
LQ Newbie
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanx mate
Got it working now.

Would anyone also be able to explain exactly how a computer boots?

I know that there is something called the master boot record and that should be on the harddisk somewhere right? where is it on the harddisk exactly, i mean what cylinder and what sector is it on? And say if i am to write a boot loader program, how would i do it (just out of interest)?

This is how I think it works. When the computer boots, it checks the master boot record on the harddisk and decide where to boot next? The next step would probably be that the computer boots up GRUB (the boot loader). Then from GRUB we can choose to boot our chosen operating system.

The thing that i am confused about is, Doesn't window usually overwrites the master boot record? If so, then how come my computer still boots properly after i installed windows on a machine that already has grub and linux running on it?

I am confused. Please shed some light on this


Old 09-01-2003, 06:51 AM   #4
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
it's at the very very start of the drive, before the partitions. You really can't ask "how do i write a bootloader" though, that's nuts....

windows will usually overwrite the MBR never know it not to do that, what version are you using?
Old 09-01-2003, 07:46 AM   #5
LQ Newbie
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
This is my installation procedure

I installed my win2003 server first, because from pass experience i know that windows overwrites the MBR. Then i installed Redhat 8.0 with grub. All that worked fine. The only thing is that there are certain things such as my printer which is not supported on win2003 server (I was just trialing win2003 server).

So then i decided to reinstall my older win2000 server which runs every piece of hardware i have. I would have thought that the MBR gets overwritten, but it didn't, and now i have a working system with triple boot. LOL

Just wanted to know the procedure of the boot process.




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
change default OS to boot from grub bootloader. trempel Ubuntu 5 05-27-2005 08:20 PM
Change Default Boot from GRUB lel800 Red Hat 14 08-25-2004 01:32 AM
Grub: Change Default Boot Entry luwigie Linux - General 4 08-22-2004 02:17 PM
How to change default OS in Grub dual boot screen vipin_mittal Red Hat 1 05-29-2004 08:26 AM
How do you change the default Boot-up OS in Grub? buckwheat12 Fedora 3 05-08-2004 03:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration