LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-08-2013, 10:47 AM   #1
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

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 http://www.tux.org/pub/people/kent-r...p/RIPLinux.iso as we speak and intend to run testdisk.

Anything else?

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

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Great!

Testdisk worked fine.

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

Phew!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration