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.
The first step is to get the latest Ubuntu Live CD (if you don't already have) from the official download page;
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
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
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.
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
Now you'll need to enable the Universe repository and click the
Reload once prompted
And wait till it finishes
After it's done, click