Partition recovery
Hi all !
My hard disk used to be divided into 5 partitions : /dev/hda1 was fat32 with Windows XP on it 5 (~ 30 GB) /dev/hda3 was ext3, and empty : i wanted to install Ubuntu Lite on it (~10 GB) /dev/hda7 (but not sure about the number) was etx3 : / partition for Ubuntu (~ 5 GB) /dev/hda8 (not sure) was swap (~ 500 GB) /dev/hda9 (not sure) was /home ( ~ 40 GB) I tried to install Ubuntu Lite, but before the installer had even started up, it started fiddling my my partitions (by running mkswap) ... So I rebooted the machine ... and of course GRUB wouldn't show up anymore ... So I started Knoppix up to see what was wrong. Here's my /etc/fstab under Knoppix : Code:
/proc /proc proc defaults 0 0 /dev/hda is definitely swap. And I can't mount /dev/hda2 : This is what sudo mount /dev/hda2 /mnt/hda2 shows : Code:
mount: you must specify the filesystem type Code:
mount: wrong fs type, bad option, bad superblock on /dev/hda2, What shall I do to get my old partitions back ? Thanks in advance, Alex. |
At first look, it seems to happened that a command from You destroyed the partition table of /dev/hda.
You can give testdisk a try to find the lost partitions. It can restore the partition table of a HD, but read the doc's carefully. Although, please clear out what partition is swap? First You talk of /dev/hda8, later You tell /dev/hda ( 1? ) is or was swap. |
Thanks, I'll look it up right now ...
Well, I think /dev/hda8 _used_ to be swap ... What is sure now is that /dev/hda1 _is_ swap. Thanks again, Alex. |
Strangely enough, testdisk seems to detect only /dev/hdc (my CD burner) ... Maybe I should download UltimateBootCD to see...
I checked the log, and only /dev/hdc appears... |
Well, I tried testdisk, but it doesn't find my old partitions ... Here's the log :
Code:
Fri Jul 29 11:56:02 2005 Thanks, Alex. |
Testdisk found three partitions on hda, one ext3-linux and two swap. You can direct testdisk to " search deeper " for partitions. This may take several hours and often does not bring THE result.
At this point You will restore the last backup of Your HD or install again ( formatting, etc. ). :( Maybe Anyone on this Forum can give other helpful suggestions? |
Thanks for your help, but even "searching deeper" didn't get helpful results ... So I formatted the hard disk and installed my (old) backup...
Thanks again, Alex. |
All times are GMT -5. The time now is 05:40 PM. |