How to install gpart in Ubuntu Live CD

This tutorial is on installing gpart in Ubuntu Live CD because when you have to use gpart it's basically to rescue an existing Ubuntu or Windows installation which has to be done via Live CD.

1) Download and burn Ubuntu Live CD

The first step is to get the latest Ubuntu Live CD (if you don't already have) from the official download page;

http://www.ubuntu.com/download/desktop

Choose the architecture of your system and click on the big download button.

It's safer to choose 32 bit as it'll work on most systems

Refer to the instruction on the Ubuntu's download page on how to burn the downloaded ISO image

2) Boot into Ubuntu Live CD

Insert the Ubuntu Live CD into the optical drive tray and boot your PC or laptop. Make sure the computer is set to boot from the optical drive.

You'll come to Ubuntu's welcome screen. Click on Try Ubuntu to continue

3) Install gpart

gpart which stands for Guess Partition which we'll use to recover the partition is not installed by default. Follow these steps to have it installed.

a) Enable community maintained repository

gpart is available in the Universe or the Community Maintained repository. You'll need to enable it before you can install the program.

Firstly, run the Update Manager program

And click Settings

Now you'll need to enable the Universe repository and click the Close button

Click Reload once prompted

And wait till it finishes

After it's done, click Close

b) Install

Now is the part where you really install the program. To do that, run the terminal program.

Once inside it, running the following command will install gpart.

sudo apt-get install gpart

comments powered by Disqus