Error Message while changing the Boot Loader
A boot Loader is a small and vital program that allows you to load the operating system in the computer´s memory. Most commonly used Linux boot loaders are Linux Loader (LILO), Grand Unified Bootloader (GRUB), and Tiny PIC. You can install and replace a new boot loader with a previously installed boot loader. However, you might receive an error message after installing a new boot loader. Such error messages won´t allow you to boot the operating system and make the data saved in the hard drive inaccessible. In such circumstances, you need to restore the inaccessible data from an updated backup. If there is no backup available or the backup has gone corrupt, you can still recover the lost data by using efficient Linux Data Recovery tools.
Consider a scenario where you have a pre-installed LILO boot loader and you decide to replace LILO with GRUB. To install GRUB, you type the following commands:
apt-get -t unstable install grub
grub-install /dev/hda5
When the installation process was in progress, you receive the below error message:
"Error 6: Mismatched or corrupt version of stage1/stage2"
After the above error message appears, the installation process gets halted. When you try to boot your system, it does not boot.
Cause:
The main cause of the above error message is that the install command is directed to corrupt versions of the stage1 or stage2. To prevent the occurrence of the above error message, you need to make sure that /boot/grub contains all the latest stage files. Stage files are found at /usr/lib/grub, and are synchronized with /sbin/grub.
Resolution:
To successfully boot the system and resolve the above error, you need to uninstall the GRUB boot loader by using the below command:
apt-get --purge remove grub
However, even after removing the non-functional GRUB boot loader, if the system remains unbootable, you need to reinstall the Linux operating system. A clean reinstall of the operating system will completely delet all the previously saved data from your hard drive. For absolute and orderly recovery of the lost files and folders, you need to use effective Linux Data Recovery application. Such recovery utilities incorporate advanced scanning methods to perform optimum recovery. These user-friendly Data Recovery Linux applications provide interactive and graphical interface with detailed documentation.
Stellar Phoenix Linux Data Recovery is the foremost Linux Recovery utility with a wide array of unique features. It supports Ext2, Ext3 and ReiserFS file systems. It gets installed on Windows (Vista, XP, 2003 and 2000) and the affected Linux hard drive is connected as slave. It supports SCSI, SATA, EIDE and IDE hard drives and efficiently works for Ext3 Recovery.