whoops2010
September 14th, 2010, 06:12 PM
I can't believe I did this but I'm fairly new to Linux and gparted and yesterday I misinterpreted /dev/sda5 (what was really a large lvm2 partition where Ubuntu was installed as well as my data!) as unused space and accidentally reformatted it to ntfs.
I know I know - dumb! What I wouldn't give for a time machine!
My questions:
1. I was reading about recovery software such as photorec - in my situation should I hope to at least be able to recover files off that reformatted partition?
2. I'm surprised the machine doesn't even get to the grub menu anymore - yet I can mount /dev/sda1 and see the files for grub are still there (/dev/sd5 was under /dev/sda2 which is shown as "extended", and /dev/sda1 is shown as ext2/"boot"). Does it make sense that I clobbered that in reformatting /dev/sda5?
3. Barring me being able to recover the files, and then reinstalling Ubuntu from scratch - there's no shorter path to resolution is there? i.e. When I (stupidly) did the reformat of that partition it returned *really* fast, making me wonder there's no way for me to reformat /dev/sda5 *back* to lvm2, and actually "undo" what i did and even still have the old files is there?
Feeling really dumb today (thanks for any advice)...
I know I know - dumb! What I wouldn't give for a time machine!
My questions:
1. I was reading about recovery software such as photorec - in my situation should I hope to at least be able to recover files off that reformatted partition?
2. I'm surprised the machine doesn't even get to the grub menu anymore - yet I can mount /dev/sda1 and see the files for grub are still there (/dev/sd5 was under /dev/sda2 which is shown as "extended", and /dev/sda1 is shown as ext2/"boot"). Does it make sense that I clobbered that in reformatting /dev/sda5?
3. Barring me being able to recover the files, and then reinstalling Ubuntu from scratch - there's no shorter path to resolution is there? i.e. When I (stupidly) did the reformat of that partition it returned *really* fast, making me wonder there's no way for me to reformat /dev/sda5 *back* to lvm2, and actually "undo" what i did and even still have the old files is there?
Feeling really dumb today (thanks for any advice)...