Many submenu-options at the grub list vanished

Message
Author
User avatar
fehlix
Developer
Posts: 12968
Joined: Wed Apr 11, 2018 5:09 pm

Re: Many options at the grub list vanished

#11 Post by fehlix »

Perhaps also show partition layout this way:

Code: Select all

lsblk --fs
and

Code: Select all

sudo parted --list

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Many options at the grub list vanished

#12 Post by keos »

Code: Select all

keos@keos-mx:~
$ lsblk --fs
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda  vfat         B8E5-F2DC                                           
nvme0n1
│                                                                     
├─nvme0n1p1
│    vfat         DAB1-D49A                             460.2M     6% /boot/efi
├─nvme0n1p2
│    ext4   Manjaro
│                 8e5faa71-cff4-4e40-84a9-fe22a204dccb                
├─nvme0n1p3
│    ext4   Endeavouros
│                 dace6e36-8d39-4c7e-9c41-32191c8117a2                
├─nvme0n1p4
│    ext4   rootMX19
│                 af011a48-5b6e-41c5-8f95-82a4af45382b   21.9G    20% /
├─nvme0n1p5
│    ext4         b6888e4e-41c9-4925-9a71-1907d061b6a2                
├─nvme0n1p6
│    ext4         218bcaea-0fc0-41bd-8c12-40ab72265b57                
└─nvme0n1p7
     ext4         f6cc25e1-c248-4a32-b563-16c021502574                
keos@keos-mx:~
$ sudo parted --list
[sudo] password for keos: 
Model: SanDisk Cruzer Glide (scsi)
Disk /dev/sda: 8003MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End     Size    File system  Flags
 1      0.00B  8003MB  8003MB  fat32


