Solved

Esxi, involving USB passthrough and booting off USB

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

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 120
ID: 41735260
no problems.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

696 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