Search This Blog

2014-08-13

Troubleshooting Ubuntu Boot Issues VMware

To get into grub you need to hold the shift key while the device is booting. In a VM environment the BIOS goes so fast it's difficult to press the shift key in enough time to capture.

So you can edit the vmx file to delay boot
bios.bootDelay = "15000"
http://askubuntu.com/questions/30858/how-to-reset-lost-user-password-on-a-guest-on-vmware-server

Booting into recovery mode: https://wiki.ubuntu.com/RecoveryMode
Personally I ended up using the init=/bin/bash and removing quiet and spash from the kernel line.

Sometimes it may be useful to get out of a graphical environment. In a VMware environment ctrl+alt is an escape sequence. So you need to press
ctrl+alt+space
in order to be able to press
F1
to get to terminal environment
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006012

Sometimes you'll have instances where you need to reset passwords that can be done using: https://help.ubuntu.com/community/LostPassword

Additionally its useful to know which user has sudo privileges to see who is going to login by default. Use visudo for this and look for which users are added to the group included in the sudoers file. Normally the admin group have sudo priviledges and then you can just check /etc/group to find the users tied to this.

GDM Problems

Most GDM problems show up via error messages on login when trying to bring up a login window common messages are:
Could not update ICEauthority file /var/lib/gdm/.ICEauthority
Could not update ICEauthority file /home/sandvine/.ICEauthority

Generally these are permission issues and can easily be solved by the following:
chown -R sandvine:sandvine /home/sandvine
chown -R gdm:gdm /var/lib/gdm
service gdm stop
dpkg-reconfigure gdm
service gdm start

References: https://answers.launchpad.net/ubuntu/+source/gdm/+question/197098

No comments:

Post a Comment