LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-02-2008, 12:29 AM   #1
samguyjones
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
USB Drive Partition Problem


Hello Folks,

I've got a USB enclosure for a hard drive. A while ago, I tried a rather dumb use of backing up with the dd command, and the partition table makes no sense. There was no important data on the drive, so all I want is the disk itself.

However, I can't get a filesystem or a partition back on it. If I run any manner of fdisk on the device (/dev/sdc), it exits with no output. If I run parted (many commands), I get the same results. sfdisk, same thing. cfdisk, same thing.

Is that hard drive a paperweight now? Is there some way I can tell it to rewrite the damn thing from the beginning?

Thanks in advance.

-Sam
 
Old 07-02-2008, 01:43 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
First, with linux, no news is good news.(generally)

Have you tried to write to the drive since the format? (you did not mention that)

Just a thought.

I would suggest that you erase the partitions, reboot, then create a/any partition/s.

If the master boot record (mbr) is damaged, or that part of the drive has bad sectors,

then you may be able to re-initialise it as a new drive, but with bad sectors marked, so the bad sectors are not written to in the future.


I use qtparted(gui), available on live cd's like knoppix and mepis.


see how you go.
 
  


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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
USB pen-drive as a boot partition Jeozp Linux - Hardware 2 03-20-2008 07:53 AM
Formating a New Partition on USB Hard drive mrground Linux - Hardware 3 11-30-2005 06:51 PM
Partition or USB Hard Drive? Matir Linux - Laptop and Netbook 6 03-18-2005 10:31 PM
Can't partition in Mandrake on Ext USB drive Clarion_Guy Linux - Newbie 1 11-23-2004 01:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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