vCenter Converter fails to import machine at 1%

I got kicked in the face by this again, and I even had the resolution documented internally.  Lost 45 minutes looking through logs before I finally search VMware KB for it.  Argv!

Unexpected exception: converter.fault.clonefault
(converter.fault.CloneFault) {
dynamicType = ,
faultCause = (vmodl.MethodFault) null,
description = Unknown exception,
msg = ,

This is caused by the source computer not being able to communicate with the ESX server by DNS resolution. Simply added the DNS entry into c:windowssystem32etchosts and I was good to go.

VMware’s KB on this:

List Grub2 Kernels and Change Default Boot

Here’s an easy one-liner to get the list of kernels Grub2 has in /boot/grub/grub.cfg.

First, let’s find out what the default kernel is…

root@vz:~# grep ^GRUB_DEFAULT /etc/default/grub

Ok, so 0 is loaded by default. Now, let’s list all the kernels…

root@vz:~# grep ^menuentry /boot/grub/grub.cfg |sed -e s/' .*/'/g|more
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64'
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)'
menuentry 'Debian GNU/Linux, with Linux 2.6.32-042stab059.7'
menuentry 'Debian GNU/Linux, with Linux 2.6.32-042stab059.7 (recovery mode)'

Ok cool, I’m loading ‘Debian GNU/Linux, with Linux 3.2.0-4-amd64′ by default.

I want to change this to load ‘Debian GNU/Linux, with Linux 2.6.32-042stab059.7′ so I will need to use the following command:

From the list you can change you default boot kernel and setting it by the command line or edit the file with your favorite command line editor (vi ;])

NOTE: The items start at 0, so if I wanted the last item as default, it would be number 3 (not 4).

root@vz~~# sed -i 's/^GRUB_DEFAULT=0/GRUB_DEFAULT=2/' /etc/default/grub

Then, run update_grub and reboot.

root@vz:~# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found linux image: /boot/vmlinuz-2.6.32-042stab059.7
Found initrd image: /boot/initrd.img-2.6.32-042stab059.7


How to Boot to Desktop in Windows 8.1

Windows 8.1 introduced (one of many) a new feature that allows you to boot directly to desktop mode.

Here’s how to configure Windows 8.1 to boot directly to desktop mode at startup.

Step 1

Right-click anywhere on the taskbar and select Properties

Step 2

Check ‘Go to the desktop instead of Start when I sign on

10 Deadly Sins of Administrators

Only 10?! Security audits are the best opportunity to become familiar with the common and uncommon security mistakes done by administrators. The reasons of misconfiguration are very typical: lack of time, lack of monitoring systems, lack of knowledge. Very often common mistakes are very serious and can lead to some serious security breaches. Nobody likes when the passwords of your users are being cracked, right? Nobody likes to see this in the audit report. During this intensive and very technical session Paula will show you the commonly seen ‘infrastructure sins’. Of course there are more than 10…, but if you start to fulfill all of these shown on the session, your network will become significantly more secure!

Paula Januszkiewicz created a video in which she titles 10 Deadly Sins of Administrators.