LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-06-2004, 04:40 PM   #1
ech310n
Member
 
Registered: Jan 2004
Distribution: RHEL, Fedora
Posts: 46

Rep: Reputation: 16
God damn failed harddrive!!!


Bloody typical...I'd just decided to rebuild my XP machine, and was backing up files to my MDK machine when one of the disks died! I have two HDDs in the MDK box, one containing all the major filesystems like /, /sbin, /etc, /var and so on and another 40GB IBM drive which just had one filesystem mounted on it which I had shared out through Samba.


I was copying files across from the WinXP machine to the MDK box onto the drive holding the shared filesystem when everything just hung (I thought it was Windows at first). I switched to the MDK machine but could not browse the file systems on the second drive without hanging Nautilus. I could (at first) see the contents through the command prompt, but after a while even that stopped working. I tried doing an ll in the filesystem and it hung the prompt.

Decided to try a reboot but it would not go down. Dropped out of X to console but still no joy and there were some user owned process that even a kill -9 would not see off as root.

Gave up and decided to button the box, but on coming back up in the BIOS screen a message popped up...."Sec Slave not responding". Doh!

OK, so I disabled this drive in the BIOS (seeing as it has no critical file systems on it. I boot MDK, but got as far as it complaining that the system had not come down cleanly and that some filesystems were screwed. The usual fsck questions were asked before it dropped me to a command line. However, I cannot fix up the filesystem cuz the drive is dead (it's been iffy for a while) so I thought I'd try to edit /etc/fstab to stop the system trying to even mount this fs but you can't run vi from this prompt.

I'm a bit stuck now, I can't boo the system...any ideas???

Thanks!
 
Old 03-06-2004, 04:46 PM   #2
ech310n
Member
 
Registered: Jan 2004
Distribution: RHEL, Fedora
Posts: 46

Original Poster
Rep: Reputation: 16
Ah, actually I think I've just sorted this....

I found /bin/vim-minimal and ran /usr/vim-minimal /etc/fstab and remove the entry to the failed drive and the system appears to be booting OK.
 
Old 03-10-2004, 08:46 PM   #3
osat3ch
Member
 
Registered: Jan 2004
Location: Portsmouth, NH
Distribution: FC3, FC4
Posts: 45

Rep: Reputation: 15
Unhappy after removing a drive lin won't boot

I last installed Fedora Core1 on hda. at the time it was the only hd i had in the machine. later I added 2 fat32 hds. I then proceeded to fubar some of the windoze partitions (all my fault).

Then I removed the win hds and now linux won't boot.
it says it has "dropped to a shell"
I am a newbie and am hoping you can give me some advice.

tia
 
Old 03-12-2004, 10:35 PM   #4
Peity
LQ Newbie
 
Registered: Mar 2004
Location: Maine
Distribution: Fedora, Debian, & Gentoo
Posts: 1

Rep: Reputation: 0
When you are "dropped to a shell" the OS is giving you a chance to fix whatever is wrong (the thing that caused the problem in the first place). This is strictly CLI stuff. If linux is having trouble with reading a drive it will balk during the boot. The best way to get around this is to comment out the fstab entry for that specific drive. I use nano, but that's just personal preference. You'll still have to figure out what's wrong with the drive, but you'll be able to use your linux distro, at least.
 
  


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
system failed to find bootable harddrive at startup jmail137 Linux - Hardware 2 04-17-2006 01:56 AM
SUSE 10 + SAX2 + Nvidia = GOD DAMN IT!!! AvatarofVirgo SUSE / openSUSE 9 10-23-2005 04:53 PM
A harddrive failed in my raid array, how do I replace it? abefroman Linux - Hardware 2 09-23-2005 04:02 PM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
GRUB~Harddrive failed Manarius Linux - Hardware 1 08-03-2003 07:40 PM

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

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