Solved

Esxi, involving USB passthrough and booting off USB

Posted on 2016-07-29
4
107 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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 121
ID: 41735260
no problems.
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

707 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