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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-01-2003, 04:22 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Rep:
|
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.
Thanx
James
|
|
|
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:
|
in /boot/grub/grub.conf, set
default=1
assuming
you have Win2000 is the second in the list of OS entries listed in grub.conf.
|
|
|
09-01-2003, 06:18 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
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
Cheers
James
|
|
|
09-01-2003, 06:51 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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?
|
|
|
09-01-2003, 07:46 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
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.
Cheers
James
|
|
|
All times are GMT -5. The time now is 12:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|