Reinstaling Grub for Dual Boot After Reinstallation of Windows
Finally back to technical stuff. Dual boot is very common these days with people having Linux and windows both at the same time unleashing the power of both the OS at the same time. If something goes wrong with Linux, then its pretty straight forward. Re-installation does the work automatically. But when the windows goes wrong, then is something problematic. So, how to preserve the linux when windows is re-installed? To know how to do this, you need to first understand whats happening with your system during the whole process. When Linux is installed as a dual boot on windows, some boot loader is installed to support both the operating systems. So, the Master Boot Record(MBR) is re-written to point to the linux boot loader(LILO or GRUB) when the Linux is installed on top of windows. Windows is booted as chainloading process. Now, when you re-install the windows, the MBR is written by windows to directly boot the windows. So, despite that you have all the settings preserved for linux bo...