Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-12-2005, 09:09 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 10

Rep: Reputation: 0
partition data recovery

Hello everyone,

I have been using gnu linux mandrake 9.2 with gnome 2.4 as my chosen desktop. The hard disk was formatted as: / 1.7gb (54% total disk); /home 267mb; swap 98mb; windows 98 1.5gb (I guess).

I decided to re-install mandrake 9.2 onto the same, previous / partition. There is a /home directory within the / partition (as I expect) but I cannot seem to see the original /home (267mb) partition. I used the gnome control centre to see the partitions. If I try to mount the partition formerly known as my /home (267mb) I receive the dialog window that data will be lost if I proceed (I do not proceed).

I thought that when I install newer versions of linux, my /home (267mb) partition would be left unchanged. How do I access my /home (267mb) partition when I run the re-installed linux, using gnome (or icewm)?

Old 04-12-2005, 09:31 AM   #2
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Rep: Reputation: 15
You probably need to use testdisk, or gpart to access the overwritten partition.....
Old 04-13-2005, 04:05 PM   #3
LQ Newbie
Registered: Jan 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your advice, I shall try and download gpart. Firstly I have to learn how to connect to the internet again. I am trying to re-install the adsl program rp-ppoe for my modem, but I digress.

Can you explain, even though I installed into the / drive and did not re-format any other drives during the re-installation, I am not left a hard disk drive that consists of /, windows and un-formatted regions that represent /home and /swap in my previous installation?

Old 04-13-2005, 04:33 PM   #4
Registered: Aug 2003
Location: South Wales
Distribution: Kubuntu, Ubuntu server, SuSE 11, Knoppix, Puppy, Myth. Oh alright then, all of them
Posts: 177

Rep: Reputation: 30
I would suggest that the warning to lost data is to do with the new /home you have created.

Try mounting the old home partition under a different mount point to check all is present and correct.
If you have some spare disk space I would also back it up before proceeding, and also the new one, just in case.
Old 04-15-2005, 12:53 PM   #5
LQ Newbie
Registered: Jan 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you for your advice so far.

I tried to download gpart but could not install it (I never did understand how to compile a program using make!)

I downloaded testdisk and to my pleasant suprised, the program worked and even more surprising, the old data in the /home (267mb) directory is there! I managed to see the files using testdisk. A useful program if I may say so.

The next question to ask is, how do I now transfer this data to my new /home directory and save to storage media? How do I re-mount the /home (267mb) partition so that I will see this when I reboot my pc?

Old 04-22-2005, 12:27 AM   #6
LQ Newbie
Registered: Jan 2004
Posts: 10

Original Poster
Rep: Reputation: 0
For the benefit of novices, I managed to mount the /home partition after reading the mount manual (i.e. type: "man mount" in a command terminal) and editing the fstab file using the mc program (my favourite file manager!).

As someone above kindly stated, the data on the /home directory created by the re-installation will be overwritten by the original /home (267mb) directory, but I had no data in it so this did not matter.

Now I can see my original /home directory. In theory now, I can continue to re-install the operating system without my personal data being affected.

I have no thank testdisk and the developer who was most helpful in advising me how the program works. Gpart on the other hand did not even install, so my recommendation to others is to definitely use testdisk: it works and the developer is very helpful.


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
Recovery of lost data from FAT32 partition... devis Linux - Software 1 07-11-2005 08:10 AM
Help! Data Recovery - NOT a partition fault - ext3 carthaginian Linux - Newbie 0 10-16-2004 09:13 AM
Data Recovery from former NTFS partition exark237 Linux - Hardware 3 07-21-2004 06:27 PM
Data Recovery plisken General 3 07-04-2004 01:06 PM
Data recovery replys2me Linux - Software 2 06-04-2003 09:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:25 PM.

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