VMWare ESX 3.5i Experiences (ESXi 3.5)
As a followup to my prior post on VMWare ESXi being free now, I’ve taken the plunge and changed over my home servers from VMWare Server 1.0 to ESX 3.5i. The biggest thought was for performance and just something new to play with.
The first step was to see if I could get it installed on my existing hardware. I’ve got an oldish Dell that is running a 2.8Ghz P4 and running VMWare Server 1.0 right now. It has one SATA connector, so while not ideal, at least I can get a SATA drive on there to host the VMs. Everything on it was IDE. Armed with a 1GB Gizmo Jr. Flash Drive, I run the install.
No dice, no installable locations for ESX to install onto. Seeing as I unplugged all the hard disks, i’m not surprised. Then I found this (shamelessly stolen from other websites)
The difference between VMWare ESX 3.5 and 3.5i is that 3.5i does not come with the service console making it on 32mb in size. This means you could have it running on a USB stick and below are the instructions on how to do it.
- Download ESX Server 3i Installable ISO
- Extract INSTALL.TGZ from the root directory of the ISO image using an IZArc
- Extract /usr/lib/vmware/installer/VMware-VMvisor-big-3.5.0-67921.i386.dd.bz2 from INSTALL.TGZ using IZArc
- Extract VMware-VMvisor-big-3.5.0-67921.i386.dd from VMware-VMvisor-big-3.5.0-67921.i386.dd.bz2 using IZArc
- Attach the USB flash drive and make sure you no longer need the data on it
- Use WinImage to transfer VMware-VMvisor-big-3.5.0-67921.i386.dd to the USB flash drive
- Disk->Restore Virtual Hard Disk image on physical drive…
- Select the USB flash drive (Warning: If you select the wrong disk you will lose data!)
- Select the image file VMware-VMvisor-big-3.5.0-67921.i386.dd
- Confirm the warning message
- Wait for the transfer to complete
- Unplug the USB flash drive (Warning: If you forget to unplug the flash drive from the PC you might lose the data on your hard drives the next time you boot!)
- Attach the USB flash drive to the machine you want to boot (Warning: If ESX Server 3i recognizes local drives, you might lose the data on it, so make sure you don´t need it anymore or unplug all hard drives!)
- Turn the machine on and make sure the USB flash drive is selected as boot device
- Watch ESX Server 3i boot
- Configure
First of all 32MB? Not at all. Try 700MB+. You’ll need at least a 1GB flash drive to do this, but based on current pricees, thats no big deal. I followed these steps exactly and voila, it booted to USB and started the configuration process.
If you know anything about networking and virtualization, ESXi is going to be fairly straightforward to install, but as suspected, I needed at least a SATA disk to create the Storage Group (unless you have a SAN or NFS shares sitting at home). I went out a the local TigerDirect and actually bought something locally - a 250GB Seagate SATA drive. With that disk, I was able to create the Storage Group and then onto the task of how to convert my VMs over from VMWare Server 1.0 to ESXi. I don’t know the entire list of network cards supported, but I can tell you ESXi can and will load the e100 or e1000 drivers for Intel Pro/100 and Pro/1000 cards, which is pretty much all I use anyhow. It detected both of mine just fine.
VMWare Converter was a complete bust. In theory, it should have worked, but it kept giving me error about not being able to write to file. A P2V conversion might have worked, but I didn’t want to spend the time considering it should be fairly compatible.
The VMWare Infrastructure Client (part of the ESXi install) allow me to upload files directly into the Storage Group, so I simply uploaded the VMDK files from my existing VMWare Server. Everything online said to just run vmkfstool -i existing.vmdk new.vmdk (putting in the existing vmdk and the new one). It expanded the vmdks to their full size, which I think is by design and then they were suddenly able to be used.
But wait, if you are trying to do this yourself, how did I even get into the command line for linux to even be able to do this since ESXi doesn’t allow command line access?
(Shamelessly stolen from the web)
ESXi 3.5 does ship with the ability to run SSH, but this is disabled by default (and is not supported).
1) At the console of the ESXi host, press ALT-F1 to access the console window.
2) Enter unsupported in the console and then press Enter. You will not see the text you type in.
3) If you typed in unsupported correctly, you will see the Tech Support Mode warning and a password prompt. Enter the password for the root login.
4) You should then see the prompt of ~ #. Edit the file inetd.conf (enter the command vi /etc/inetd.conf).
5) Find the line that begins with #ssh and remove the #. Then save the file. If you’re new to using vi, then move the cursor down to #ssh line and then press the Insert key. Move the cursor over one space and then hit backspace to delete the #. Then press ESC and type in :wq to save the file and exit vi. If you make a mistake, you can press the ESC key and then type it :q! to quit vi without saving the file.
6) Once you’ve closed the vi editor, run the command /sbin/services.sh restart to restart the management services. You’ll now be able to connect to the ESXi host with a SSH client.
This works like a charm. Plus I love having access via ssh. Its unsupported, but its not like i’m doing a paid call to VMWare for my home network.
I created new Virtual Machines and used the existing disks that were already converted and they booted up fine like nothing happened. Just some reconfiguration of the network cards inside of the guests. Performance wise, it seems WAY better, but keep in mind I’ve got a faster disk now, so I assume some of it has to do with this.
Downsides of ESXi over VMWare Server
-
Parallel port pass through is not supported and does not work in ESXi. This does work in ESX and VMWare Server. I was using this, but I have a feeling i’m the only one upset about this.
-
Use of RAW disks (which I was using) is not supported and does not appear to work.
-
USB devices are also not supported from all I’ve read (but haven’t tested). USB for the Hypervisor works great.
Overall, I’m pretty please and consider the test successful. The drawbacks I believe have to do more with the intended audience for ESXi, which are going to be in businesses and running more high end hardware. Its definitely in my opinion a step up from VMWare Server.
If I find anything else out interesting, I’ll be sure to post. There are a lot of features in the Infrastructure Client i’ve yet to play with.

