Can't boot after removing hard drive

gkstringer
Posts: 3
Joined: Sun Oct 26, 2014 7:46 am

Can't boot after removing hard drive

Postby gkstringer » Sun Oct 26, 2014 8:25 am

My Amahi 7 system refuses to boot to login (remote or local) after unplugging a failing hard drive.
  • 1. It's commented out of /etc/fstab
    2. It's definitely not the main OS drive

I've tried plugging in a monitor but the boot text gets cleared so I can't see whether there are any error messages. I looked at /var/log/boot.log but this only appears to capture the last successful login after I reattached the drive. Is there a way of capturing more boot history?

I've tried searching the net and found:
http://www.atrixnet.com/script-to-offli ... -in-linux/
Is there more to tidy up after removing a disk?

Any clues what I should try next?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Can't boot after removing hard drive

Postby bigfoot65 » Sun Oct 26, 2014 4:20 pm

Can you reattach the drive? I would try putting it all back. If it boots back up, then try removing it again.

Then ensure you remove the line from /etc/fstab for that drive. Unmount it before rebooting to be safe.

If you re using Greyhole, don't forget to remove it using the appropriate Greyhole command.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

gkstringer
Posts: 3
Joined: Sun Oct 26, 2014 7:46 am

Re: Can't boot after removing hard drive

Postby gkstringer » Tue Oct 28, 2014 3:46 am

Thanks but I've already tried unmounting and removing from fstab

Now I did have greyhole running a little while back but my greyhole.conf got trashed when I installed the new web app :-(

The old greyhole.conf definitely had these drives included in the storage pool but the new greyhole.conf has none. I'm pretty sure that greyhole is not the problem as the log says it's not running.

Any other ideas?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Can't boot after removing hard drive

Postby bigfoot65 » Tue Oct 28, 2014 11:20 am

When you installed Amahi, did you have the other drives connected? Wondering if it might have put the grub menu on the failing drive? Sounds odd, but I have seen this happen in the past.

I presume you only removed the one drive.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 55 guests