LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-31-2008, 10:54 AM   #1
SGlassman
LQ Newbie
 
Registered: May 2007
Posts: 23

Rep: Reputation: 15
MBR Fix when Rescure Disk Not Available


Hello Forum,

Just out of curiousity and being somewhat new to the Linux world, I was wondering if there is a way to fix a corrupt MBR if rescue disk is not available. I'm asking because I'm gearing up for the RHCT and in the long run the RHCE. I'm utilizing a book to supplement my learning. It does list how to use the linux rescue and grub-install. What I'm trying to find out is if there are other ways of fixing an overwritten MBR.

Thanks again!

Cheers :-)
 
Old 07-31-2008, 11:07 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
while you should be abble to reinstall the bootloader from the system without a rescue disk, how would you boot it if the MBR is messed up? I think you would need some type of 'rescue disk' though it could be just about any live cd or even a thumb drive. If the system boots up by itself then yes you can fix it without any kind of disk.
 
Old 07-31-2008, 02:20 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I assume you are referring to situations using GRUB or LILO. GRUB is by far more common, and is used by RedHat.

To install GRUB, you have to have GRUB!! ("Fixing the MBR" means to put a version of GRUB Stage 1 into the MBR.)
There are tow methods to install GRUB: "grub-install", or opening the GRUB shell, and entering some commands. (Most docs I have read recommend the latter.)

See the link in my sig for many gory details.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can Knoppix fix the MBR for a Linux partition? joshknape Linux - Newbie 2 03-06-2006 11:38 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
How to fix MBR? snakeo2 Linux - Newbie 1 03-20-2005 04:59 PM
Fix corrupted MBR on dualboot Machine Jingle Linux - Software 12 07-10-2004 03:13 PM
Can anyone help me to fix my mbr? Thug21 Mandriva 19 05-10-2004 09:26 AM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration