Problematic dual boot

Eberhard Roloff tuxebi at gmx.de
Wed Mar 18 11:26:34 UTC 2009


Eberhard Roloff wrote:

> No need to reinstall Kubuntu. Just save your mbr BEFORE you reinstall 
> windows. You can do it like this:
> if=/dev/sda1 of=sda1_bootsector bs=512 count=1
> 
> Then reinstall Windows which will recklessly overwrite the MBR.
> 
> Finally save the then existing Windows-MBR (just to be safe) and play 
> back the original MBR, that you saved before installing Windows.

sorry I forgot:
For restoring your mbr, reverse the save procedure, like this:

dd if=sda1_bootsector of=/dev/sda1 bs=512 count=1

Actually afaik, bs and count parameters are not really needed for 
restore since the saved mbr will not be larger than you specified at 
save time. I just routinely add those parameters to better memorize, 
what to do.
> 
> For the last two steps you will most probably a Boot CDRom.
> 
> Have some fun
> 
> Eberhard
> 
> 





More information about the kubuntu-users mailing list