How do I recover my Ubuntu partition?

Ralf Mardorf silver.bullet at
Tue Feb 7 15:24:08 UTC 2017

> On 07 Feb 2017, at 14:26, s_s_shahin at wrote:
> I divided my hard drive into 3 partitions, 1 Ubuntu 16.04, 2 Windoz and
> was booting Ubuntu day in and day out no problem until I wanted to try
> one of the Windoz.

If this should be correct running

sudo mount /dev/sda1
sudo grub-install --boot-directory=/mnt/boot /dev/sda

likely would fix the issue. But I suspect that Ubuntu is not on sda1, it more likely is on another partition. IOW 1 Ubuntu partition not necessarily is the first partition. However, simply use the live media and run

sudo parted -l

copy and paste the text, so no screenshot is required.

More information about the ubuntu-users mailing list