Saving the MBR by "dd"?

Christoph Georgi christoph.georgi at web.de
Fri May 13 08:30:11 UTC 2005


To save the MBR:
dd if=/dev/hda of=<somefile> bs=512 count=1

(of stands for "outfile" so you can specify any file)

As usually: google's your friend :)

.christoph

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
> 

-- 


Christoph Georgi
-----------------------------
email.  christoph.georgi at web.de
fon.	+64 (0)9 815 8259

registered linux user #380268
ubuntu 5.04 (ubuntu.com)




More information about the ubuntu-users mailing list