Thursday, January 14, 2010

Changing the boot loader and Error message

A boot Loader allows us to load the operating system in the computer’s memory. Linux Loader (LILO) is the Most commonly used Linux boot loaders other popular boot loaders are Grand Unified Boot loader (GRUB) and Tiny PIC. We can install and replace a new boot loader with the pre installed boot loader. However, we may sometime get an error message after installing a new boot loader device. These messages won’t allow you to boot the operating system and make the data saved in the hard drive very Difficult to access or in accessible. In such circumstances, you need to restore the inaccessible data from backup. If there is no backup available or the backup is also corrupted, in such a situation you can still recover the lost data by using efficient Linux data recovery tool.

Consider a scenario in which LILO boot loader is pre-installed and have decided to replace LILO with GRUB. To install GRUB, Following commands are to be typed:

"apt-get -t unstable install grub
grub-install /dev/hda5"

When the installation process was in progress, you will receive the following error message:

“Error 6: Mismatched or corrupt version of stage1/stage2”After the display of the error message, the installation process gets halted. When you try to boot your system, it fails to do so.

Cause:
The main reason behind this error message is that the install command is directed to corrupt versions of the stage-1 or stage-2. To prevent the occurrence of
the error message, you need to make sure that boot grub contains all the latest stage files.

Resolution:
To boot the system successfully and resolve the above error, you need to uninstall the GRUB boot loader through the following command:

"apt-get –purge remove grub"

However, even after doing so , if the system remains unbootable, you have just the option of reinstalling the OS. A clean reinstall of the operating system will completely delete the previously saved data from your hard disk. For full recovery of the lost files and folders, you need to use effective Linux Data Recovery application. Such recovery utilities have advanced scanning methods to perform full recovery. These user-friendly Data Recovery linux applications provide interactive and User interface with detailed documentation.

0 comments: