You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I usually run sudo apt update then sudo apt full-upgrade (and also flatpak update) in the terminal instead of (please don't judge me) looking in the about plug or appcenter.
Whenever there's a kernel update I noticed the part where it processes /etc/default/grub seems to run twice. I can repro this by just doing sudo update-grub which causes it to seem to run twice with output such as the following:
vishal@blackbird:~$ sudo update-grub
[sudo] password for vishal:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found theme: /boot/grub/themes/whitesur/theme.txt
Found background image: /boot/grub/themes/whitesur/background.jpg
Found linux image: /boot/vmlinuz-6.8.0-53-generic
Found initrd image: /boot/initrd.img-6.8.0-53-generic
Found linux image: /boot/vmlinuz-6.8.0-52-generic
Found initrd image: /boot/initrd.img-6.8.0-52-generic
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found theme: /boot/grub/themes/whitesur/theme.txt
Found background image: /boot/grub/themes/whitesur/background.jpg
Found linux image: /boot/vmlinuz-6.8.0-53-generic
Found initrd image: /boot/initrd.img-6.8.0-53-generic
Found linux image: /boot/vmlinuz-6.8.0-52-generic
Found initrd image: /boot/initrd.img-6.8.0-52-generic
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
vishal@blackbird:~$
I have multiple OS installations in a "penta-boot" including Windows and the above was run with temporarily setting GRUB_DISABLE_OS_PROBER=true in /etc/default/grub if this is relevant to the issue. Here is the output of sudo update-grub with the option set to false just FYI but the issue occurs with the flag set to true as shown above:
vishal@blackbird:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found theme: /boot/grub/themes/whitesur/theme.txt
Found background image: /boot/grub/themes/whitesur/background.jpg
Found linux image: /boot/vmlinuz-6.8.0-53-generic
Found initrd image: /boot/initrd.img-6.8.0-53-generic
Found linux image: /boot/vmlinuz-6.8.0-52-generic
Found initrd image: /boot/initrd.img-6.8.0-52-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Found KDE neon User Edition (24.04) on /dev/nvme0n1p7
Found openSUSE Tumbleweed on /dev/nvme0n1p8
Found Debian GNU/Linux trixie/sid on /dev/nvme0n1p9
done
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found theme: /boot/grub/themes/whitesur/theme.txt
Found background image: /boot/grub/themes/whitesur/background.jpg
Found linux image: /boot/vmlinuz-6.8.0-53-generic
Found initrd image: /boot/initrd.img-6.8.0-53-generic
Found linux image: /boot/vmlinuz-6.8.0-52-generic
Found initrd image: /boot/initrd.img-6.8.0-52-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Found KDE neon User Edition (24.04) on /dev/nvme0n1p7
Found openSUSE Tumbleweed on /dev/nvme0n1p8
Found Debian GNU/Linux trixie/sid on /dev/nvme0n1p9
done
vishal@blackbird:~$
What Happened?
I usually run
sudo apt update
thensudo apt full-upgrade
(and alsoflatpak update
) in the terminal instead of (please don't judge me) looking in the about plug or appcenter.Whenever there's a kernel update I noticed the part where it processes
/etc/default/grub
seems to run twice. I can repro this by just doingsudo update-grub
which causes it to seem to run twice with output such as the following:I have multiple OS installations in a "penta-boot" including Windows and the above was run with temporarily setting
GRUB_DISABLE_OS_PROBER=true
in/etc/default/grub
if this is relevant to the issue. Here is the output ofsudo update-grub
with the option set tofalse
just FYI but the issue occurs with the flag set totrue
as shown above:Steps to Reproduce
sudo update-grub
in the terminal.Sourcing file '/etc/default/grub'
happening twice.Expected Behavior
Should appear to run (print the
Sourcing file '/etc/default/grub'
and related output) only once.Host OS
elementary OS 8 (Circe) daily.
Image Version
elementary OS 8 daily running on bare metal as the main OS with other OS's installed alongside.
Hardware Platform
64-bit AMD/Intel (x86)
Log Output
Hardware Info
No response
Contents of
/etc/default/grub
etc_default_grub.txt
The text was updated successfully, but these errors were encountered: