Back up the Master Boot Record
Replace /dev/sda with your device (if you don’t know which device your system is on, you can open the KDE Partition Manager in the System folder of the menu, look at a list of your devices, and then close the program) and /path/filename with the path and filename of the file you want to create.
- Back up the MBR:
- Restore MBR:
dd if=/dev/sda of=/path/filename bs=512 count=1
dd if=/path/filename of=/dev/sda bs=512 count=1
Obligatory Happy Ending
And they all lived happily ever after. The end.