Activating the Service Console using a Bootable Rescue Disk¶
The section covers editing VMware boot configuration installed on the eMMC drive with a CentOS 6.7 rescue disk.
After installing ESXi to eMMC, download CentOS 6.7 in order to boot the
recovery environment which allows editing of the
boot.cfg as was done on the
USB memstick for installation. This will allow ESXi to boot correctly on the
Download CentOS 6.7, make sure it is not CentOS 7 because the boot procedure
is different. The image file
CentOS-6.7-x86_64-minimal.iso was used in this
Write CentOS 6.7 to a USB memstick with Rufus, dd, or another similar utility.
After flashing CentOS to the USB memstick, plug it in the top USB port of the RCC-VE unit and power-cycle or turn it on.
At the screen with countdown, highlight Rescue installed system and press
Space and add
the line so it looks like the following screenshot. Then press
Wait for the CentOS recovery disk to boot and select an appropriate Language.
On the Rescue Method media selection screen select Hard Drive.
On the Select Partition screen, choose
After a short wait, under Setup Networking select NO.
Select Continue on the Rescue screen.
Select OK on the warning screen.
Select shell and press
Once the shell has started, create a temporary mount point for
boot.cfg is located. Type the following commands:
mkdir /tmp/mnt2 mount /dev/sdb5 /tmp/mnt2
Continue with the next commands:
cd /tmp/mnt2 ls
The last command will list the contents of
boot.cfg file with command:
Next, add the following text at the end of the
kernelopt line, leading with
Space (move the cursor to the end of the line and press
text nofb com2_baud=115200 com2_Port=0x2f8 tty2Port=com2 gdbPort=none logPort=none
Save the file (Press
Esc, then type
:wq and press
Reboot the CentOS recovery disk and remove the USB memstick.
ESXi is now installed and ready to use. Login with the vSphere client to connect to ESXi.
If the system will not boot from the eMMC, ensure that the BIOS has
been updated to version 06 or later. With BIOS version 06, during the boot
process the boot order can be changed to prefer the eMMC by pressing
the option for Payload (e.g.
7), then enter the letter for the eMMC (e.g.
i), followed by
E to save and exit.