[ltp] Re: how to restore original MBR and partition table
Elias Oltmanns
linux-thinkpad@linux-thinkpad.org
Fri, 11 May 2007 00:09:59 +0200
Hi Joe,
Joe Zien <jozien@comcast.net> wrote:
> I have a new IBM Thinkpad T60 Widescreen laptop that I dual boot
> with XP and Linux, it worked great booting XP or linux.
> I installed grub, the linux boot loader, in the MBR.
> Before I repartitioned the hard drive to install linux,
> I used the linux command "dd" to backup the MBR.
>
> I belong to a computer club that is 98% windows users and wanted to
> install linux on the club's laptop and to re-install the
> MBR as originally configured using "dd" but that corrupted the
> partition table,
>
[...]
> I just want to restore the XP partition table and MBR.
> Is that possible without wiping out the whole drive?
Get a KNOPPIX cd and read man gpart.
Regards,
Elias