Saving the MBR by "dd"?

Frank Schafer frank.schafer at t-systems.cz
Fri May 13 08:14:28 UTC 2005


The MBR is one record (one block or sector regarding to the disk)

I think the block size of one sector is the default to ``dd''. If you
want to be sure

``dd if=/dev/hdx of=BMR bs=512 count=1''

should do what you need.

Regards
Frank

On Fri, 2005-05-13 at 09:39 +0200, Peter Baumgartner wrote:
> Hi,
> this is a question to the more experienced users:
> I have a triple boot machine (XP on hda1, FC3 on hda5 and hoary on hda6 
> + /documents on hde). The XP is my playground ;-) and is getting 
> terribly slow, so I would like to re-install it. Because the GRUBs of  
> ubuntu and Fedora Core seem not to understand each other (are they 
> talking different languages??), I had to manually edit the "menu.list" 
> to get it working. To overcome the well known "advantages" of Windoze in 
> respect of the MBR I want to save it before the Win$ installation and 
> re-write it by "dd".
> What parameters do I need ( BS=?   length=?)? Can anybody help me with this?
> Thanks in advance
> 
> Peter
> 




More information about the ubuntu-users mailing list