Model: PC SN520 NVMe WDC 256GB (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  513MB   512MB   fat32              boot, esp
 2      513MB   33.2GB  32.7GB  ext4
 3      33.2GB  66.2GB  33.0GB  ext4
 4      66.2GB  98.1GB  31.9GB  ext4
 5      98.1GB  130GB   31.9GB  ext4
 6      130GB   162GB   32.0GB  ext4
 7      162GB   194GB   32.2GB  ext4


keos@keos-mx:~
$ 
May be this can help too ...

viewtopic.php?f=104&t=56956#p566150
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
fehlix
Developer
Posts: 12968
Joined: Wed Apr 11, 2018 5:09 pm

Re: Many options at the grub list vanished

#13 Post by fehlix »

Can you pull out the USB flash drive "SanDisk Cruzer Glide",
and run

Code: Select all

sudo update-grub
and post the shown output.

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Many options at the grub list vanished

#14 Post by keos »

Code: Select all

keos@keos-mx:~
$ sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/linen/theme.txt
Found linux image: /boot/vmlinuz-4.19.0-6-amd64
Found initrd image: /boot/initrd.img-4.19.0-6-amd64
Found mtest-64.efi image: /boot/uefi-mt/mtest-64.efi
Found Manjaro Linux (19.0.2) on /dev/nvme0n1p2
Found EndeavourOS Linux (rolling) on /dev/nvme0n1p3
Adding boot menu entry for EFI firmware configuration
done
keos@keos-mx:~
$ 
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
fehlix
Developer
Posts: 12968
Joined: Wed Apr 11, 2018 5:09 pm

Re: Many options at the grub list vanished

#15 Post by fehlix »

keos wrote: Thu Apr 09, 2020 1:20 pm

Code: Select all

keos@keos-mx:~
$ sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/linen/theme.txt
Found linux image: /boot/vmlinuz-4.19.0-6-amd64
Found initrd image: /boot/initrd.img-4.19.0-6-amd64
Found mtest-64.efi image: /boot/uefi-mt/mtest-64.efi
Found Manjaro Linux (19.0.2) on /dev/nvme0n1p2
Found EndeavourOS Linux (rolling) on /dev/nvme0n1p3
Adding boot menu entry for EFI firmware configuration
done
keos@keos-mx:~
$ 
OK. So you are saying you do not see the Manjaro and EndeavourOS menu entries, when booting, right?
Perhaps let's of a look into the whole file: /boot/grub/grub.cfg.

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Many options at the grub list vanished

#16 Post by keos »

No, what i'm saying is that there were other options at the entries in MXLinux that vanished, they are not more in the list of options (means at MXLinux).

-- one of these options allow me before to get into others OS (from there i was able to do something inside Manjaro,now i need to do the same but ...)
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
fehlix
Developer
Posts: 12968
Joined: Wed Apr 11, 2018 5:09 pm

Re: Many options at the grub list vanished

#17 Post by fehlix »

keos wrote: Thu Apr 09, 2020 1:38 pm No, what i'm saying is that there were other options at the entries in MXLinux that vanished, they are not more in the list of options (means at MXLinux).

-- one of these options allow me before to get into others OS (from there i was able to do something inside Manjaro,now i need to do the same but ...)
What options? ... Are you talking about submenu? Perhaps someone else can understand this better?

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Many options at the grub list vanished

#18 Post by keos »

Yes, a kind of submenu if you prefer -- i'm not able to copy the results of /boot/grub/grub.cfg I can't download the page while coping ...
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
fehlix
Developer
Posts: 12968
Joined: Wed Apr 11, 2018 5:09 pm

Re: Many options at the grub list vanished

#19 Post by fehlix »

keos wrote: Thu Apr 09, 2020 1:57 pm Yes, a kind of submenu if you prefer -- i'm not able to copy the results of /boot/grub/grub.cfg I can't download the page while coping ...
open Terminal and run

Code: Select all

fpad /boot/grub/grub.cfg
Copy'n'paste the content here [code]between code tags[/code]

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Many options at the grub list vanished

#20 Post by keos »

Code: Select all

#
# 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 [ "${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 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
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  af011a48-5b6e-41c5-8f95-82a4af45382b
else
  search --no-floppy --fs-uuid --set=root af011a48-5b6e-41c5-8f95-82a4af45382b
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=es_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  af011a48-5b6e-41c5-8f95-82a4af45382b
else
  search --no-floppy --fs-uuid --set=root af011a48-5b6e-41c5-8f95-82a4af45382b
fi
insmod gfxmenu
insmod png
set theme=($root)/boot/grub/themes/linen/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'MX 19.1 patito feo' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-af011a48-5b6e-41c5-8f95-82a4af45382b' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  af011a48-5b6e-41c5-8f95-82a4af45382b
	else
	  search --no-floppy --fs-uuid --set=root af011a48-5b6e-41c5-8f95-82a4af45382b
	fi
	echo	'Loading Linux 4.19.0-6-amd64 ...'
	linux	/boot/vmlinuz-4.19.0-6-amd64 root=UUID=af011a48-5b6e-41c5-8f95-82a4af45382b ro  splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.19.0-6-amd64
}
submenu 'Advanced options for MX 19.1 patito feo' $menuentry_id_option 'gnulinux-advanced-af011a48-5b6e-41c5-8f95-82a4af45382b' {
	menuentry 'MX 19.1 patito feo, with Linux 4.19.0-6-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-6-amd64-advanced-af011a48-5b6e-41c5-8f95-82a4af45382b' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  af011a48-5b6e-41c5-8f95-82a4af45382b
		else
		  search --no-floppy --fs-uuid --set=root af011a48-5b6e-41c5-8f95-82a4af45382b
		fi
		echo	'Loading Linux 4.19.0-6-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-6-amd64 root=UUID=af011a48-5b6e-41c5-8f95-82a4af45382b ro  splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-6-amd64
	}
	menuentry 'MX 19.1 patito feo, with Linux 4.19.0-6-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-6-amd64-init-systemd-af011a48-5b6e-41c5-8f95-82a4af45382b' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  af011a48-5b6e-41c5-8f95-82a4af45382b
		else
		  search --no-floppy --fs-uuid --set=root af011a48-5b6e-41c5-8f95-82a4af45382b
		fi
		echo	'Loading Linux 4.19.0-6-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-6-amd64 root=UUID=af011a48-5b6e-41c5-8f95-82a4af45382b ro  splash init=/lib/systemd/systemd
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-6-amd64
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
if [ "${grub_platform}" == "efi" ]; then
   if [ "${grub_cpu}" == "x86_64" ]; then
:  
menuentry "Memory Test (64-bit UEFI)" {
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  af011a48-5b6e-41c5-8f95-82a4af45382b
	else
	  search --no-floppy --fs-uuid --set=root af011a48-5b6e-41c5-8f95-82a4af45382b
	fi
	chainloader	/boot/uefi-mt/mtest-64.efi
}
  fi
