LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-10-2004, 12:46 PM   #1
scottie
Member
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 8.0
Posts: 56

Rep: Reputation: 15
fdisk unable to read hard drive


A few weeks ago I got a virus on my computer. I think it could have nuked my MBR.

When i try to boot I get the error message.. error loading operating system. Which appears even before I come to the menu to choose between loading linux and windows.

So I tried to boot using the linux cd as a spring board, it gets to a certain point and then I get something like...

kernel panic
unable to mount fs

So then i tried to use fdisk on it and I get the message...

unable to read disk

Sooooo, then i used the windows cd and tried to format it and i get pretty much the same error message. I also tried to use the fixmbr and it appears to do nothing and I tried to use fixboot and I get the same message as when i try formatting it.

I dont care about the data on the disk anymore. All i want to do is format it so i can install linux again. Does anyone have any idea how i can format it?

cheers scottie
 
Old 01-10-2004, 02:11 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
"Does anyone have any idea how i can format it?"

You should be able to use fdisk as if the hard drive is a brand new drive that has never been partitioned. Run fdisk and begin creating partitions without trying to read what is already there.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
fdisk unable to read /dev/sda frankie_DJ Slackware 1 09-08-2005 09:44 PM
did I kill my hard drive using FDISK? jodansmif Linux - Hardware 1 02-24-2004 06:27 PM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 05:29 AM
fdisk and cfdisk won't detect hard drive Akcel Slackware 9 07-12-2003 01:37 PM
How do I Fdisk my Linux Hard drive Bodyshop40 Linux - Newbie 1 05-19-2003 01:12 AM


All times are GMT -5. The time now is 02: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration