The One at botom for hotcorner plugin
sudo apt-get install -y libnotify-dev
The One at botom for hotcorner plugin
sudo apt-get install -y libnotify-dev
Yes, that one should be quite safe, too...
Hmmm.
Where is Scooby Doo when needed?
None Worked, Even the Grub one gave This,
sudo apt remove --purge grub-pc grub-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
adwaita-qt zorin-os-default-settings
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-common* grub-efi-amd64-bin* grub-efi-amd64-signed*
grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub-theme-zorin* grub2-common*
linux-image-5.15.0-43-generic os-prober* shim-signed* zorin-os-artwork*
zorin-os-lite-core* zorin-os-lite-default-settings* zorin-os-lite-desktop*
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
shim-signed grub-efi-amd64-signed (due to shim-signed)
grub2-common (due to shim-signed)
0 upgraded, 0 newly installed, 15 to remove and 18 not upgraded.
2 not fully installed or removed.
After this operation, 51.3 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] Yes, do as I say!
(Reading database ... 289613 files and directories currently installed.)
Removing linux-image-5.15.0-43-generic (5.15.0-43.46~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-43-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 184
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/grub.cfg.new file attached.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-5.15.0-43-generic (--remove):
installed linux-image-5.15.0-43-generic package post-removal script subprocess
returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-5.15.0-43-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt remove --purge grub-pc grub-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
adwaita-qt zorin-os-default-settings
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-common* grub-efi-amd64-bin* grub-efi-amd64-signed*
grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub-theme-zorin* grub2-common*
linux-image-5.15.0-43-generic os-prober* shim-signed* zorin-os-artwork*
zorin-os-lite-core* zorin-os-lite-default-settings* zorin-os-lite-desktop*
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
shim-signed grub-efi-amd64-signed (due to shim-signed)
grub2-common (due to shim-signed)
0 upgraded, 0 newly installed, 15 to remove and 18 not upgraded.
2 not fully installed or removed.
After this operation, 51.3 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] Yes, do as I say!
(Reading database ... 289613 files and directories currently installed.)
Removing linux-image-5.15.0-43-generic (5.15.0-43.46~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-43-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 184
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/grub.cfg.new file attached.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-5.15.0-43-generic (--remove):
installed linux-image-5.15.0-43-generic package post-removal script subprocess
returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-5.15.0-43-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Fascinating...
ok only run
sudo dpkg --configure -a
Post the output, if any... if none, proceed to run:
sudo apt --fix-broken install
And post the output here.
Also, have you ever installed a Higher Linux Kernel than what is supplied by Zorin?
No, I Have not. An Update Pop-up today did this wonderful thing.
Actually I also found .46 and .48 according to the output for @anon6471198's command.
linux-image-5.15.0-43-generic/focal-updates,focal-security,focal-updates,now 5.15.0-43.46~20.04.1 amd64 [installed]
linux-image-5.15.0-46-generic/focal-updates,focal-security,focal-updates,now 5.15.0-46.49~20.04.1 amd64 [installed,automatic]
linux-image-5.15.0-48-generic/focal-updates,focal-security,focal-updates,now 5.15.0-48.54~20.04.1 amd64 [installed,automatic]
linux-image-generic-hwe-20.04/focal-updates,focal-security,focal-updates,now 5.15.0.48.54~20.04.18 amd64 [installed,automatic]
Your Output,
sudo dpkg --configure -a
Setting up linux-image-5.15.0-48-generic (5.15.0-48.54~20.04.1) ...
Processing triggers for linux-image-5.15.0-48-generic (5.15.0-48.54~20.04.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.15.0-48-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-48-generic
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 184
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/grub.cfg.new file attached.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-5.15.0-48-generic (--configure):
installed linux-image-5.15.0-48-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.15.0-48-generic
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-5.15.0-43-generic
0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
2 not fully installed or removed.
After this operation, 11.0 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 289613 files and directories currently installed.)
Removing linux-image-5.15.0-43-generic (5.15.0-43.46~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-43-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 184
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/grub.cfg.new file attached.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-5.15.0-43-generic (--remove):
installed linux-image-5.15.0-43-generic package post-removal script subprocess
returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-5.15.0-43-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ok, please post the output of
sudo nano /etc/default/grub
You can use the </> button on the toolbar above your reply to tag the full output pasted from your terminal.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=<731d98ad-46a5-4095-87c7-8bdb>
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_THEME=/usr/share/grub/themes/zorin/theme.txt
The quote tag is not closed on the above line. Please correct this by adding the " at the end of that line.
It should look just like
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=<731d98ad-46a5-4095-87c7-8bdb>"
Once done,
ctrl+x
then the y
key, then the enter
key.
Then run
sudo update-grub
I am Sorry the Output Was not copied Out of the Page it was Closed.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=<731d98ad-46a5-4095-87c7-8bdb<7-8bdb28065344>"
Ok, how about the full contents of:
/boot/grub/grub.cfg
?
How to Copy the Entire thing?
Don't use nano. It can be done but is a pain...
Instead, just open it with text editor.
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
insmod gfxmenu
insmod png
set theme=($root)/usr/share/grub/themes/zorin/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Zorin' --class zorin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-731d98ad-46a5-4095-87c7-8bdb28065344' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
linux /boot/vmlinuz-5.15.0-46-generic root=UUID=731d98ad-46a5-4095-87c7-8bdb28065344 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.15.0-46-generic
}
submenu 'Advanced options for Zorin' $menuentry_id_option 'gnulinux-advanced-731d98ad-46a5-4095-87c7-8bdb28065344' {
menuentry 'Zorin, with Linux 5.15.0-46-generic' --class zorin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-46-generic-advanced-731d98ad-46a5-4095-87c7-8bdb28065344' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
echo 'Loading Linux 5.15.0-46-generic ...'
linux /boot/vmlinuz-5.15.0-46-generic root=UUID=731d98ad-46a5-4095-87c7-8bdb28065344 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-46-generic
}
menuentry 'Zorin, with Linux 5.15.0-46-generic (recovery mode)' --class zorin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-46-generic-recovery-731d98ad-46a5-4095-87c7-8bdb28065344' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
echo 'Loading Linux 5.15.0-46-generic ...'
linux /boot/vmlinuz-5.15.0-46-generic root=UUID=731d98ad-46a5-4095-87c7-8bdb28065344 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-46-generic
}
menuentry 'Zorin, with Linux 5.15.0-43-generic' --class zorin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-43-generic-advanced-731d98ad-46a5-4095-87c7-8bdb28065344' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
echo 'Loading Linux 5.15.0-43-generic ...'
linux /boot/vmlinuz-5.15.0-43-generic root=UUID=731d98ad-46a5-4095-87c7-8bdb28065344 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-43-generic
}
menuentry 'Zorin, with Linux 5.15.0-43-generic (recovery mode)' --class zorin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-43-generic-recovery-731d98ad-46a5-4095-87c7-8bdb28065344' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 731d98ad-46a5-4095-87c7-8bdb28065344
else
search --no-floppy --fs-uuid --set=root 731d98ad-46a5-4095-87c7-8bdb28065344
fi
echo 'Loading Linux 5.15.0-43-generic ...'
linux /boot/vmlinuz-5.15.0-43-generic root=UUID=731d98ad-46a5-4095-87c7-8bdb28065344 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-43-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Line 184 is:
linux /boot/vmlinuz-5.15.0-46-generic root=UUID=731d98ad-46a5-4095-87c7-8bdb28065344 ro quiet splash $vt_handoff
Which is also in your grub default.
I think you added that to enable Hibernate... (Is hibernate working?)
But let's Temporarily test something...
sudo nano /etc/default/grub
and revert
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=<731d98ad-46a5-4095-87c7-8bdb>"
To
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
ctrl+x
, y
, enter
...
sudo update-grub
Then test.
sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
done
Hibernate wrks but I want to remove it,
Ok... Well grub is now working correctly.
So let's go back to
sudo dpkg --configure -a
Setting up linux-image-5.15.0-48-generic (5.15.0-48.54~20.04.1) ...
Processing triggers for linux-image-5.15.0-48-generic (5.15.0-48.54~20.04.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.15.0-48-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-48-generic
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
done
Ok, now
sudo apt --fix-broken install
sudo apt update
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-5.15.0-43-generic
0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
1 not fully installed or removed.
After this operation, 11.0 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 289613 files and directories currently installed.)
Removing linux-image-5.15.0-43-generic (5.15.0-43.46~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-43-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-48-generic
Found initrd image: /boot/initrd.img-5.15.0-48-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Adding boot menu entry for UEFI Firmware Settings
done
sudo apt update
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal InRelease
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:7 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Get:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:9 https://packages.zorinos.com/stable focal InRelease
Hit:10 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:11 https://packages.zorinos.com/patches focal InRelease
Hit:12 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:13 https://packages.zorinos.com/apps focal InRelease
Hit:14 https://packages.zorinos.com/drivers focal InRelease
Hit:15 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Get:16 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [726 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [726 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,113 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,113 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [955 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [693 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [955 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [693 kB]
Fetched 9,316 kB in 16s (570 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
18 packages can be upgraded. Run 'apt list --upgradable' to see them
Also, Is there any way to stop that pop up from coming, I can live with sudo apt update
. It is a real challenge to keep your Linux alive evryday without re installation
The pop up is back