I broke it! How can I fix it?

Tony Alfrey tonyalfrey
Fri Sep 28 17:09:47 PDT 2007


Lonni J Friedman wrote:
> On 9/28/07, Tony Alfrey <tonyalfrey at earthlink.net> wrote:
>> C M Reinehr wrote:
>>
>> <snip>
>>> Rick,
>>>
>>> Read the instructions about chainloading an o/s & install grub to the MBR.
>>> BUT, make a copy of the MBR with dd and you will be able to restore it if you
>>> don't like the results.
>>>
>>> cmr
>> Can you please explain this?  How does one duplicate this - some blocks
>> on a hard drive -  without a file name?  How does one know which blocks
>> contain the MBR?
> 
> Well Google could tell you.  Or off the top of my head something like:
> dd if=/dev/sda of=/tmp/mbr bs=512 count=1
> 

That works great!  Thanks!
It turns out that it *is* also on Google.


More information about the Linux-users mailing list