Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I had Ubuntu installed, after installing Windows 7 and trying to fix Windows bootloader (using EasyBCD), my Ubuntu partition is damaged.This is screenshot of GParted: enter image description here

/dev/sda3 extended is recent Ubuntu partition. All context menu options are disabled but information and Manage flags. Information status is Busy. I have some important files on Ubuntu. How can i fix it?

The installer detect /dev/sda3 as free space and get following error on trying to use it: enter image description here

share|improve this question

1 Answer 1

up vote 1 down vote accepted

On gParted :

Left-clic on /dev/sda5 (linux-swap), and select "swapoff"

We can see here that the swap is still mounted (the key next to /dev/sda5), causing the extended partition to stay bussy.Using the swapoff option will unmount it.

That for the "busy problem".

For the lost partition problem:

Install gpart :

sudo apt-get install gpart

Open the "Devices" menu of GParted, and select "try to recover data" (something like that, my computer use French as language, i'm not sure of the english equivalent)

Edit 1 :

Try testdisk

installation :

sudo apt-get install TestDisk

Use : Open a new Terminal ( ctrl+alt+T )

sudo testdisk

And follow this step-by-step tutorial : TestDisk step-by-step

share|improve this answer
    
I did what you told. It took a long time but no filesystem found :( –  AHHP May 30 at 20:17
    
Also Partition table of /dev/sda is msdos. Is it correct? –  AHHP May 30 at 20:21
1  
I won't pose any problem imho –  Dremor May 30 at 20:48
    
New edit, with a new software : TestDisk –  Dremor May 30 at 21:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.