LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-05-2005, 05:16 PM   #1
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Rep: Reputation: 15
external hard drive with a bad partition


I have an external hard drive which is connected through usb and I had messed up while reformatting it for linux. Linux does not detect it and neither will windows, partition magic says it has a bad partition, and cannot fix it. Device manager cannot fix it either. what should I do to be able to reformat it if my utilities cannot access it?
 
Old 04-05-2005, 06:07 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You should, at least, be able to reformat the drive with fdisk... or FDISK under DOS if you like. The fact that partition magic can see the drive suggests that SOMETHING knows it's there, hmmm?

excuse me, but how do you know linux cannot see the drive - have you looked in dmesg for eg or just tried to mount it??
 
Old 04-05-2005, 07:01 PM   #3
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
my knowledge of linux is very limited but from what I had tried it didn't mount it. nor seem to detect.

And what syntax should I use when using FDISK?

Last edited by LinuxPadawan; 04-05-2005 at 07:09 PM.
 
Old 04-05-2005, 08:14 PM   #4
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
I started playing around with linux and found that the hardware configuration manager (or something like that) detects the drive. But of course I cannot access it.

Last edited by LinuxPadawan; 04-05-2005 at 08:35 PM.
 
Old 04-05-2005, 10:47 PM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by LinuxPadawan
my knowledge of linux is very limited but from what I had tried it didn't mount it. nor seem to detect.

And what syntax should I use when using FDISK?
Hmmm... thought as much!

Let me introduce you to a wonderful thingy called a "man page"

In terminal type

Code:
man fdisk
and a whole lot of stuff comes up telling you about fdisk. Right at the end it has other commands to try, like (in this case) sfdisk and so on. At the start is the syntax, then a description of the command and what it's supposed to do, and then a detailed description of what all the options are supposed to do. There will also be examples for some of the older and more complex commands.

another thing like "man" is "info" ... it works the same way, and often has extra information organised with html hotlinks etc.

CAVEAT: using fdisk to reformat a disk is trouble, make sure of any command before hitting that final <enter>. However - the worst you can do is repartition your drive... which will erase all data on the drive... which you cannot access anyway. So what the hey...
 
  


Reply


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
access external hard drive linux partition on linux and vice versa garyozzy Linux - Newbie 2 08-03-2005 06:11 PM
External Hard Drive partition fails for Mandrake 10.1 installation clean_sweep Linux - Hardware 9 12-26-2004 02:02 PM
hard drive, going bad? cheater1034 Linux - Hardware 7 09-13-2004 03:02 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM


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