Create an ESXi 6.0U2 installation ISO with Realtek 8168 Drivers

Posted on Updated on

Folks — I need your help. I’ve been running this blog for 8 years and my blog has never broke the top 100 vBlogs.  It’s been a bit disappointing but I write my blog for you the reader.  If you like this blog post then its time to vote for vmexplorer.com for Top vBlog of 2018 — https://topvblog.questionpro.com/  Thank you for your support — Matt

Now on to the blog you came for….

ESXi no longer supports Realtek Network drivers nor are they included on the installation ISO.  However, if you want to install ESXi with the Realtek drivers, then users will have to create a custom ISO. Keep in mind these drivers are NOT supported by VMware and should be used as your own risk.  Normally, I would use my trusty ESXi-Customizer GUI program but it is no longer supported for ESXi 6.  In replacement they offer a CLI supported program. However, instead of learning another 3rd party tool I’d rather rely on the VMware tools provided to me. VMware enables users to create custom ISOs via PowerCLI and in this blog I’ll explain how I used PowerCLI create my ISO. Keep in mind these are the steps that worked for me, your environment may vary.

— Required Tools and Files —

To get started you will need two files and PowerCLI Installed on a Windows PC.  You can skip these steps if you have the ESXi Offline Bundle, PowerCLI installed, and the RealTek Drivers.

STEP1: File 1: Download VMware 6.0U2 Offline Bundle ZIP >> www.vmware.com/download

STEP 2: File 2: Download RealTek 8186 Offline bundle >> https://vibsdepot.v-front.de/wiki/index.php/Net55-r8168

STEP 3: If you haven’t yet download and install PowerCLI >> https://communities.vmware.com/community/vmtn/automationtools/powercli

Tip: If you don’t know PowerCLI try starting here

STEP 4: Next Place the files from Step 1 and 2 into c:\tmp folder

–POWERCLI COMMANDS—

Now that you have your files and PowerCLI ready follow these steps.  For step below I included a screenshot and the actual command allowing you to copy, paste, and edit into your environment.

STEP 1: Open PowerCLI (Tip: If you don’t know PowerCLI try starting here)

STEP 2: Add ESXi 6.0u2 and RealTek8186 products to the local Software Depot (Tip: All commands below assume your files are located in the c:\tmp folder)

Add-EsxSoftwareDepot C:\tmp\update-from-esxi6.0-6.0_update02.zip

Add-EsxSoftwareDepot C:\tmp\net55-r8168-8.039.01-napi-offline_bundle.zip

STEP 3: Confirm the products are in the depot

Get-EsxSoftwareDepot

STEP 4:  List out the ESXi Image Profiles

Get-EsxImageProfile

STEP 5:  Create a Clone Image to be modified – Ensure you are targeting the “ESXi…..standard” profile from step 3

New-EsxImageProfile -cloneprofile ESXi-6.0.0-20160302001-standard -Name “RealTek8186a”

Forward-Looking Tip: Whatever name you choose it will show up in your boot ISO

STEP 6: Set the Acceptance Level to Community Supported – Remember RealTek is unsupported by VMware

Set-EsxImageProfile -Name RealTek8186a -AcceptanceLevel CommunitySupported

For ImageProfile Enter – RealTek8186a

STEP 7: Ensure the RealTek net55-r8186 driver is loaded from the local depot (Screenshot shortened)

Get-EsxSoftwarePackage

STEP 8: Add the RealTek software package to the profile

Add-EsxSoftwarePackage

ImageProfile: RealTek8186a

SoftwarePackage[0]: net55-r8168 8.039.01-napi

Tip: For the SoftwarePackage you MUST enter the full name, if you just use the short name it will not work

STEP 9: Validate the RealTek drivers are now part of the RealTek8186a Profile (Screenshot shortened)

(Get-EsxImageProfile “RealTek8186a”).viblist

STEP 10: Export the profile to an ISO

Export-EsxImageProfile -ImageProfile “RealTek8186a” -ExportToIso -FilePath c:\tmp\RealTek8186a.iso

And that’s it… You should find your new ISO in the c:\tmp folder.  From here you can burn your ISO to a media of your choice or boot the ISO via ilo, iDRAC, virtual media etc.

If you like my ‘no-nonsense’ blog articles that get straight to the point… then post a comment or let me know… Else, I’ll start writing boring blog content.

12 thoughts on “Create an ESXi 6.0U2 installation ISO with Realtek 8168 Drivers

    Richard Powers said:
    January 10, 2018 at 3:27 pm

    I know this is older blog post but I like the quick to the point blog posts.

    Thx

    RichPo

    Like

      Matt Mancini responded:
      January 21, 2018 at 9:09 pm

      You are very welcome Mr. Powers, and you hit on the point of my no-nonsense blog – my posts get right to the point and leave out the fluff! Feel free to reach out any time.

      Like

    Navel said:
    April 9, 2018 at 2:45 am

    Thankz Mat , this is just what i needed. Been looking for almost 2 hours before I found your tutorial.
    Indeed the “no-nonse, straight to the point” approach is in my opinion the best. Lots should take learning from this.
    I sure will come back to check the rest of your blog. First gonna install ESX.

    Cheers,
    Navelpluiz.

    Like

      Matt Mancini responded:
      April 9, 2018 at 9:31 am

      You are very welcome and thank you for taking the time to post up.

      Like

    Ben said:
    May 13, 2018 at 1:43 am

    Hi, Where would I find an ISO file with the realtek drivers already injected. that would be most useful…

    Like

      Matt Mancini responded:
      May 17, 2018 at 8:43 am

      I believe, and don’t quote me on this, the last time RealTek was part of the VMware ISO was vSphere 5.1. After that the RealTek Drivers were no longer supported with ESXi and everyone with a non-production Home labs have been injecting them ever since. I don’t recall why they were removed from the vSphere line and I have not heard of their return. Best bet for compatibility is to buy Intel or Broadcom NICs.

      Like

    Yussuf Rajab said:
    September 24, 2018 at 5:23 am

    please provide the iso image you have created. That way will be super easy

    Like

      Matt Mancini responded:
      September 24, 2018 at 10:01 am

      Thanks for the comment. Supplying a ISO that is modified is a great idea… However, it would be a violation of licensing and re-distributions agreements so legally I cannot.

      Like

    Mocha Emiro said:
    October 8, 2018 at 8:24 am

    this is the best, quick tutorial of crafting custom iso for ESXi.
    i use this for my 6.5 version.

    I hope will find success.

    Like

      Matt Mancini responded:
      October 10, 2018 at 4:16 pm

      Thank you for the comment. I do appreciate it! If there is anything I can do to improve the blog post please do let me know.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.