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 accidentally deleted my main partition, however i haven't restarted yet so I still have access to all my files. Is there any way to prevent it being deleted on restart?

share|improve this question
    
if you can't figure it out, you can run tar -c backup.tar /path/to/files /path/to/more/files to backup whatever's in /path/to/files and /path/to/more/files (you can specify another number of paths besides 2). the path / will back up your whole partition. then copy archive.tar to somewhere not on your main partition. good luck, though. i hope you don't have to do this. –  strugee May 9 '13 at 4:41
    
I'm already running a backup. The solution appears to be here: ubuntuforums.org/… –  Gilligan94 May 9 '13 at 4:58
    
See if this will help. –  Mitch May 9 '13 at 6:41
    
Question is how you deleted your partition. It is not possible to access any files on a "deleted" partition. –  Takkat May 9 '13 at 7:14

1 Answer 1

follow the instructions here: http://ubuntuforums.org/showthread.php?t=1668247&page=4&p=10364557#post10364557

I used gdisk instead of fdist.

DON'T use testdisk

share|improve this answer

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.