Blah, Cloud.

Adventures in architectures

  • Twitter
  • GitHub
  • Home
  • Blog
  • Kubernetes on vSphere
  • Multi-tenant IaaS Networking
  • Me
    • About
    • CV
    • Contact
Home » Blog » Hardware » In need of a multi-OS, bootable USB? Use an Android phone.

In need of a multi-OS, bootable USB? Use an Android phone.

07/04/2016 by Myles Gray 4 Comments

I found myself in the position recently whereby I had two hosts I bought off eBay (as one does for labs), they arrived, I had great plans… But no iDRAC Enterprise :(

While the iDRAC Ent cards were on their way to me I couldn’t help but want to install ESXi on these things so they were ready to go (old Dell R610s are seriously good value now). One slight problem. No iDRAC Ent means no virtual console, or virtual media. I don’t have any USB drives because I use cloud storage for that kind of thing and they had CD drives – what is this, the dark ages, does my mac look like it has room for a CD burner?

So in my impatience I wanted a solution and this is what I came up with; I’m bad for keeping old tech around incase they one day may come in handy again – and my old Samsung Galaxy Nexus fit the bill perfectly – so after an hour on the charger and years of updates being installed it was ready to rock.

In case you haven’t gathered by now the plan is to use the Android phone as a USB storage device to boot the servers off and install my ISO(s).

There are a few pre-requisites:

  • Android Phone
  • USB Data cable (yeah, got bitten by the “power only” USB cables)
  • DriveDroid
  • Windows install with Rufus on it

I’m not going to nerd out too much, but Rufus is absolutely flawless, I have never used a program that makes bootable USBs so easily, without all that Floppy disk ROM faff.

So, start your Android phone, install the DriveDroid app, click the + button and hit Create blank image... this will essentially create a blanked out space on the internal storage of the phone to which you can write an ISO image.

Create blank image

Next we will give it a name and a size – this is just for your own reference, as you can see mine is called ESXI6.0U2.iso and i’ve given it a size of 768MB which I know is larger than the ISO that will be extracted to it.

Image Creation

You can view image creation progress in the notification center.

DriveDroid Image Creation Progress

Next, we are going to click on the image we just created and choose Writable USB as the type, this will then mount the device, as a writable USB to your Mac/PC/VM.

Mounting Image

In my case, I run Windows as a VM, so I attached the USB device to the VM and it shows up as such. Just hit Cancel here as Rufus will do this for us.

Drive detection

Now we can run Rufus and it should detect the USB disk, ensure you pick the correct one then set up as below (be sure the Create a bootable disk option is using ISO Image), select the ISO for ESXi then hit Start.

Rufus ESXi Settings

Yes, we want to wipe the device and the progress should begin.

Rufus image write progress

Once that is done we can close Rufus, and should see our ISO installer presented as a USB to the host operating system again – now we’re ready to roll.

Burn successful

Boot the server/desktop into BIOS, ensure that USB emulation mode is Hard Drive, reboot into BIOS Boot Manager and choose the USB device as the boot drive – It should boot right into ESXi’s installer.

Given how easy it was to create images and how easy it is to switch between them with DriveDroid i’m going to put a new more standard ISOs on there, Windows 10, Ubuntu and the like.

Until the next time…

Why not follow @mylesagray on Twitter for more like this!

Show some love:

  • Reddit
  • Twitter
  • Pocket
  • LinkedIn
  • Email
  • Telegram

Similar things I've written

Filed Under: Hardware Tagged With: android, esxi, iso, rufus, vmware

About Myles Gray

Hi! I'm Myles, and I'm a Dev Advocate at VMware. Focused primarily on content generation, product enablement and feedback from customers and field to engineering.

Comments

  1. Muahmmed Fadhil says

    13/11/2016 at 00:03

    dude..i’m sorry but i tired everything yet no luck at all…rufus won’t detect my phone…at all any idea how to fix this ?

    Reply
    • Jorge says

      20/02/2017 at 11:56

      You have to have a rooted phone.

      Reply
  2. Kirimie says

    06/10/2018 at 13:01

    i think if Rufus cant detect you phone, may be its issues with the windows you are using. i commonly use windows 7 which has an option to open your device as a removable disk. if you select this option, rufus will detect it just like a usb stick so just go on and make it bootable

    Reply
  3. mary111 says

    27/01/2021 at 22:39

    Maybe mention that the phone needs to be rooted?!?!

    Reply

Leave a Reply Cancel reply

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

Myles Gray

Hi! I'm Myles, and I'm a Dev Advocate at VMware. Focused primarily on content generation, product enablement and feedback from customers and field to engineering. Read More…

Categories

Tags

active directory authentication CBT cisco datastore dell design esxi fortigate iscsi jumbo frame kubernetes lab linux load-balancing lun md3000i mtu networking NginX nic nsx openSUSE osx pxe readynas san sdelete serial teaming ubuntu vcenter vcloud director vcsa vexpert video VIRL vmdk vmfs vmware vsan vsphere vsphere 6 vsphere beta windows

Subscribe to Blog via Email

Copyright © 2021 · News Pro Theme on Genesis Framework · WordPress · Log in

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.