Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Using ESXi 4.x installation media for access to virtual machine files (1014447)

Last Updated: 3/20/2024Categories: How toTotal Views: 10738Language:
English

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Purpose

This article provides guidelines for accessing virtual machines on local storage when the ESXi server installation is unable to boot successfully. This article uses the ESXi 4.x Install DVD as a live environment for troubleshooting, but can be used to recover data written by ESX/ESXi 3.x or 4.x.

The process can also be performed using the ESX 4.x Install DVD. For more information see Using ESX installation media for access to virtual machine files (1030778).

You may require access to your virtual machine files if:

A VMware ESX/ESXi server is unable to boot and a re-installation is required.

There are virtual machines residing on, or only accessible by, the downed server (such as on local VMFS storage).

Notes:

The ESX/ESXi installation process already provides the capability to reinstall the operating system while retaining existing VMFS partition contents, including contained virtual machines. This article assumes that virtual machine recovery or access is still desired prior to re-installation.

If the VMFS Datastore is shared and accessible by multiple ESX hosts, the process in this article is unnecessary. The virtual machines can be restored by registering the virtual machine to a working ESX host. For more information, see Registering or adding a virtual machine to the inventory (1006160).

Resolution

To use the ESXi 4.x installation media for access to virtual machine files:

Note: This process steps partially through the ESXi Installation process without writing any changes to disk.

Download the appropriate VMware ESXi 4.x installation media as an ISO image from the Download Center.

Burn the image to recordable media, or mount the image to your System Management Interface's virtual CD/DVD-ROM drive.

Boot from the ESXi installation media. ESXi loads drivers during startup.

The system boots to a Welcome prompt with three options: Cancel, Repair or Install. Do not proceed with either Repair or Install.

Press Alt+F1.

Log in to the console.

For ESXi 4.0:

Type unsupported and press Enter. Keystrokes are echoed to the screen.

Press enter to login with a blank password.

ESXi 4.1:

Type the login name "root" and press enter.

Press enter to login with a blank password.

At this point, you have access to VMFS Datastores and their contents, along with the vmkfstools and esxcfg-* commands. Yoy may need to load the VMFS driver to detect the VMFS volume by using the command:

#vmkload_mod vmfs3

DHCP is configured by default on the vmk0 interface. Verify the IP address with the command:

esxcfg-vmknic -l

Note: If needed, use esxcfg-vmknic to set a static IP address. For more information, see Networking Commands in the vSphere Command-Line Interface Installation and Reference Guide.

List the contents of /vmfs/volumes/ to verify that the existing VMFS-3 Datastores are accessible. Run the command:

ls /vmfs/volumes

If storage is missing, see:

Verifying that ESX virtual machine storage is accessible (1003751)

Troubleshooting LUN connectivity issues (1003955)

Identifying shared storage issues with ESX or ESXi (1003659)

Transfer data from your VMFS Datastore(s) using:

Network connectivity and Secure File Copy (SCP). For more information, see Using SCP to Copy Files to or from an ESX Server System (1918).

Network connectivity and File Transfer Protocol (FTP)

Related Information

For specific guidance on copying virtual machine files in the command-line, see:

Commands for ESX and ESXi in Moving or copying a virtual machine in a VMware environment (1000936).

Cloning and converting virtual machine disks with vmkfstools (1028042).

Prior to powering-on a virtual machine that was recovered to a different host, see Changing or keeping a UUID for a moved virtual machine (1541).

Specific recovery or backup procedures, processes, and commands are beyond the scope of this article and VMware Technical Support. However, you can raise a discussion in the VMware Communities.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
VMware End Of Availability of Perpetual Licensing and SaaS Services (96168)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

Related Versions:

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

Take Our Survey

Support Assistant