|
Home > Archive > Red Hat General > May 2004 > Boot Record Replacement
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Boot Record Replacement
|
|
| Ron Barry 2004-05-15, 6:34 pm |
| Greetings:
I will shortly have to re-install my MS Windows 98SE system, because of
some kind of curruption of system files (no great surprise, right?). I
have heard that when that action if performed, the boot record is
replaced. That means, if true, that I will somehow have to re-initiate
the current (Windows/Red Hat Linux 9) dual-boot capability. If it is not
true, then I guess I don't have anything to worry about. If it is true,
how do I go about it? I hope desperately, of course, that I can preserve
the existing Linux files in the process. Advice is sorely needed, and
will be much appreciated.
Best regards, Ron Barry.
| |
| Lenard 2004-05-16, 12:34 am |
| On Sat, 15 May 2004 22:32:00 +0000, Ron Barry wrote:
> Greetings:
>
> I will shortly have to re-install my MS Windows 98SE system, because of
> some kind of curruption of system files (no great surprise, right?). I
> have heard that when that action if performed, the boot record is
> replaced. That means, if true, that I will somehow have to re-initiate
> the current (Windows/Red Hat Linux 9) dual-boot capability. If it is not
> true, then I guess I don't have anything to worry about. If it is true,
> how do I go about it? I hope desperately, of course, that I can preserve
> the existing Linux files in the process. Advice is sorely needed, and
> will be much appreciated.
Yes it's true, Microsoft does not accept the fact that some other boot
loader may be installed and without warning or asking replaces the MBR is
replaced when installing any OS of their making. You have a number of ways
to recover;
Use your floppy boot disk and boot with it then as root reinstall the
Linux boot loader.
For GRUB type something like; grub-install /dev/hda For LILO type
something like; lilo -v
No Linux boot floppy create one; mkbootdisk 'uname -r'
You can also use your Installation CD and type 'linux rescue' without the
quotes at the menu screen, answer a few questions and read the displayed
screens. At the end they will tell you how to use the 'chroot' command, do
so then use the grub-install or lilo -v commands above.
See 'man grub-install', 'man lilo', 'man chroot', 'man mkbootdisk' and
'man uname' for the details.
--
"In short, without this exclusive franchise, called the Windows API,
we would have been dead a long time ago." M$ Senior VP Bob Muglia '96
| |
| chris@nospam.com 2004-05-16, 11:35 pm |
| On Sat, 15 May 2004 22:32:00 GMT, Ron Barry <barryrd@earthlink.net>
wrote:
>Greetings:
>
>I will shortly have to re-install my MS Windows 98SE system, because of
>some kind of curruption of system files (no great surprise, right?). I
>have heard that when that action if performed, the boot record is
>replaced. That means, if true, that I will somehow have to re-initiate
>the current (Windows/Red Hat Linux 9) dual-boot capability. If it is not
>true, then I guess I don't have anything to worry about. If it is true,
>how do I go about it? I hope desperately, of course, that I can preserve
>the existing Linux files in the process. Advice is sorely needed, and
>will be much appreciated.
>
>Best regards, Ron Barry.
If the W98 reinstall kills grub, you'll need to boot into rescue mode
with the RedHat CD. Here's the quick steps.
1. Boot from RH install CD.
2. Enter 'linux rescue' at the prompt.
3. Let it mount the existing partitions when prompted.
4. Once at a shell prompt, 'chroot /mnt/sysimage'
5. run 'grub-install /dev/hda' (subst device as needed).
-Chris
| |
| Ron Barry 2004-05-20, 8:34 pm |
| Thanks to all who offered advice as to how to deal with this problem. My
system is now back to normal.
Regards, Ron Barry.
|
|
|
|
|