LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-06-2004, 04:32 PM   #1
egypt
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Unhappy linux kill my hard drive


The story is: I`ve made one huge .tar file but there was not enough free sapce of my HDD. So I loged on GNOME to check how many space I have but the GNOME freezed. I restarted the system and after that I didn`t reseave log prompt but strange massage:

Keyboard: Time Out- AT keyboard not present (f4)

And my keyboard didn`t work anymore. So I`ve restarted a couple of times before to see the most scary
thing. When the my RedHat system starting and doing a lot of stuff like "cheking for new hardwere", "bring up eth0 interface" and .... , I saw

mounting local file system [failed]

I moved the hard drive to another Linux mashine but Linux didn`t find this hard drive. I`m thinking the HDD is gone The BIOS of the computer has found it but Linux not. I tryed to find it with hadwere browser from GNOME and even with the comand # kudzu, but nothing. I have very important data of this HDD. PLEASE somebody to help me!!! If there is a magic tool or.... I hope the drive is ok, only the file system is corupt and thats way I cannot find it. I don`t know. I need only my data back. 10x anyway!
 
Old 10-06-2004, 04:54 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
So where is the drive installed?
/dev/hda - 1st IDE controller master
/dev/hdb - 1st IDE controller slave
/dev/hdc - 2nd IDE controller master
/dev/hdd - 2nd IDE controller slave

Do you know how the drive is partitioned? No? as root
fdisl -l /dev/hdx (that is a small L, /dev/hdx use device from above table)

Create a directory to use as a mount point
mkdir /mnt/disk

mount -t auto /dev/hdxy /mnt/disk

Replace x with the device from the table and y which is the partition ID listed from the fdisk command. If you know the filesystem type i.e. ext3, reiserfs etc. use that instead of auto.
 
Old 10-06-2004, 04:54 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
When you put it in the other machine, does it physically detect it (check the output of "fdisk -l")? If so, then you should be able to mount it and delete as many files as you can to regain space.

I doubt there is a something physically wrong with the drive (though if you wrote something to bad sectors, it could have destroyed the drive, this has happened to me on occasions with older HDDs). Worst case scenario, you can wipe the drive and reformat it, but I don't think even that should be necessary.

To start, just try to mount the drive under another Linux system, and you can go from there.
 
Old 10-06-2004, 07:44 PM   #4
Chuck23
Member
 
Registered: Jun 2004
Distribution: Fedora Core1
Posts: 63

Rep: Reputation: 15
If you can boot from CD, you might want to boot Knoppix and use it to poke around. At the very worst, you end up grabbing the data you need before trashing the drive.
 
  


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
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
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
did I kill my hard drive using FDISK? jodansmif Linux - Hardware 1 02-24-2004 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:38 AM.

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