Powered By

Powered by Blogger

Tampilkan postingan dengan label recover. Tampilkan semua postingan
Tampilkan postingan dengan label recover. Tampilkan semua postingan

Kamis, 14 Oktober 2010

Grub Customizer 1.5 Released With Grub 2 Recovery Feature

Grub Customizer

Grub Customizer is a new graphical GRUB2 settings manager which we've told you about last week.

Immediately after we published the Grub Customizer article, a new version was released which added BURG support so if you've read that article as soon as we've posted it, you might have missed this feature.

Grub Customizer 1.5 which has been released today comes with a cool new feature: Grub recovery & configuration using a live CD:

All the file systems you need will be mounted after choosing the root partition and some sub partitions.

Version 1.5 also comes with a Grub install functionality and a new icon.

To install Grub Customizer 1.5, use the following commands:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Once installed, you can find it under Applications > System Tools > Grub Customizer.


Note: I did not test the latest Grub Customizer features as I don't need to recover Grub (fortunately).


If you prefer the command line way of fixing GRUB 2, see: How To Recover GRUB2.

Jumat, 11 Desember 2009

How To Recover GRUB2 [Linux]

Starting with Ubuntu Karmic, Grub2 is used (for clean installs for now), so THIS how-to on recovering the GRUB no longer works for the new GRUB2.

But recovering GRUB2 (after breaking the GRUB2 or installing Windows - which breaks GRUB2, etc.) is just as easy. Here is what you need to do

Note: This tutorial should work for any Linux distribution which uses GRUB2, not just Ubuntu.

You need a live CD of Ubuntu Karmic (Lucid will work too - or any other Linux distribution which uses Grub2) from which you need to boot. Once you boot to the LIVE CD, open a terminal an and type these commands:

a) Firstly, you need to find out on which partition your Linux system is installed:
sudo fdisk -l
(in my case, it's "sda1")

b) Now, we must mount this partition:
sudo mount /dev/sda1 /mnt
Where "sda1" is the partition where you installed Ubuntu (or any other Linux distro). It could be "sda5", "sda6", etc. for you.

c) Install grub to the partition you've mounted:
sudo grub-install --root-directory=/mnt/ /dev/sda


Important: Please notice that it's "/dev/sda", not "/dev/sda1". "sda" is the hard disk on which your Linux distribution is installed!

d) Restart your computer. As previous Grub2 entries are removed, run the following command to restore them:
sudo update-grub


Here is all the process (without step "d)" which takes place after restart) in a single screenshot:

how to recover grub2

And a final note: I have tested this in VirtualBox by breaking my GRUB2 and then mounting a Live Ubuntu CD and it all went very smooth.


[via mundogeek]



Message from Testking: No matter you want to get ccna or ccnp certification, we provide up to date resources to help you become networking expert in easy and fast way. Download the ccie questions to practice and pass real exam on first try guaranteed.