Tag Archives: mbr

Backing up the bootsector

Afraid you might mess up your MBR? Back up the bootsector: dd if=/dev/hda of=bootsector.img bs=512 count=1 If anything goes wrong, you can boot from a LiveCD and restore the bootsector with dd if=bootsector.img of=/dev/hda

Restore GRUB after installing Windows

Whenever you reinstall Windows with an existing Linux installation already present on the hard drive, the MBR gets an overwrite. You can restore GRUB to the previous settings by booting a Linux Live CD and following the steps below: 1. Insert the Live CD and reboot your computer; 2. After reaching the desktop, open up… Read More »