Share your knowledge at the LQ Wiki.
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 05-08-2013, 10:47 AM   #1
Registered: Apr 2005
Location: Durban
Posts: 431

Rep: Reputation: 30
Recovering a Partition

I've done a silly thing....

I'm at the start of installing Slackware and the setup offered to configure the swap space. I clicked yes, before noticing that the partition number wasn't swap at all. I hit <CNTRL>C immediately, but the damage is done.

I'm downloading as we speak and intend to run testdisk.

Anything else?

Old 05-08-2013, 11:24 AM   #2
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
As I know only id of partition is changed when you choose to create swap. Testdisk should recover it without problems. You can try "fdisk" it has option to change id.

Last edited by eSelix; 05-08-2013 at 11:28 AM.
Old 05-08-2013, 02:08 PM   #3
Registered: Apr 2005
Location: Durban
Posts: 431

Original Poster
Rep: Reputation: 30

Testdisk worked fine.

It just found the partition, prompted me to write the table, and my data reappeared.



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
Recovering deleted partition PlatinumX Linux - Software 3 03-25-2009 05:13 PM
Help recovering damaged partition matheusleite Linux - Newbie 1 10-10-2007 12:48 PM
Recovering partition table !? Thoddy Linux - Software 11 06-26-2006 06:19 AM
Recovering a Partition? morrolan Linux - Newbie 5 09-05-2005 10:53 AM
Recovering partition belorion Linux - Software 5 08-09-2004 03:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 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