Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #3985: MBR Recovery

Written by SunilGhai the 9 Mar 08 at 15:46. Category: Accessibility. Related project: Nothing/Others. Status: New
Rationale
How about having a general application which would be able to recover the MBR, if it has been screwed by mistake. Many times, either during installation or incompatibility people (specially newbies) overwrite their MBR and end up wasting lot of time to recover their partitions. I would like to implement this, if it sounds good enough.

Tags: (none)

139
votes
closed
Solution #1: Auto-generated solution of idea #3985
Written by SunilGhai the 9 Mar 08 at 15:46.
Ubuntu Brainstorm was updated in January 2009. Since the idea #3985 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Eldmannen wrote on the 21 Mar 08 at 00:14
Yeah, In Windows they have a command-line tool called "fixmbr", we should have something equivalent.

ssducf wrote on the 24 Mar 08 at 13:04
Two issues....

Recovering boot portion of MBR. This is easy -- just reinstall grub or whatever boot loader you are using.

Recovering partition table -- this is harder, but already written. I thought it was part of gparted, but I couldn't find it last I looked. (I wrote a primitive one years ago and it is in the ext2 tools source last I checked.)

lore20 wrote on the 4 Oct 08 at 16:55
Yes but they'll have to:
1) Boot a live CD
2) chroot partition
3) sudo dpkg-reconfigure grub

It'll be useful to add a "small recovery" choose on live desktop cd, like the alternate cd recovery mode, to identify system partition and do those step automatically.

AleRi8 wrote on the 4 Oct 08 at 17:25
you can fix your mbr by booting the live cd open the terminal and typing in install grub hda0 or i think it is this one grub-install hda

i can't remember which one it is


Post your comment