LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-17-2009, 03:16 AM   #1
technik733
Member
 
Registered: Nov 2007
Location: California, US
Distribution: Slackware
Posts: 59

Rep: Reputation: 15
Exclamation Deleted my partitions in cfdisk...


Ok, I have just deleted the partitions of this computer's hard drive in cfdisk. I thought I was doing it to my thumb drive, but I forgot to put /dev/sda in the command. So I'm not sure if it's actually removed them or if I should not reboot until I hear from someone or what. Because it is still working now.

O_o
 
Old 05-17-2009, 03:53 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,429

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
Nothing will have happened unless you did a W(rite) command to commit the changes.
If you have committed the changes, use testdisk to recover the situation.
 
Old 05-17-2009, 08:46 AM   #3
technik733
Member
 
Registered: Nov 2007
Location: California, US
Distribution: Slackware
Posts: 59

Original Poster
Rep: Reputation: 15
Yeah, I wrote the changes before I noticed that it was the wrong drive. I shall run testdisk now. EDIT: I mean install and then run...

Last edited by technik733; 05-17-2009 at 08:47 AM.
 
Old 05-18-2009, 11:02 PM   #4
technik733
Member
 
Registered: Nov 2007
Location: California, US
Distribution: Slackware
Posts: 59

Original Poster
Rep: Reputation: 15
Ok, using that tool apparently kept my files intact, but the superblock was missing or corrupt once I rebooted. Since it was only a temporary 6GB drive with almost nothing on it anyway (1TB backup drive ), I just reinstalled slackware. But I also got my video card and integrated wireless to work correctly, so it's all good. I appreciate the advice, and testdisk seems quite versatile.
 
  


Reply

Tags
deleted, partition, slackware


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
CFDisk auto-formatting my partitions DataMonSTAR Linux - Software 5 09-29-2008 08:37 AM
How do I make partitions with cfdisk? akihandyman Slackware 3 09-04-2007 07:33 AM
CFDISK Logical partitions ZeroCoolJr Slackware 7 02-23-2004 07:20 AM
cfdisk wont detect my partitions r350 Slackware - Installation 1 01-30-2004 06:35 PM
Slackware, cfdisk, partitions, etc.. philY Slackware 7 11-02-2003 10:17 AM


All times are GMT -5. The time now is 07:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration