Syntax errors are detected in generated GRUB config file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Boot-Repair |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I recently upgraded to Linux Mint 20 and I'm having boot issues. I have tried many things over the last 8 hours of trying to fix this. Here is what I'm getting from boot-repair which has asked me to do this:
sudo chroot "/mnt/boot-
Here is the output:
Installing for i386-pc platform.
Installation finished. No error reported.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Sourcing file `/etc/default/
Generating grub configuration file ...
Script `/boot/
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of grub-gfxpayload
grub-gfxpayloa
Package grub-pc is not configured yet.
dpkg: error processing package grub-gfxpayload
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-pc
grub-gfxpayloa
The grub.cfg.new file contains:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
I am at a complete loss as to how to move forward and have lost access to my main computer. Help would be much appreciated.
Thanks,
Mike
Changed in boot-repair: | |
status: | New → Invalid |