Failing drive - remove?

crowfan
Posts: 26
Joined: Sun May 20, 2012 5:37 am

Failing drive - remove?

Postby crowfan » Sun May 20, 2012 5:44 am

Hello,

I have a HP MediaSmart EX495 that I converted to Fedora 14/Amahi. It has 2 drives in it: the main drive with the OS and all files, and a second drive that I added with greyhole. I had it set up so that that files were duplicated from the first drive to the second.

The second drive is dead (clicking, etc.) and I can no longer access the hda. It's a headless server, and it's not booting to a useable state.

I pulled the OS drive connected it to my iMac via USB so I could get to my files. They are located in /gh which I thought was weird. Anyhow, I copied most of them off to the iMac so I have them. Now I'd like to get back to a bootable state.

I think I need to edit /etc/fstab and take out the second hard drive, so it stops looking for it on boot. I am thinking that's what's preventing it from booting all the way. Is that right? If so, how do I do that from the iMac? I can open fstab on the iMac but it won't let me change the contents.

I am still kind of a newb so be gentle. :) Thanks!

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: Failing drive - remove?

Postby sgtfoo » Sun May 20, 2012 10:28 am

I'm not familiar with the minor differences about terminal usage on Mac OS vs Linux, but you're likely not able to edit the fstab because permissions are stopping you.

try doing a sudo before editing the fstab, but just be sure you don't edit a fstab on the iMac by accident (if there is one).

If you load up a live USB of a linux distro, you could also use that to edit the /etc/fstab, but make sure the drive in question isn't broken anyways cuz that would be a futile recovery.
If the OS drive is the broken one, replace it.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

crowfan
Posts: 26
Joined: Sun May 20, 2012 5:37 am

Re: Failing drive - remove?

Postby crowfan » Sun May 20, 2012 2:09 pm

Thanks -- I was able to get it working again using a Live CD.

Who is online

Users browsing this forum: No registered users and 8 guests