Quote:
Originally Posted by fatmac
Maybe using dpkg -i on those .deb files will work(?).
|
This is the part of syslog that was a clue
Quote:
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: acpi=force: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
|
I had a lot of help solving this issue with someone who is much more skilled with linux OS than me,I will post how I did it here in case anyone else finds themselves in this situation; a halfway installed kernel, thank god I was able to boot into it. First I checked my
-> "quiet splash" and I noticed that it was missing a little line inside
Quote:
GRUB_CMDLINE_LINUX_DEFAULT="acpi=force"
|
I recalled there used to be a second option in there "quiet splash", so instead of doing the nano way, I decided to purge grub-common and remove the 5 other dependencies ( I made sure to write each one of them down so I could reinstall later on.
And here is how this went down, I was on the machine, not via ssh, too many variables can go wrong doing such work with ssh
Code:
dpkg --get-selections | grep grub - this allowed me to see all the dependencies
apt-get purge grub2-common - this removed my grub2
apt-get install grub2-common - this reinstalled my grub2
update-grub - always run this after any grub2 work
apt-get install shim - dependency
apt-get install grub-efi-amd64-bin - dependency
apt-get install grub-efi-amd64- dependency
apt-get install grub-efi-amd64-signed- dependency
apt-get install grub2-themes-ubuntu-mate- dependency
dpkg --configure -a
update -grub -to finish off the process
I later checked my /etc/default/grub and as I have suspected that option was there
Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
GRUB_CMDLINE_LINUX=""
I was now able to reinstall the latest kernel and no more errors. By the way guys, what option can I input here /etc/default/grub during the bootup phase which would allow me to pick which kernel or kernel recovery I can choose, this would come in very handy, as it stands now, it all goes by so fast I can't even get into the grub options by holding down the shift button