vmware inaccessible boot device

Eprs_Admin
Eprs_Admin used Ask the Experts™
on
Hi Experts,

after reboot my VM is not booting anymore.
What can I do to get it runnung ?

Error : inaccessible boot device.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Eprs_AdminSystem Architect

Author

Commented:
it is a fileserver
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Restore from backup or repair following standard Windows repair options. (which may involve boot from and iso, and running a repair).

BUT, what was changed to make it give this error :- Error : inaccessible boot device.

Because that could be disk corruption, change of hardware etc
Eprs_AdminSystem Architect

Author

Commented:
Updates were pending and after the reboot all gone.

Do you know about some bad updates ?
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Any update can be a potential candidate for an outage, unless tested.

Restore from backup you took before applying updates.
Eprs_AdminSystem Architect

Author

Commented:
is it possible to reinstall the needed drivers , vmware and storage driver ?

I just can connect to the CMD
Eprs_AdminSystem Architect

Author

Commented:
This is an single ESXi with local storage.
No snapshots available.
No backup available.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
You've got to find out what to repair, it could be a corrupt disk, and not a faulty driver.

Standard Windows repair procedure.
Eprs_AdminSystem Architect

Author

Commented:
I did chkdsk /f
I did dism ...checkhealth
I did dism ...scanhealth
I did dism ...restorehealth
I did sfc /scannow
I did bootrec /fixmbr
I did bootrec /fixboot

How to see the driver booting, each single driver ?
Eprs_AdminSystem Architect

Author

Commented:
still the same -> boot device not accessible
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
I would add the disk to another Windows VM, as a helper, and check using chkdsk.

what storage controller is in use now, and has it been changed ?

What is the stop code ?
Eprs_AdminSystem Architect

Author

Commented:
there is no stop code
Eprs_AdminSystem Architect

Author

Commented:
which disk do you mean ?
The C drive ?
Eprs_AdminSystem Architect

Author

Commented:
is it possible to reinstall the vmware drivers with CMD ?
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Yes the bootable drive mount/connect to another VM to check.

Tools need to be installed from he desktop GUI.
Eprs_AdminSystem Architect

Author

Commented:
do you mean connect to an empty new vm ?
Eprs_AdminSystem Architect

Author

Commented:
do you want to check if the disk is accessible ?
Eprs_AdminSystem Architect

Author

Commented:
ok, I have added the boot disk to another VM and I can see the content of the disk.

What now ?
Eprs_AdminSystem Architect

Author

Commented:
what else ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
chkdsk report any errors ?
Eprs_AdminSystem Architect

Author

Commented:
no errors
Eprs_AdminSystem Architect

Author

Commented:
Hi,
now I have added the original vmdk from the broken VM. The filesystem is accessible.

But when I like to start now the broken VM I get this error, no start possible anymore.
is it a problem to add an existing vmdk to another VM ?

"File system specific implementation of LookupAndOpen[...] failed"
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
But when I like to start now the broken VM I get this error, no start possible anymore.
is it a problem to add an existing vmdk to another VM ?

No.

That error message is an indication that the virtual machine disk is corrupted.
Eprs_AdminSystem Architect

Author

Commented:
ok I see.
I have seen this fix for it:

1.) Enable SSH on the ESXi host with the corrupted VMDK - and login

2.) Check the main VMDK (not with the name -s####.vmdk, the main file!) with

vmkfstools -x check /absolute/path/vm.vmdk
3.) It will probably report that the fail is defective. Repair with

vmkfstools -x repair /absolute/path/vm.vmdk


But I cannot connect via SSH, I have no root user.
I am admin in the vcenter but not locally.
Any ideas to get on the host via ssh ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
There is not really a fix if the vmdk is corrupted.

if the VMDK is corrupted the damage is already done, hence why I was suspicious in the first place the VM cannot boot, with that error message if nothing has changed including the storage driver.

You must be ROOT to login via SSH, unless another user has been defined.

If you do not have a root user, or know it's password, then you will have to restore ESXi or reset the password using the "hack" method which is not support.
Eprs_AdminSystem Architect

Author

Commented:
ok I see
Eprs_AdminSystem Architect

Author

Commented:
Ok, I have seen one blog.
They add the esxi host to the domain and then with the domain admin I can change the root user or add another local user.

What do you think, is it a problem to add the host to the domain ?
Does it affect VMs  or users ?
And later is it possible to change the host back to local authentication ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
how are you going to domain join ESXi without the root userid ?

anything at the host level apart from a host reboot restart will not affect the VMs.

You can change local or domain authentication.
Eprs_AdminSystem Architect

Author

Commented:
Thanks Andrew, you helped me again.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial