[Top][All Lists]

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

Re: [Bug-grub] Re: windows boot sector recover?

From: Jason Thomas
Subject: Re: [Bug-grub] Re: windows boot sector recover?
Date: Fri, 26 Jul 2002 09:14:11 +1000
User-agent: Mutt/1.4i

On Thu, Jul 25, 2002 at 12:27:07PM +0300, address@hidden wrote:
> <snip>
>  |1.Zero out MBR. (but not all of it!) You need to use 'dd' to erase the
>  |MBR. For my machine the command was:
>  |
>  |       dd if=/dev/zero of=/dev/hda bs=446 count=1
>  |
>  |       Why the 'bs=446'? Because the rest of your MBR holds the
>  | partition table for the drive... which you do not want to destroy.
>  | (note how 'hda' in this context refers to the MBR where, in general,
>  | 'hda' is the first hard drive in your system)
> </snip>
> Could the above trick solve my problem? I mean, if I have understood
> correctly, an "fdisk /mbr" replaces the MBR and destroys the partition
> table. Given the fact that the partition table on the MBR can be easily
> recreated by installing a boot manager (i.e. *BSD's), the above "dd"
> command would not help that much.

I think fdisk /mbr does not overwrite enough!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]