I am not a Linux expert. I use Ubuntu to educate myself about Linux and to run my Kodi media center, so when things go wrong, I like to try to fix them instead of simply re-installing or going back to a previous snapshot (which in this case isn't working either!).
So I recently did a system update on my 16.04 and a lot of files were downloaded and installed (I'm assuming this update included the Intel Spectre/Meltdown bug fixes to the kernel). I also upgraded my VirtualBox host to 5.2.6 and installed the latest Guest Additions package. Everything seemed fine except I started to have sound issues (Sound Problem With VirtualBox -5.2.x branch). One of the suggestions on that thread was to revert to an earlier version of Virtualbox, which I did, but couldn't get any of my Ubuntu VMs to boot. It seems that due to the patches for the Intel CPU bug, to enable me to use an old version of VirtualBox, I would need to downgrade my kernel. As this is beyond my abilities, I decided to just re-install the latest 5.2.6 VirtualBox host instead.
This is where the fun and games start. My Ubuntu VM wouldn't boot! I was able to get to the GRUB boot selector and tried each of the 3 kernels listed, but in each case the boot process would stop at the same place.
I did some research and tried disabling a few things (3D acceleration, network adapters, sound card etc), but from what I can see in the boot window, its not even getting close to requiring those items so I cant see how they can be the issue. I tried reverting back through several snapshots of the VM, but all of them experienced the same issue, which now makes me believe there must be something corrupt with the VM container.
I've posted this problem here because I was hoping someone could educate me as to the correct course of action to evaluate and fix a non-booting Ubuntu system. I appreciate that VirtualBox is probably part of the issue here, but I have to choose one path of evaluation before another.
Things I've tried
- Tried all 3 kernels in recovery mode
- Tried disabling graphics, network and sound cards
- Booted into a Ubuntu 16.0.4 LiveCD to do a repair install, but wasnt given an option to "install but keep files" even though it detected that I had a current installation on the disk
- Tried a couple of different Linux VM's I've got (Kali, CentOS) and a Windows 10 VM which all worked fine but I've not yet patched any of them.
I created a brand new 16.0.4 VM, fully patched it and it ran fine, hence another reason why I think its a corrupted container.
I am having problems getting the latest Virtualbox Guest Additions to enable 3D acceleration (even after following Oracle VM VirtualBox 5.1: 3D Acceleration for Ubuntu guests), but with acceleration disabled, at least it runs (but still have the sound issue!).
I don't want to give in. There appears to be further GRUB boot options that I've never used before (e.g. 'c' for a grub command line), so any help trying to educate me on resolving such a difficult issue would be appreciated.