August 17th, 2008 at 6:36 pm
[...] Original post by FrankReal [...]
August 19th, 2008 at 12:05 pm
Is there any other program that you could recommend besides winimage? I receive an error when I try to write the .dd file to the usb stick.
August 19th, 2008 at 10:30 pm
Off hand - no. I haven’t tried doing this with any other apps but i’ll look around. A couple questions though…what error message are you getting, is the usb stick not write protected, and are you sure you don’t have a window open for the drive letter of the memory stick? I bet if anything has a lock on the drive itself, Winimage won’t be able to write the image.
August 20th, 2008 at 4:32 pm
Marc,
Are you using the 64-bit version of WinImage? If so, try it again with the 32-bit version. I had the exact same issue with my 64-bit machine using the 64-bit version of WinImage. When I did it with the 32-bit version of WinImage on a 32-bit machine it worked fine.
August 25th, 2008 at 2:33 pm
For those looking for a WinImage alternative I successfully used “DD for Windows” found here: http://www.chrysocome.net/dd
I used:
dd bs=1M if=VMware-VMvisor-big-3.5.0-67921.i386.dd of=\\?\Device\Harddisk1\Partition0 –progress
I found the path to my removable drive by using the “dd –list” command and then looking in the “NT Block Device Objects” list for the first removable media where the size was the same as my USB flash drive.
Not as sleek as WinImage, but since this is GPL and the only time I expect to ever write a DD image file to a drive, it is much easier than registering yet another piece of software.
August 29th, 2008 at 7:56 am
Excellent, thanks for the DD for Windows instructions.
September 11th, 2008 at 4:35 pm
Thanks for handy tips.
Have you tried telling VMware Converter to output to an ESX server? You just input the IP, root and password. Even easier than converting to VMware Server.
September 11th, 2008 at 8:27 pm
Redboot,
actually VMWare Converter is the first thing I tried. I didn’t do a V2V conversion while the OS is running like I would have done with a P2V conversion - but i’m imagining it would have worked. To be honest, in my situation, I wasn’t running the two machines since I was reusing the same hardware I had. I also tried doing a changeover to ESX with the vmx and vmdk files, but I ended up getting some “Unknown error has occurred” error. In the end, just converting the vmdk files to the ESX style format is what worked for me the best.
Also, in my situation, one of the Servers was running Windows Server 2008, which doesn’t work in my tests when using VMWare Converter. Did you or anyone else have any luck using VMWare Converter Starter Edition (the free one) in getting VMWare Server converted to ESX or ESXi?
September 26th, 2008 at 6:05 am
Update for ESXi 3.5 Update 2 - With Update 2 the service.sh command no longer restarts the inetd process which enables SSH access. You can either restart your host or run ps | grep inetd to determine the process ID for the inetd process. The output of the command will be something like 1299 1299 busybox inetd, and the process ID is 1299. Then run kill -HUP (kill -HUP 1299 in this example) and you’ll then be able to access the host via SSH.
October 1st, 2008 at 8:54 pm
Hi, I haf problem installing the ESXi.. I have try for 5 weeks le, but seems like not getting anywhere. Anybody staying in sinagpore which can help me with it?
Thanks =)
October 7th, 2008 at 8:29 am
[...] Gerke Voor zover ik heb begrepen alleen op een Sata-raid en niet op een enkele disk. Volgens deze dude kan het wel __________________ ETEN X500+ –> Samsung i900 [...]
October 9th, 2008 at 10:05 am
[...] http://www.runningdogleague.com/blog/?p=10 [...]
October 14th, 2008 at 3:14 pm
Hey Tony GREAT post!!! It really helped me out at work where we are switching from VMware server to ESXi. One thing that was discoved was the winimage part (step 6) could not work on Vista but was perfectly fine on XP. Thanks again!!!
October 22nd, 2008 at 2:59 pm
[...] this mod is a no-go
He made his ESXi boot of external USB storage, which was done by following this guide. This makes it far easier to change HDD (when/if u have 2…) without having to re-install the [...]
October 30th, 2008 at 3:36 am
Hi webmaster!
October 30th, 2008 at 3:45 am
Hi webmaster!
November 1st, 2008 at 6:41 am
Thanks for this - great idea.
November 5th, 2008 at 2:34 pm
Hmmm, I am tempted to try this.
November 11th, 2008 at 11:21 pm
Thanks for the great tips.
November 13th, 2008 at 1:54 am
Excellent blog! Interesting article and very informative! I will necessarily subscribe for this blog. http://lowsalego.com/map.html
December 10th, 2008 at 3:26 am
Had same problem with winimage, simple way around that was using vmplayer to run xp and did the rest from there.
December 30th, 2008 at 12:58 pm
The error with winimage happens to me too if i use Vista. Using XP or 2003 I can write the image with no issues.
January 5th, 2009 at 10:23 am
All the documentation states that Raw Device Mapping is supported in ESXi but you say that functionality is not available. Does ESXi not support RDM?
Thanks
David
January 18th, 2009 at 10:50 pm
David,
Raw Device Mapping is supported, but it would not allow me to connect to my local SATA disks. I know definitely you can map directly to an iSCSI lun at this point, its possible you can do it on some other supported disk types as well. I don’t currently have a way that appears to be supported, so I haven’t tested it yet. But you’re right, Raw Device Mapping is support, just not in the same way it is done in VMWare Server.
January 26th, 2009 at 9:21 am
I read couple of articles on how to install esx 3.5i on a usb drive. Weird thing is that they all tell you to use izarc to extract files. You can pretty well use winrar to do that right ?
January 27th, 2009 at 12:02 am
I can’t imagine why Winrar wouldn’t work, but I think most sources mention Izarc because it’s free - and because of a lot of what is written is based on an original source article. (including this post, parts were copied from other sources where I learned it from in the first place.)
March 3rd, 2009 at 8:51 am
Hello webmaster
I would like to share with you a link to your site
write me here preonrelt@mail.ru
March 4th, 2009 at 7:30 pm
i was having an issues with WinImage also but, i reread the instructions and i missed something …
“4.Extract VMware-VMvisor-big-3.5.0-67921.i386.dd from VMware-VMvisor-big-3.5.0-67921.i386.dd.bz2 using IZArc”
i was trying to load the VMvisor-big-3.5.0-67921.i386.dd.bz2 onto the drive when (VMware-VMvisor-big-3.5.0-67921.i386.dd) was supposed to be extracted and loaded onto the drive. After i did that worked like a Charm thanks for the instructions!!
March 12th, 2009 at 7:33 pm
Thanks for the write up. Worked perfectly on a Dell PowerEdge 850 that would NOT install it to the hard drive from CD.
Running ESXi off of thumb drive beautifully now.
March 12th, 2009 at 7:37 pm
[...] Running Dog Leaugue has a good write up on how to install VMWare ESXi on a thumb drive. With this I was able to get it up and running on a Dell PowerEdge 850 that would NOT install ESXi from a CD (couldn’t find a storage device to install to). [...]
March 22nd, 2009 at 1:28 pm
I followed the steps to boot ESXi 3.5 Update 3-123629 of a USB stick. USB is the first boot option in BIOS. I have two USB sticks and tried both, no success. The message is “Boot Error” when booting. Tried in different USB ports, no success so far. Your input is appreciated.
March 26th, 2009 at 12:28 pm
Changing the usb setting in bios to emulate hard-drive fixed the issue. The default setting was “Auto” on Intel DQ35JO.
May 4th, 2009 at 4:51 pm
for people having problems using the the 64-bit winimage use diskpart and the clean command to remove any partitions on the usb key. once that is done winimage will not give an error while writing the *.dd image
July 21st, 2009 at 4:40 pm
Very useful information
July 23rd, 2009 at 7:46 pm
Very useful information. I think it is useful for many people. Thank you for your blogs.
September 9th, 2009 at 11:19 am
Hi! I was surfing and found your blog post… nice! I love your blog.
Cheers! Sandra. R.
September 10th, 2009 at 11:12 am
I love your site.
Love design!!! I just came across your blog and wanted to say that I
September 10th, 2009 at 11:12 am
I love your site.
Love design!!! I just came across your blog and wanted to say that I
September 11th, 2009 at 10:40 am
Sign: umsun Hello!!! rcuwwymhyw and 2382ssgfhphzye and 5697I will try to recommend this post to my friends and family, cuz it
October 5th, 2009 at 8:00 pm
okcmwdabudje
November 4th, 2009 at 4:19 am
Интересный материал, правда не совсем понятно, почему многие делают такие высказывания!?
March 6th, 2010 at 2:50 am
it is interesting and informative article. This has been very helpful understanding a lot
of things. I’m sure a lot of other people will agree with me.
March 21st, 2010 at 6:29 am
Pls. adivce - enable SSH on a ESXi 3.5.0. Nothings happens when I type “unsupported” followed by Enter. I’ve unchecked the boot.tech.support.Mode and rebooted the server.
Rgd. P
May 12th, 2010 at 10:36 pm
Thanks very much for sharing. It is quite useful.
May 19th, 2010 at 6:42 pm
i search your blog form google,great post,thanks for share
June 28th, 2010 at 12:58 am
Thanks very much for sharing
July 20th, 2010 at 2:12 am
I really like your website, I also know a good standing hope to share with youhttp://www.dmchristianlouboutin.com