LinuxQuestions.org
Review your favorite Linux distribution.
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 09-02-2003, 04:10 PM   #1
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Rep: Reputation: 15
Question Boot Loader Question ?


hi there i'm using redhat 8 dual booted with win98 and winxp
but when something goes wrong, and i install or format the win98 or winxp, the windows changes the MBR so the Grub bootloader
won't start, so i need to install redhat from the beginning

and when i try to only modify the redhat installation and make a new boot loader configuration without installing more packages i get a message at the end of installation saying : "(u didn't install any kernel packages so ure boot loader configuration isn't changed), and it dosen't write the bootloader in the MBR, so i have to install the redhat and format from the beginnning
thats such a mess can some one tell how to make a new boot loader configuration without losing my redhat ?


sorry for the annoying long post
 
Old 09-02-2003, 04:24 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just boot with CD1 - at the"boot:" prompt type "linux rescue". Once thce system has booted then chroot to your real system:
chroot /mnt/sysimage

Then resintall grub on the mbr:
/sbin/grub-install /dev/hda
 
Old 09-02-2003, 04:24 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Download a Rescue CD that includes GRUB. There are plenty out there, like KNOPPIX.

After you install Windows, boot into the recovery disk and reinstall GRUB (or LILO).


You may be able to do this from the Redhat CD.
 
Old 09-02-2003, 04:40 PM   #4
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
thanx guys , but what if i install the boot loader on the first part of root partition ?
whats the difference?

i have primary master (40gb for windows)
secondry master (20gb for linux)

so when i install bootloader on MBR , and i want for example to remove the 20gb and place a normal fat hd to exchange some stuff with my friend, i get that the boot loader doesn't start cuz the linux partion is removed


so if i install the grub on on 20gb, would i be able to remove the 20 gb and then hook up my friend's hd ??

thanx for any help
 
Old 09-02-2003, 04:43 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Why not make linux the master?
 
Old 09-02-2003, 04:46 PM   #6
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
sorry
but what do u mean
?
 
Old 09-02-2003, 04:53 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Right now you have:
primary master = 40gb for windows
secondry master = 20gb for linux

Why not have:
secondry master = 40gb for windows
primary master = 20gb for linux

This will let you keep the windows bootloader in tact so it can be made master if needed yet still use grub to chainload windows while the linux disk is the master.
 
  


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
A Boot loader question rdabra General 4 09-30-2005 10:21 AM
Boot Loader question Tavy *BSD 3 11-07-2004 01:08 PM
boot loader question ronin4601 Linux - Newbie 5 04-21-2004 02:35 AM
Boot loader question - keep the same one? claudius753 Linux - Newbie 1 02-22-2004 08:14 AM
Boot Loader Question rootlinux Linux - General 1 04-03-2002 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 AM.

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
Open Source Consulting | Domain Registration