Fixes for Ubuntu guests

These patches fix some issues for Ubuntu guests.
Hey Chris,
I'd suggest setting this "cpu_chk_cmd" in shared/cfg/guest-os/Linux/Ubuntu.cfg instead, because changing the existed cmd would cause some guest can't work correctly. Putting an Ubuntu-specific config in Ubuntu.cfg will overwrites the config in the upper level config file Linux.cfg when you use the ubuntu guest.