LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Centos Server Failed @ Bootup: Missing "/sbin/blkid" & "fsck" command not found (https://www.linuxquestions.org/questions/linux-newbie-8/centos-server-failed-%40-bootup-missing-sbin-blkid-and-fsck-command-not-found-4175423340/)

beagle7 08-21-2012 11:38 PM

Centos Server Failed @ Bootup: Missing "/sbin/blkid" & "fsck" command not found
 
Hi Everyone,

Good day!
One of my server failed to bootup properly after a power surge.
This server was previously setup by an ex-colleague, and since I'm not very familiar with Linux, I hope to find some help in troubleshooting it and get it running.

Thank you in advance!

====Taken from CentOS server with bootup error====

Starting udev: [OK]
Loading default keymap (us): [OK]
Setting hostname name.domain: [OK]
Starting disk encryption:
/etc/rc.d/rc.sysinit: line 146: /sbin/blkid: No such file or directory
Command failed: Error opening device: No such file or directory [FAILED]

Setting up Logical Volume Management: 3 logical volume(s) in volume group "DATA" now active
1 logical volume(s) in volume group "DATASTORE" now active [OK]

Starting disk encryption:
/etc/rc.d/rc.sysinit: line 146: /sbin/blkid: No such file or directory
Command failed: Error opening device: No such file or directory [FAILED]

Checking filesystems
/etc/rc.d/rc.sysinit: line 647: fsck: command not found [FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
=====================================================

GATTACA 08-22-2012 09:17 AM

Do you have the installation media?
If so, boot from it and use it to try and see if you can detect the disks.

When you boot from the installation media select "Rescue installed system" to proceed.

Start there.

HTH

beagle7 08-24-2012 12:00 AM

Hi Gattaca,

Thank you for the reply.
I have tried it out just now, and was able to see the disks.
With help from the internet, I was able to run fsck on the disks as well.
But upon booting up from the harddisk, I got the same error as before.

Are there anything that I can try further?

Thanks!

-B-

chrism01 08-24-2012 12:52 AM

I think this your biggest problem
Code:

Starting disk encryption:
which means you'll need to ask the prev guy for the key(s) ...

beagle7 08-24-2012 01:33 AM

Oh no....

And what should I do if I do get the key(s)?


All times are GMT -5. The time now is 02:03 PM.