vmware inaccessible boot device

Hi Experts,

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

Error : inaccessible boot device.
Eprs_AdminSystem ArchitectAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eprs_AdminSystem ArchitectAuthor Commented:
it is a fileserver
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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 ArchitectAuthor Commented:
Updates were pending and after the reboot all gone.

Do you know about some bad updates ?
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Any update can be a potential candidate for an outage, unless tested.

Restore from backup you took before applying updates.
Eprs_AdminSystem ArchitectAuthor Commented:
is it possible to reinstall the needed drivers , vmware and storage driver ?

I just can connect to the CMD
Eprs_AdminSystem ArchitectAuthor Commented:
This is an single ESXi with local storage.
No snapshots available.
No backup available.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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 ArchitectAuthor 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 ArchitectAuthor Commented:
still the same -> boot device not accessible
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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 ArchitectAuthor Commented:
there is no stop code
Eprs_AdminSystem ArchitectAuthor Commented:
which disk do you mean ?
The C drive ?
Eprs_AdminSystem ArchitectAuthor Commented:
is it possible to reinstall the vmware drivers with CMD ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Yes the bootable drive mount/connect to another VM to check.

Tools need to be installed from he desktop GUI.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eprs_AdminSystem ArchitectAuthor Commented:
do you mean connect to an empty new vm ?
Eprs_AdminSystem ArchitectAuthor Commented:
do you want to check if the disk is accessible ?
Eprs_AdminSystem ArchitectAuthor Commented:
ok, I have added the boot disk to another VM and I can see the content of the disk.

What now ?
Eprs_AdminSystem ArchitectAuthor Commented:
what else ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
chkdsk report any errors ?
Eprs_AdminSystem ArchitectAuthor Commented:
no errors
Eprs_AdminSystem ArchitectAuthor 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 ConsultantCommented:
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 ArchitectAuthor 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 ConsultantCommented:
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 ArchitectAuthor Commented:
ok I see
Eprs_AdminSystem ArchitectAuthor 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 ConsultantCommented:
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 ArchitectAuthor Commented:
Thanks Andrew, you helped me again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.