Solved

Esxi, involving USB passthrough and booting off USB

Posted on 2016-07-29
4
79 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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

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.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

746 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

12 Experts available now in Live!

Get 1:1 Help Now