1

I recently installed Ubuntu on an external hard drive on which I had some important files. I don't know if I deleted them during installation, but I think not. During the installation, I hit 'new partition' to the drive and I don't know if that did anything. Anyway, now I want to find my files even if this means that I uninstall Ubuntu from the drive.

Please answer me to the following questions:

  1. How can I uninstall Ubuntu without losing the files I had before the installation (if I haven't lost them yet)?
  2. I boot my computer from Windows (which I have on the internal hard drive) and then I connect the external hard drive but nothing shows up. I don't know another way to format it. Is it normal?
1
  • Please install gparted and post a screenshot of the partition layout of your external drive. Jun 30, 2016 at 2:22

1 Answer 1

1

In your situation there is two ways to recover your files if they still exist,

First from ubuntu:

you need to open ubuntu than open the terminal and run this script.

sudo fdisk -l (it will list all the partitions on your hard disk)
sudo mount /dev/sda(partition number) /mnt  (where you will find your files)

if you want to unmount the partition simply type sudo umount /mnt.

Second from windows:

windows will not show you the partitions because it doesn't support the ext* file systems so you will not be able to view the files on your external disk.

but you can this tool Linux Reader it will show you any Linux partitions on your external disk and you will be able to recover your files.

Finally,

if you want to uninstall Ubuntu you can simply run the disk manager on windows than delete the Linux partitions and create new windows partitions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .