Something's wrong with GRUB
Ubuntu 12.04
I installed updates, which included a new kernel. I went to remove one of the older kernels and got: Code:
jnojr@DEV:~$ sudo apt-get purge linux-image-3.13.0-46-generic |
Please post /etc/grub/grub.cfg.
|
How exactly did you remove the old kernel? --> Oops! OK, I caught it on the "re-read!"
I haven't tried this yet on my present Mint 17 system but when I was running Ubuntu 10.4 I just went in to /boot and ran Code:
$sudo rm abi-3.xx.x-xx-generic I now usually try to keep at least three kernels in /boot as if I do an update which screws up, I just reboot and select an older one then remove the flakey one as above. I think Ubuntu 12.04 may use Grub2(?) in which case check this out Play Bonny! :hattip: |
Quote:
Code:
# If you change this file, run 'update-grub' afterwards to update |
The message in your initial post indicates there is a syntax error on line 146 of the /boot/grub/grub.cfg file which is why you were asked to post at least that part of it. Someone might be able to tell you what is wrong with the line if you posted it.
|
Quote:
Code:
# |
Quote:
|
Quote:
Please also post the content of /etc/kernel/postrm.d/zz-update-grub |
Quote:
|
Hi 273,
Thanks for the recognition. (The cheque's in the post... :D ) Play Bonny! :hattip: |
Quote:
Code:
joliver@JOHN-DEV:~$ sudo update-grub Line 146 is: Code:
function gfxmode { |
Quote:
Quote:
Code:
joliver@JOHN-DEV:~$ cat /etc/kernel/postrm.d/zz-update-grub |
Quote:
We need to see /boot/grub/grub.cfg.new |
All times are GMT -5. The time now is 10:47 PM. |