Hello guys. I've really stuffed up with this one.
I decided to install Fedora today ( from Debian ) so I downloaded the 64 bit variation and then burnt it and booted from it.
My partition table before looked like this ( the XXXs of values I do not know ) :
Code:
Number Start End Size Type File system Flags
1 1049kB 10.5GB 10.5GB primary fat32 diag
2 10.5GB 110GB 100GB primary ntfs
3 110GB 111GB 98.7MB primary ext2 boot
4 111GB 320GB 209GB extended
5 111GB 315GB XXXXXX logical ext3 XXXX
6 315GB 320GB 5124MB logical linux-swap(v1)
I wanted to seperate my /home and / (root) partitions in my new system so that in the future, distro-hopping would be easier. I deleted everything in my fifth partition except for my home folder, from which I moved my home folder ( /home/whales ) to the top layer of the partition ( now /whales ).
I then did a
yum install gparted so I could shrink partition 5 (now going to be /home) and add another 20gb one for / (root). Unfortunately Gparted spat out an error about the kernel not reading the partition table until reboot ( but first it succeeded in shrinking the FS to 286GB ). I panicked and tried to format p5 to ext3 ( it was ext3 ) but then realised this was dumb before it could 'create the ext3 filesystem' and I cancelled the operation.
I then rebooted, realising I should have done what the error said to in the first place.
Nope. The partition was 'empty' apart from lost+found ( which is empty ).
Nuts I thought to myself. The filesystem must have been overwritten
. I tried a 'rescue' on parted on the command line, but that did not work. So I then removed the parition reference and then tried a rescue, but nothing happened. No output other than progress, and now I am stuck with this layout:
Code:
Number Start End Size Type File system Flags
1 1049kB 10.5GB 10.5GB primary fat32 diag
2 10.5GB 110GB 100GB primary ntfs
3 110GB 111GB 98.7MB primary ext2 boot
4 111GB 320GB 209GB extended
5 315GB 320GB 5124MB logical linux-swap(v1)
All of my files AFAIK should still be there between 111GB and 268GB. Is it possible to rummage through them looking for the files and creating a new FS?
BTW I'm on a livecd right now. Sorry if there are spelling mistakes - no dictionary in Firefox.
I did backup most, but some are photos off a camera I wiped a few days ago and school work started a few days ago etc. I was impatient to change OS so I didn't backup everything to start with. Lesson learned.
Imaginary gold pieces ( and seas full of gratitude ) to anyone who can tell me how to get out of my mess with all/most of my files.