LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2009, 11:08 PM   #1
grallis
LQ Newbie
 
Registered: Sep 2009
Location: Ontario, Canada
Distribution: CentOS, Fedora Core and Mint
Posts: 7

Rep: Reputation: 0
Retrieving data from a Ubuntu partition


Hello all, I've come here obviously because I'm in need of some advice from you Linux experts.

I had a dual-boot system setup. Win XP Pro w\ Ubuntu 9.04 and my bootloader of choice was grub.

I recently made a mistake - I totally forgot about one very important folder on my Ubuntu installation and reformatted and reinstalled my injured Windows partition. Quickly realizing my wrong doing, I was immediately relieved to have come about the idea that I could throw in my Ubuntu disc, at which point it would probably detect my Ubuntu filesystem and restore my installation.

Stupidly next, I left my computer for a day with my non-password protected screensaver(fresh installation), and my nephew came into my room to try to play a video game in Windows and somehow(?!?!) managed to it appears quick format my Ubuntu partition in Windows.

My questions is, is it possible to recover my Ubuntu installation, and if not, does anyone know how I would go about recovering that folder? I've done it in Windows but am definitely not a Linux wizard.

Thanks in advance for any assistance you can provide

- Grallis
 
Old 09-16-2009, 11:27 PM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by grallis View Post
Stupidly next, I left my computer for a day with my non-password protected screensaver(fresh installation), and my nephew came into my room to try to play a video game in Windows and somehow(?!?!) managed to it appears quick format my Ubuntu partition in Windows.
But how? Ubuntu partition shouldn't be visible from windows under normal circumstances. If the partition is still intact along with your folder then you can recover your data, if it has been formatted then it is another question.
 
Old 09-16-2009, 11:33 PM   #3
grallis
LQ Newbie
 
Registered: Sep 2009
Location: Ontario, Canada
Distribution: CentOS, Fedora Core and Mint
Posts: 7

Original Poster
Rep: Reputation: 0
It wasnt visible in My Computer. It was only visible in the Disc Management screen, reachable via a right click on 'My Computer'. How my nephew got there, I'll never know, but when I walked in and saw him at that screen I knew it was a disaster.
 
Old 09-18-2009, 09:35 AM   #4
grallis
LQ Newbie
 
Registered: Sep 2009
Location: Ontario, Canada
Distribution: CentOS, Fedora Core and Mint
Posts: 7

Original Poster
Rep: Reputation: 0
Bump?
 
Old 09-18-2009, 10:04 AM   #5
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Has he formatted the partition? I can only guide you if you are sure he hasn't formatted the ubuntu partition where all your data is. It's simple , you will just need a Live CD and then
Code:
cp -r folder /windowspartition
But it seems it's already formatted, I don't think it's possible to recover data from a formatted partition.

Last edited by ~sHyLoCk~; 09-18-2009 at 10:06 AM.
 
Old 09-18-2009, 10:07 AM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Quote:
I was immediately relieved to have come about the idea that I could throw in my Ubuntu disc, at which point it would probably detect my Ubuntu filesystem and restore my installation.
Did you just have the idea or did you actually check?
Because it sounds to me that your Ubuntu was gone the moment you
Quote:
reformatted and reinstalled my injured Windows partition.
and your poor nephew has nothing to do with it
If you however just worked on that partition the Ubuntu will still be there.

If it has been formatted however then it depends on how this was done.
quick or full?

I'm really not sure but I made an NTFS partition under linux the other week - with "quick" it was just that.
But without that argument - a full format was started, stating: "initializing the device with zeroes"
In that case there is not a chance to recover anything.
One tool I used myself once (with success) to recover lost partition information is "gpart". (the data was untouched, just the partition table was altered)

HTH

Last edited by jomen; 09-18-2009 at 10:11 AM.
 
Old 09-19-2009, 03:21 AM   #7
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 16
Don't know if it will certainly work, but here it is...

First mount your Linux partition in windows using http://www.diskinternals.com/linux-reader
The use Recover my files, http://www.recovermyfiles.com/ and try to recover your lost linux data to windows.

I tries this with pure windows system and it worked almost flawlessly.

Last edited by unev_21; 09-19-2009 at 03:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving data from MySQL clb Programming 5 08-12-2007 01:06 PM
Retrieving encrypted data fof3 Linux - Newbie 2 09-12-2006 09:56 AM
retrieving lost data mohtasham1983 Linux - General 3 08-31-2005 02:04 PM
Retrieving data from devices is not supported??? Teckno Linux - Newbie 2 05-25-2004 05:49 PM
Retrieving Data Bheki Linux - Newbie 1 05-21-2002 08:13 AM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration