Showing extra options in bootloader

after update there are option for “manjaro linux” and “advanced options for manjaro” like before and also there are new options “manjaro linux 20.1” and “advanced options for 20.1”
the first option is useless. if I select this the system will not start. the option “manjaro linux 20.1” is the working one.
why the old useless boot option is still there?

sudo update-grub should solve this if there is only one manjaro installation on your drive.

yes there is only one manjaro installation.
the problem is there after the new update.

Myself i have no problem. Still the same. “manjaro linux”, “advanced options for manjaro” and “EFI Firmware” is there. That’s it. Check your configs :wink:

sudo update-grub
[sudo] password for abdun: 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found Manjaro Linux (20.1) on /dev/sda2
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

:sweat_smile: something’s fishy

Please check lsblk, just to keep sure there is only one installation :smiley:

lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0  55.3M  1 loop /var/lib/snapd/snap/core18/1885
loop1    7:1    0  96.6M  1 loop /var/lib/snapd/snap/core/9804
loop2    7:2    0  62.1M  1 loop /var/lib/snapd/snap/gtk-common-themes/1506
loop3    7:3    0  29.9M  1 loop /var/lib/snapd/snap/snapd/8542
loop4    7:4    0  29.9M  1 loop /var/lib/snapd/snap/snapd/8790
loop5    7:5    0    74M  1 loop /var/lib/snapd/snap/wine-platform-3-stable/6
loop6    7:6    0 226.7M  1 loop /var/lib/snapd/snap/wine-platform-runtime/145
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0   301M  0 part /boot/efi
├─sda2   8:2    0 815.8G  0 part /run/timeshift/backup
└─sda4   8:4    0 107.1G  0 part /mnt/46F2C1A639AC7995
sr0     11:0    1  1024M  0 rom

Any way you can possible post your grub.cfg via pastebin or the

Hide details

To use this, click the :gear: icon in the post editor and click the details button

option in the forum?

1 Like

GRUB finds the images under /boot and then finds another installation in /dev/sda2. The second entry should be from timeshift. I don’t use timeshift, but I think this is normal.

here is my grub.cfg

grub.cfg
    #
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
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 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
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
else
  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
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_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=hidden
  set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
  set timeout=0
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
	savedefault
	load_video
	set gfxpayload=keep
	insmod gzio
	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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
	else
	  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
	fi
	linux	/boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw  quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
	initrd	/boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
	menuentry 'Manjaro Linux (Kernel: 4.19.138-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.138-1-MANJARO x64-advanced-559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
	savedefault
		load_video
		set gfxpayload=keep
		insmod gzio
		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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		else
		  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		fi
		linux	/boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw  quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
		initrd	/boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel: 4.19.138-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.138-1-MANJARO x64-fallback-559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
		load_video
		set gfxpayload=keep
		insmod gzio
		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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		else
		  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		fi
		linux	/boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw  quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
		initrd	/boot/initramfs-4.19-x86_64-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Manjaro Linux (20.1) (on /dev/sda2)' --class manjarolinux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
	savedefault
	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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
	else
	  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
	fi
	linux /boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
	initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
}
submenu 'Advanced options for Manjaro Linux (20.1) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
	menuentry 'Manjaro Linux (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19-x86_64--559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
		savedefault
		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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		else
		  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		fi
		linux /boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
		initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel 4.19.138-1-MANJARO x64) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19-x86_64--559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
		savedefault
		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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		else
		  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		fi
		linux /boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
		initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel 4.19.138-1-MANJARO x64 - fallback initramfs) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19-x86_64--559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
		savedefault
		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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		else
		  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		fi
		linux /boot/vmlinuz-4.19-x86_64 root=UUID=559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff rw quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568
		initrd /boot/initramfs-4.19-x86_64-fallback.img
	}
	menuentry 'Memory Tester (memtest86+) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+/memtest.bin--559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff' {
		savedefault
		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-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		else
		  search --no-floppy --fs-uuid --set=root 559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
		fi
		linux /boot/memtest86+/memtest.bin 
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### 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/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 ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff
        linux16 /boot/memtest86+/memtest.bin 
    }
fi
### END /etc/grub.d/60_memtest86+ ###

yes.
And I, also think that this was caused by timeshift. when the update was running, a Timeshift Backup was also running.
I’ve deleted all Timeshift Snapshots and /run/timeshift folder also.
Still the extra boot option is there.

But why? if you don’t want timeshift uninstall it and remove the partition. Then update GRUB and the entry will be gone.

there is no separate partition for timeshift. It is the system partition where timeshift stores backups in a folder. and don’t want to remove timeshift. I was using it also before the update. And the extra boot entry was not there before the update. and also the menu was invisible untill I press shift.

It is a partition for timeshift backups. That’s what I meant.

Maybe there’s an hook for backup before updating and this is the first time it was triggered?

This can be triggered with some option /etc/default/grub
There’s also another way to set it through the command line, but, honestly, I don’t remember how. It shouldn’t be hard to find it out though.

I had the same Problem.
Reason: Machine with only one Operatingsystem!
Go to " /etc/default/grub/ " (sudo required!)
and change entry to: GRUB_DISABLE_OS_PROBER=true

I didn’t understand :arrow_down:

:worried:
umm… I think this problem was not my fault?

/etc/default/grub/

grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

Please edit your post and enclose terminal output within three backticks or use the button </>

Test this (after saving file: sudo update grub)

GRUB
GRUB_DEFAULT=saved
       GRUB_TIMEOUT=5
    # GRUB_TIMEOUT_STYLE=hidden
      GRUB_DISABLE_OS_PROBER=true
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 resume=/dev/disk/by-uuid/559b919a-0ba0-4aaa-a1b9-5c1e2ad82aff resume_offset=2541568"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

He needs to sudo update-grub first. @Alif sorry if this is obvious to you, but I don’t know if you’re aware of that.

1 Like