Eric at on 12 Jul 2013 14:22:22 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] repair MBR

Hash: SHA1


I've run into the same problem a couple of times in the last decade :-)
You have to boot the system from a live CD/DVD and run a special grub command.
Grub will then re-write the MBR so that the grub boot process knows where to
find the boot partition that has the grub files.

I never remember this procedure - I just google for it on the rare occasions
that I need it.  That is so much rarer now that I run Windows Server 2003 in
a VirtualBox VM for my occasional Windows needs.

Also, you may call the partitions sda1 and sda2 but if there are two Windows
partitions in "front" of them on the hard disk then it's likely the system
will label them sda3 and sda4.  That means your /etc/fstab may be wrong at boot time.
Adjust accordingly.

Good luck.


On 07/12/2013 04:53 PM, Christopher Ochsenreither wrote:
> Hi all,
> I had Windows 7 and Ubuntu installed on a single hard drive. I removed the Ubuntu partitions and grub2 partition and moved the Windows recovery partition forward followed by the Windows 7 partition. I then deleted the partitions, which were named sda2 and sda3 and created partitions sda1 and sda2 over the same blocks of the hard drive. Now when I boot the computer it gives a prompt GRUB Rescue > or something like that (I'm not at work right now).
> Should I just move the partitions back and re-install grub2 or should I use another MBR repair disc? Our outsourced IT company wants to charge us $210 on top of their service visit fee to re-install windows.
> I'm 99.9% sure that the NTFS Windows 7 partitions are fine.
> Thanks, Chris
> ___________________________________________________________________________ Philadelphia Linux Users Group         -- Announcements - General Discussion  --

- -- 
#  Eric Lucas
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --