Search This Blog


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"

Booting into recovery mode:
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
in order to be able to press
to get to terminal environment

Sometimes you'll have instances where you need to reset passwords that can be done using:

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


No comments:

Post a Comment