Accidentally deleted partitions...
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 4
- Joined: Sun Aug 12, 2012 7:42 pm
Accidentally deleted partitions...
Hey all, last night while reformatting my external network drive (via USB) I accidentally deleted both partitions for my KX studio 10.04 on my main hard drive using Windows 7's disk management tool. Is there any way to recover the partitions and my install without re-installing. Thanks!
- Capoeira
- Established Member
- Posts: 1321
- Joined: Tue May 12, 2009 1:01 pm
- Location: Brazil
- Has thanked: 3 times
- Been thanked: 2 times
Re: Accidentally deleted partitions...
this founds everything (if not overwritten) http://www.cgsecurity.org/wiki/TestDisk
-
- Established Member
- Posts: 4
- Joined: Sun Aug 12, 2012 7:42 pm
Re: Accidentally deleted partitions...
Is Parted like Gparted or Parted magic? because i have both of those on live CDs, but can't find a live CD download for parted anywhere, and being the noob I am, don't know what repository to download, or how to create a live CD from one.
-
- Established Member
- Posts: 4
- Joined: Sun Aug 12, 2012 7:42 pm
Re: Accidentally deleted partitions...
Sorry for the double post. So I just ran the Gparted live CD and used the test disk utility using this method http://www.google.com/url?sa=t&rct=j&q= ... BlbUJVejQA It saw my swap and main partitions for my KXstudio, but when I reboot my PC I am still getting the "Error: no such partition. <grub rescue> _" message and am unable to boot into either windows 7 or my KX studio.
-
- Established Member
- Posts: 4
- Joined: Sun Aug 12, 2012 7:42 pm
Re: Accidentally deleted partitions...
Huh, so I followed this http://www.av8n.com/computer/htm/grub-reinstall.htm, it didn't seem like it did anything so I went ahead and made a boot-repair live CD, when I went to boot from the CD, I didn't get to the boot menu fast enough so it booted from the HD, low and behold, grub came up! I am now booting into windows and will try booting into KXstudio next. Thanks for your help guys!
-
- Established Member
- Posts: 369
- Joined: Fri Sep 23, 2011 1:03 pm
Re: Accidentally deleted partitions...
testdisk, as mentioned above is probably the best for this kind of emergency. It is not very user friendly, but it is a lot more so than obscure command line disk/file-system utilities. As long as you don't give it any instruction to write you can explore it freely to see what it will come up with. It can rewrite a deleted or altered partition table to match what it finds on the disk.
Rule One (in fact, the only rule!) --- do not write anything to your disk. Do not blunder about trying stuff that writes to the disk. In an emergency, it is very hard indeed not to do this. Sometimes we do it before we even realise we have got an emergency.
Some of those obscure command-line utilities can make a backup copy of your partition table. This is well worth doing (of course, an external copy!).
The big problem is that we only look at this stuff when a problem has happened already. We are already in an emergency, and we don't know how to cope, or remember what we did last time. That's why I can post that you can make a backup copy of your partition table, but I can't tell you how . Then, when we get in there, we are faced with disk and filesystem terminology we never normally have to think about, not to mention the confusing big numbers.
It is often easier to re-install ...assuming one has recent backups.
Rule One (in fact, the only rule!) --- do not write anything to your disk. Do not blunder about trying stuff that writes to the disk. In an emergency, it is very hard indeed not to do this. Sometimes we do it before we even realise we have got an emergency.
Some of those obscure command-line utilities can make a backup copy of your partition table. This is well worth doing (of course, an external copy!).
The big problem is that we only look at this stuff when a problem has happened already. We are already in an emergency, and we don't know how to cope, or remember what we did last time. That's why I can post that you can make a backup copy of your partition table, but I can't tell you how . Then, when we get in there, we are faced with disk and filesystem terminology we never normally have to think about, not to mention the confusing big numbers.
It is often easier to re-install ...assuming one has recent backups.
Re: Accidentally deleted partitions...
TestDisk should be your 1# choice. Just recovered an existing installation on a harddrive which has been accidently initialized by a RAID-Controller.Capoeira wrote:this founds everything (if not overwritten) http://www.cgsecurity.org/wiki/TestDisk
You may download Hiren's BootCD, boot your PC with it and run TestDisk either in Linux Rescue environment or directly from the CD.
Looking forward to look back what happens now
Listen to my music at:
https://www.jamendo.com/artist/373939/zwenny
Listen to my music at:
https://www.jamendo.com/artist/373939/zwenny