fi
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Manjaro Linux (19.0.2) (on /dev/nvme0n1p2)' --class manjarolinux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  8e5faa71-cff4-4e40-84a9-fe22a204dccb
	else
	  search --no-floppy --fs-uuid --set=root 8e5faa71-cff4-4e40-84a9-fe22a204dccb
	fi
	linux /boot/vmlinuz-5.6-x86_64 root=UUID=8e5faa71-cff4-4e40-84a9-fe22a204dccb rw quiet apparmor=1 security=apparmor udev.log_priority=3
	initrd /boot/initramfs-5.6-x86_64.img
}
submenu 'Advanced options for Manjaro Linux (19.0.2) (on /dev/nvme0n1p2)' $menuentry_id_option 'osprober-gnulinux-advanced-8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
	menuentry 'Manjaro Linux (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.6-x86_64--8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  8e5faa71-cff4-4e40-84a9-fe22a204dccb
		else
		  search --no-floppy --fs-uuid --set=root 8e5faa71-cff4-4e40-84a9-fe22a204dccb
		fi
		linux /boot/vmlinuz-5.6-x86_64 root=UUID=8e5faa71-cff4-4e40-84a9-fe22a204dccb rw quiet apparmor=1 security=apparmor udev.log_priority=3
		initrd /boot/initramfs-5.6-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel 5.6.2-1-MANJARO x64) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.6-x86_64--8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  8e5faa71-cff4-4e40-84a9-fe22a204dccb
		else
		  search --no-floppy --fs-uuid --set=root 8e5faa71-cff4-4e40-84a9-fe22a204dccb
		fi
		linux /boot/vmlinuz-5.6-x86_64 root=UUID=8e5faa71-cff4-4e40-84a9-fe22a204dccb rw quiet apparmor=1 security=apparmor udev.log_priority=3
		initrd /boot/initramfs-5.6-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel 5.6.2-1-MANJARO x64 - fallback initramfs) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.6-x86_64--8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  8e5faa71-cff4-4e40-84a9-fe22a204dccb
		else
		  search --no-floppy --fs-uuid --set=root 8e5faa71-cff4-4e40-84a9-fe22a204dccb
		fi
		linux /boot/vmlinuz-5.6-x86_64 root=UUID=8e5faa71-cff4-4e40-84a9-fe22a204dccb rw quiet apparmor=1 security=apparmor udev.log_priority=3
		initrd /boot/initramfs-5.6-x86_64-fallback.img
	}
	menuentry 'Manjaro Linux (Kernel 5.5.15-1-MANJARO x64) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.5-x86_64--8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  8e5faa71-cff4-4e40-84a9-fe22a204dccb
		else
		  search --no-floppy --fs-uuid --set=root 8e5faa71-cff4-4e40-84a9-fe22a204dccb
		fi
		linux /boot/vmlinuz-5.5-x86_64 root=UUID=8e5faa71-cff4-4e40-84a9-fe22a204dccb rw quiet apparmor=1 security=apparmor udev.log_priority=3
		initrd /boot/initramfs-5.5-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel 5.5.15-1-MANJARO x64 - fallback initramfs) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.5-x86_64--8e5faa71-cff4-4e40-84a9-fe22a204dccb' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  8e5faa71-cff4-4e40-84a9-fe22a204dccb
		else
		  search --no-floppy --fs-uuid --set=root 8e5faa71-cff4-4e40-84a9-fe22a204dccb
		fi
		linux /boot/vmlinuz-5.5-x86_64 root=UUID=8e5faa71-cff4-4e40-84a9-fe22a204dccb rw quiet apparmor=1 security=apparmor udev.log_priority=3
		initrd /boot/initramfs-5.5-x86_64-fallback.img
	}
}

menuentry 'EndeavourOS Linux (rolling) (on /dev/nvme0n1p3)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-dace6e36-8d39-4c7e-9c41-32191c8117a2' {
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  dace6e36-8d39-4c7e-9c41-32191c8117a2
	else
	  search --no-floppy --fs-uuid --set=root dace6e36-8d39-4c7e-9c41-32191c8117a2
	fi
	linux /boot/vmlinuz-linux root=UUID=dace6e36-8d39-4c7e-9c41-32191c8117a2 rw quiet loglevel=3
	initrd /boot/initramfs-linux.img
}
submenu 'Advanced options for EndeavourOS Linux (rolling) (on /dev/nvme0n1p3)' $menuentry_id_option 'osprober-gnulinux-advanced-dace6e36-8d39-4c7e-9c41-32191c8117a2' {
	menuentry 'EndeavourOS Linux, with Linux linux (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--dace6e36-8d39-4c7e-9c41-32191c8117a2' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  dace6e36-8d39-4c7e-9c41-32191c8117a2
		else
		  search --no-floppy --fs-uuid --set=root dace6e36-8d39-4c7e-9c41-32191c8117a2
		fi
		linux /boot/vmlinuz-linux root=UUID=dace6e36-8d39-4c7e-9c41-32191c8117a2 rw quiet loglevel=3
		initrd /boot/initramfs-linux.img
	}
	menuentry 'EndeavourOS Linux, with Linux linux (fallback initramfs) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--dace6e36-8d39-4c7e-9c41-32191c8117a2' {
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  dace6e36-8d39-4c7e-9c41-32191c8117a2
		else
		  search --no-floppy --fs-uuid --set=root dace6e36-8d39-4c7e-9c41-32191c8117a2
		fi
		linux /boot/vmlinuz-linux root=UUID=dace6e36-8d39-4c7e-9c41-32191c8117a2 rw quiet loglevel=3
		initrd /boot/initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $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 ###
One of these options or submenu are good for the grub reparation.
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

Post Reply

Return to “Software / Configuration”