Solved

Esxi, involving USB passthrough and booting off USB

Posted on 2016-07-29
4
83 Views
Last Modified: 2016-07-29
Stupidly, I passthrough'd all my USB ports in an attempt to copy USB data to some VMs....

I'm also booting off of a USB thumb drive.  The server boots, copies esxi into memory and then disables USB.  The paradigm is that I remove USB passthrough, but obviously it can't write that change to the USB drive at that point.  Crap.  I can't be the only one who's done this and I can't imagine there's not a way to undo this, short of reinstalling.

Can I remove the USB drive, plug it into another machine, and change or delete lines in a conf file or something?

Desperate here.  There's a ton of VLAN info and networking that I don't want to have to re-add, but will if there's no other option.  

Another kicker, once the esx goes into memory and loads, no keyboard.
0
Comment
Question by:choward16980
  • 2
4 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41734917
placeholder, let me read....

oh dear! you'll not do that again in a hurry!

P.S. it's faster to copy across LAN, than USB it's slow....

what you are going to need to do, is mount the existing ESXi USB flash drive/SD card in another machine.

BUT, have you updated this host ever, and could rollback to previous version, has there been much change since, the upgrade ?

I have an article here, that can help.... and i can then guide you.

HOW TO: Fix An error has occurred adding datastores to an ESXi 5.x host

Use the article, to get a Linux Recovery LiveCD, so we can work in the partitions.

basically, when you need to do is edit the esx,conf file on the active bootbank, and REMOVE the USB passthrough option.

are you familiar with Linux, mounting etc

Step 1. Create mount folders

mkdir /mnt/sdf5
mkdir /mnt/sdf6

Open in new window


then you need to mount the bootbank and altbank (only one is used and active) you will need to check both.

2. Mount folders

mount /dev/sdf6 /mnt/sdf5
mount /dev/sdf6 /mnt/sdf6

Open in new window


then we copy the file, untar it, edit the esx.conf, remove the usb passthrough, tar it back copy tar back done.
0
 
LVL 16

Author Closing Comment

by:choward16980
ID: 41735254
As always sir, thanks!
0
 
LVL 118
ID: 41735260
no problems.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now