Bug with guest additions? CentOS 7 fails to boot after update...
Posted: 29. Jun 2016, 09:46
...Installed an update to CentOS 7 running under Virtualbox 5.0.22 r108108, and the system fails to boot *after* the guest addition modules are installed.
So sequence of events is :-
-Boot CentOS, update, reboot. (has new kernel, 3.10.0-327.22.2.e17.x86_64)
-System boots. No guest addition modules loaded however and so no shared folders mounted.
-Installed guest additions.
-Shared folders are now mounted
-Reboot
-System fails to reach CentOS 7 desktop with a splash window saying 'Oh no something has gone wrong. A problem has occurred and the system can't recover. Please logout and try again. Logout' (Very fscking helpful. A button that said 'show me the error messages' would be useful here.)
-Reboot with previous kernel. (3.10.0-327.18.2.e17.x86_64)
-Boots to desktop, but no guest addition modules...Virtualbox kernel service is not running.
-Install guest additions get the following in the terminal window running the process :-
-dracut[4413] : Can't write to /boot/initramfs : Directory /boot/initramfs does not exist or is not accessible.
-Guest additions install however.
-Reboot with the old kernel still (3.10.0-327.18.2.e17.x86_64)
-Fails to reach desktop with above error.
-Reboot with newer kernel
-Fails to reach desktop.
-Reboot with even older kernel than above.
-Fails to reach desktop.
-Bumholes.
-Boot with rescue kernel image
-Fails to reach desktop.
-Double bumholes.
I've spent hours creating this image with a suite of bespoke scientific software installed. I've been lost for days down a maze of twisty passages fixing broken dependencies for legacy software made 5 years or more ago; I was on the last stretch when I thought it would be clever to update the system. I've got an image clone from the stage before last; so its not all lost....
However, any help with troubleshooting/fixing this would be appreciated! Otherwise I may just hit the problem again next time around.
I'm new to all the new fancy shmancy dracut stuff. When I were I lad I installed linux using floppies...
*edit*
OK. Booting and hitting 'e' at the grub menu and removing rghb and quiet from the options allows me to see the boot process scrolling past...Very quickly. No glaring errors I could see. Gets past the network initialisation goes to start windows...And fails...
Hitting Alt-F4 drops me to a command prompt. Dmseg doesn't show anything obvious. lsmod show the virtual box modules don't appear to be loaded.
Looking at /var/messages however shows SElinix is barfing up libEGL and libGL with
SElinux is preventing /usr/bin/gnome-session from read access on the link file libGL.so.1
(and liEGL.so.1 also)
So thats the problem then. How to fix *that*????
*edit*
Tried setting selinux to permissive and reboot. Still failed to start gnome and /var/messages is showing selinux errors to /var/lib/VboxGuestAdditions/libEGL.so.1. Disabling SELinux still doesn't allow gnome to work...
So sequence of events is :-
-Boot CentOS, update, reboot. (has new kernel, 3.10.0-327.22.2.e17.x86_64)
-System boots. No guest addition modules loaded however and so no shared folders mounted.
-Installed guest additions.
-Shared folders are now mounted
-Reboot
-System fails to reach CentOS 7 desktop with a splash window saying 'Oh no something has gone wrong. A problem has occurred and the system can't recover. Please logout and try again. Logout' (Very fscking helpful. A button that said 'show me the error messages' would be useful here.)
-Reboot with previous kernel. (3.10.0-327.18.2.e17.x86_64)
-Boots to desktop, but no guest addition modules...Virtualbox kernel service is not running.
-Install guest additions get the following in the terminal window running the process :-
-dracut[4413] : Can't write to /boot/initramfs : Directory /boot/initramfs does not exist or is not accessible.
-Guest additions install however.
-Reboot with the old kernel still (3.10.0-327.18.2.e17.x86_64)
-Fails to reach desktop with above error.
-Reboot with newer kernel
-Fails to reach desktop.
-Reboot with even older kernel than above.
-Fails to reach desktop.
-Bumholes.
-Boot with rescue kernel image
-Fails to reach desktop.
-Double bumholes.
I've spent hours creating this image with a suite of bespoke scientific software installed. I've been lost for days down a maze of twisty passages fixing broken dependencies for legacy software made 5 years or more ago; I was on the last stretch when I thought it would be clever to update the system. I've got an image clone from the stage before last; so its not all lost....
However, any help with troubleshooting/fixing this would be appreciated! Otherwise I may just hit the problem again next time around.
I'm new to all the new fancy shmancy dracut stuff. When I were I lad I installed linux using floppies...
*edit*
OK. Booting and hitting 'e' at the grub menu and removing rghb and quiet from the options allows me to see the boot process scrolling past...Very quickly. No glaring errors I could see. Gets past the network initialisation goes to start windows...And fails...
Hitting Alt-F4 drops me to a command prompt. Dmseg doesn't show anything obvious. lsmod show the virtual box modules don't appear to be loaded.
Looking at /var/messages however shows SElinix is barfing up libEGL and libGL with
SElinux is preventing /usr/bin/gnome-session from read access on the link file libGL.so.1
(and liEGL.so.1 also)
So thats the problem then. How to fix *that*????
*edit*
Tried setting selinux to permissive and reboot. Still failed to start gnome and /var/messages is showing selinux errors to /var/lib/VboxGuestAdditions/libEGL.so.1. Disabling SELinux still doesn't allow gnome to work...