vCenter Appliance fails to start with an error Dependency failed for /sysroot
search cancel

vCenter Appliance fails to start with an error Dependency failed for /sysroot

book

Article ID: 386927

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

After a storage outage vCenter appliance fails to start 

Environment

When the correct root password is entered the password is not taken and control l+ D does not let you enter any commands. 

You would see errors similar to below 

Cause

Physical Storage outage / disk replacement 

Resolution

Take a snapshot or backup of the vCenter Server Appliance before proceeding : 

Reboot the vCenter Server Appliance.

After the VCSA Photon OS starts, press the e key to enter the GNU GRUB Edit Menu.

Locate the line that begins with the word Linux.

The line should look like the following screenshot:

* After consoleblank=0 remove scsi_mod.scan=sync $systemd_cmdline fi\ps=1

Append these entries to the end of the line - fsck.repair=yes 

Press F10 to continue booting.

Once the vCenter boots to the login screen perform another reboot and the vCenter will be back on the network.