centos error when Server startup

eh3an

Verified User
Joined
May 6, 2013
Messages
14
hi everybody,
my problem in the image when startup server in the vmware :
ofzsaettijggieqpv1y.png
please help me!!!
 

sysdev

Verified User
Joined
Jul 16, 2007
Messages
186
Wel, enter your root password and it wil drop you in a single-user shell.

Next do a 'cat /etc/fstab' to see what mountpoints you have.
Next, run 'fsck -y <mountpoint>' for every relevant line in /etc/fstab

e.g.

fsck -y /tmp
fsck -y /var
fsck -y /home
fsck -y /usr

etc...

When everything is fixed, exit the single-user shell by pressing CTRL-D or typing 'exit'.
Unless you have serious harddisk issues, the server will continue to boot.
 

sysdev

Verified User
Joined
Jul 16, 2007
Messages
186
Add 'init=/bin/sh' to your kernel boot parameters when booting. That wil give you a shell without asking for a root password.
Even though the system may look read-only after that, you'll still be able to run the fsck commands.

When done, remove the 'init=/bin//sh' from the startup parameters.
 

eh3an

Verified User
Joined
May 6, 2013
Messages
14
Add 'init=/bin/sh' to your kernel boot parameters when booting. That wil give you a shell without asking for a root password.
Even though the system may look read-only after that, you'll still be able to run the fsck commands.

When done, remove the 'init=/bin//sh' from the startup parameters.
nothing Happened :(
 

sysdev

Verified User
Joined
Jul 16, 2007
Messages
186
First, enter your grub bootmenu en edit the boot command to look like:

kernel /boot/vmlinuz-<version> root=/dev/sda1 ro init=/bin/bash

(Either /bin/sh or /bin/bash).

After booting you should get a shell login without asking for a password.

In some cases you should simply add the keyword 'single' to your existing boot parameters.
 

3245

Verified User
Joined
Mar 28, 2013
Messages
34
You must inter your pasword
i think you are in Hetzner
Your HDD is crached
--you must run fsck then inter your password, it will take time (12H possible) you must wait for end.

Regards
 
Top