bug-grub
[Top][All Lists]
Advanced

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

Re: windows boot sector recover?


From: news
Subject: Re: windows boot sector recover?
Date: Thu, 25 Jul 2002 12:27:07 +0300 (EET DST)

Date: 24.07.02
Sender: Joseph Lorenzo Hall
Time: 18:44

> You need to zero out your windows boot sector and then sys c:
>
> I've written a web page about this since I did a similar thing:
> http://astron.berkeley.edu/~jhall/grub_install_hda1.html

I 'll try it *for sure* as soon as I get some time. But I have a couple of
questions to ask:

<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.

Just curious.



Thanks.


-- 
[ Quote #26 from groucho collection. ]

"I resign. I wouldn't want to belong to any club that would have me
as a member."




reply via email to

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