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 12-23-2003, 11:30 AM   #1
NewBBB
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Rep: Reputation: 15
boot manager


When I installed Red Hat and started my computer I had the option of choosing between booting windows or red hat. I now formated my drive on which I had windows and installed Windows 2003 Server. When I start my computer now, I don't have the option anymore to boot Red Hat it just goes into Win2003. What can I do?

Thanks
 
Old 12-23-2003, 11:36 AM   #2
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
This is because Windows writes a sector of the HDD that is called the Master Boot Record (MBR) that has the boot loader. All you need to do is to boot with your redhat CD and enter the restore mode, there should be a command like restorembr that will simple re-install grub. What did you use?, grub or lilo?

This is a very well documented problem, for it's very common, search in RedHat's installation guide, there should be an easy-redhat-specific solution.
 
Old 12-23-2003, 11:37 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,812

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Did you create a boot floppy during the install? If so, then boot RH and then reinstall grub using;
grub-install

Assuming that W2003 server is on the same partition as windows no changes should be required for grub.

If you do not have a boot floppy then boot the install CD and select recovery mode. Your root partiton should be mounted to /mnt/sysimage.
Then do the following commands:
chroot /mnt/sysimage
grub-install
 
Old 12-23-2003, 01:38 PM   #4
NewBBB
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I put in my boot disk went into the recovery mode, and mounted my root partition to /mnt/sysimage. Then it leaves the setups and I end up in somethign that looks liek dos again. I entered chroot /mnt/sysimage, and rebooted my computer and it still didn't work.
 
Old 12-23-2003, 01:45 PM   #5
NewBBB
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Original Poster
Rep: Reputation: 15
and I did the grub install
 
Old 12-23-2003, 03:57 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,812

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Try
grub-install /dev/hda
 
  


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
Smart Boot Manager wont boot dos on logical part. AlanL Linux - Software 5 09-01-2005 12:25 AM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
windows2000 boot manager (boot.ini) Thomas_Delrue Linux - Newbie 6 08-31-2004 11:18 AM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 09:14 PM
Boot manager to boot CD's from floppy Excalibur Slackware 2 07-05-2002 08:10 AM


All times are GMT -5. The time now is 04:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration