Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Sunday, November 6, 2011

boot-repair-ubuntu

Source
There can be many occasions a boot loader can be "corrupted"... say due to a virus attack or while trying to install/reinstall a boot loader or can occur after using a disk repair app in GNU/Linux (yes, it's possible) . When it comes to GRUB, in GNU/Linux you can install/reinstall GRUB loader without any GUI, even if your GNU/Linux PC Laptop is un-bootable, as long as you have the Live CD, etc you can use a command called "grub-install".

But then again, when you have an excellent grub installer GUI, why the heck u wanna do that! :). Sorry to drag you along with all these "related" details (just kinda felt like writing em)... if you want to easily control your GRUB boot loader in Ubuntu, then there is an excellent, GTK written GUI called "Boot-Repair".


 
This "window" is not available for those of us who use the original, official Ubuntu LiveCD... thus once installed and run we should be prompted by the below one instead...  
Main features...
*. Recover or Repair your Grub code in MBR when you can't even boot your OS.
*. Repair it within the OS (you know, even if you removed your boot loader, as long as you don't reboot your PC, you're gonna be fine, for a while :P)
*. Reinstall the loader.


*. Change the location of the GRUB installation (you know, installing it into an another HDD, etc).
*. Restore the original boot sector.
You can install the magnificent :D Boot-Repair in Ubuntu 11.04 Natty Narwhal, 11.10 Oneiric Ocelot, 10.10 and 10.04 by entering the below command in your Terminal.
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair-ubuntu
How the heck can I use it if I can't boot into my Ubuntu desktop WellUse your Live CD or Live USB... boot into your desktop using those media and simply instal the Boot-Repair using the same command. Or I think you should be able to run it in the "/usr/bin" directory if no internet connection is available. In that sense, we can actually create a Linux recovery disk/LiveCD by using this app that should help to access/recover our data without even losing a single byte! :D. Good luck.

Oh, I should be thankful to this awesome Ubuntu forum thread for this app news as well :).

1 comment:

Yann said...

THANKS for this article.

One point to update please: the package to install is now "boot-repair" instead of "boot-repair-ubuntu".
More information at: https://help.ubuntu.com/community/Boot-Repair

Keep up the good job !