LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 07-22-2020, 10:43 AM   #1
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Rep: Reputation: Disabled
Question Exasperated !!! grub-customizer does not save customization


On a Dell E6500 with 4GB of RAM and a 128GB SSD Drive ... I really don't care for the logo of the MX Linux boot menu when the system is powering up. So in the past I had always replaced that dark screen with something lighter, friendlier, and more techie looking.

Making adjustments in the grub-boot configuration via MX Tools --> MX Tweak --> Save Settings works without a problem, or so it appears anyway since my selected kernel configuration always boots up.

But changing the background via grub-customizer does absolutely nothing. In the right tab it even shows a preview of the selected, saved image ... and it also shows up in one of the other settings where just the image file name is displayed, but each time when I reboot all of the old ... PREVIOUSLY REMOVED ... kernels still show up as well, along with one of the old screens. There's a JPG as well as PNG version of my image, both show up in the preview, but neither shows up during boot. I've been tinkering with this for a couple of hours now and it's driving me nuts.

Hah, I even went as far as to totally rename (as root) the user/share/backrounds of MX Linux to prevent the boot process from even being able to use those images. So now when I boot up (regardless if I'm restarting or powering up from scratch) there's just a "self-generated" (???) blue screen with a grub text menu which also includes the options that I disabled (removed selections) in the grub-customizer.

The grub.cfg file clearly has the DISABLE_RECOVERY uncommented. Yet they still show up.
The grub.cfg file clearly displays both images under Background & Picture. Yet they do not work.

This is obviously nothing critical since the system works and boots up just fine. But it's really iriitating to see the *SAVED* selections before exiting grub-customizer simply not work as soon as the system is rebooted.
Any thoughts on that? Thanks ...

.

Last edited by LinWinux; 07-22-2020 at 11:20 AM.
 
Old 07-22-2020, 11:54 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,074
Blog Entries: 10

Rep: Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126
One or two things - the latter part of the boot splash is Plymouth, not GRUB.
The way to manually edit grub gonfiguration is /etc/default/grub (and NOT /boot/grub/grub.cfg), followed by a
Code:
sudo update-grub
If all you want is to change the BG image I'd say grub-customiser is overkill, edit /etc/default/grub instead.
 
Old 07-22-2020, 01:50 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,350

Rep: Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034
Is it the grub boot menu background your attempting to change or the splash screen with the progress bar? In grub-customizer you did hit the saved button after making changes? Was the theme box in grub-customizer appearance empty when you was attempting to set the background?
 
Old 07-22-2020, 02:33 PM   #4
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
Thanks for the answers. The first thing that I did was to change the Grub start configuration after upgrading the kernel to 4.19 which required selecting the kernel and saving the configuration. Afterwards I actually used the MX linux Package Manager to delete earlier Kernel versions ... but I did not reboot the machine. Finally I went back to the Grub menu and elected to remove the secondary menu items. My goal was to have 3 lines during boot only. When that was done, I rebooted. What I was hoping for was this:

1. Standard Boot
2. Boot with Systemd
3. Advanced options.

Of course I saved in between. After rebooting the machine, I noticed that it was getting into Kernel 4.19 as I expected ... but I also noticed that there were additional lines of text visible below the first 3 lines. Either 4 or 6, don't remember off-hand since I'm writing this on another computer.

After that I wanted to change the background image. The image that's displayed with the grub boot menu on top of it.

In the grub customizer there are two areas in which to select an image ... which is also why it is somewhat confusing. The first time I didn't go to the final tab on the upper right. I just went to the first part that allows you to select an image. That didn't work though. Not with a png and also not with a jpg image. I did save the settings. I tried doing this following with a save/restart, as well as a save/power off. Neither of these worked. Looking at the final section of the grub costumzier, I noticed that there was an image selection with a preview window. So I used that option ... more than once ... each time receiving the image in the preview window and each time making sure that the image got saved.
Still, after rebooting as well as powering off, no luck having the background image change.

Then, out of frustration, I went ahead and renamed the MX Linux backgrounds folder to OLD_boot_OLD thus making sure that none of the images in that folder could be active during boot. After I did that the dark MX Linux boot background disappeared. However, that's when it turned into the default (XFCE ???) boot screen with a medium blue background behind a very light pale blue text boot menu.

Rebooting, powering off, and starting up is no problem whatsoever. Everything works as it should and there are no errors. But I can't get the boot text menu to only display 3 lines of text and I can't get the background image behind that text to show up as my own image.

.
 
Old 07-22-2020, 02:53 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,350

Rep: Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034
maybe it has something to do with the image your attempting to use. https://wiki.debian.org/Grub/SplashImage
 
Old 07-22-2020, 03:24 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,350

Rep: Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034
For the three menu display in mx-boot options select "use flat menu" or in grub-customizer>advance settings select 'grub_disable_submenu y"
 
Old 07-23-2020, 02:12 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,074
Blog Entries: 10

Rep: Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126Reputation: 5126
Quote:
Originally Posted by LinWinux View Post
...
Maybe my previous post wasn't clear enough, but I mentioned that part of the boot splash (after grub) is courtesy of Plymouth, a completely different software.
Since XFCE has nothing to do with grub, I suspect you are confusing things there.

Beyond that I can only repeat that grub-customizer only adds a pointless level of complexity & fragility (as you are experiencing right now) which is overkill for most situations, esp. when your main concern is only the background image.
It also has nothing to do with removing old kernels.

If you decide to do things manually you always need to remember to run 'update-grub' after editing /etc/default/grub.
 
Old 07-23-2020, 02:36 AM   #8
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
No, I'm not confusing anything and thought that my post was clear enough to understand. I am talking about the screen on which the grub menu is displayed *DURING* boot. In other words, the background image on which the grub menu is actually visible to read and change options with the arrow or F1, F2, etc. keys. Initially MX19 doesn't even have plymouth installed ...
 
Old 07-23-2020, 03:31 AM   #9
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
Alright, the Problem is half solved ....

Either the etc/default/grub ...

Or the boot/grub/grub.cfg ...

... file mentioned the actual path and image name (usr/share/backgrounds/MXLinux/grub/MX-Gold1080P.png) which are being utilized during an initial check as the system is being restarted or powered on. Well, when I checked that location as root, there wasn't even an image there. So I added my own image and renamed it to the default (MX-Gold1080P) that the system would be looking for. And voila, now it shows up.

Now there's still the other half of the problem though!

My Grub Start Menu displays a line for booting with Kernel 4.19, a second line for Kernel 4.19 with Systemd, then two more lines with the same thing but Kernel 4.15 instead. As mentioned earlier, I have already deleted Kernel 4.15 from the system. Those same 4 lines are then duplicated identically. Finally, the last line is for the memory check. So I have a total of 9 lines of text which make up my grub-menu during boot.
I would like to reduce those 9 lines to only 3 lines with Kernel 4.19 plus memory check.

I have no idea how to do this since neither my /boot/grub/grub.cfg nor my etc/default/grub files show me anything that would guide me in the right direction. I've attached them here:

BOOT GRUB GRUB CFG:
Code:
#
# 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="1"
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_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
else
  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
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=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=2
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=2
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
else
  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
fi
insmod png
if background_image /usr/share/backgrounds/MXLinux/grub/MX-Gold1080P.png; then
  set color_normal=light-gray/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### 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 18.3 Continuum, mit Linux 4.19.0-9-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-9-amd64-advanced-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.19.0-9-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.19.0-9-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.19.0-9-amd64
}
menuentry 'MX 18.3 Continuum, with Linux 4.19.0-9-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-9-amd64-init-systemd-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.19.0-9-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.19.0-9-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc init=/lib/systemd/systemd
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.19.0-9-amd64
}
menuentry 'MX 18.3 Continuum, mit Linux 4.15.0-1-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-1-amd64-advanced-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.15.0-1-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.15.0-1-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.15.0-1-amd64
}
menuentry 'MX 18.3 Continuum, with Linux 4.15.0-1-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-1-amd64-init-systemd-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.15.0-1-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.15.0-1-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc init=/lib/systemd/systemd
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.15.0-1-amd64
}

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

### BEGIN /etc/grub.d/10_linux_proxy ###
menuentry "MX 18.3 Continuum, mit Linux 4.19.0-9-amd64" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-9-amd64-advanced-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.19.0-9-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.19.0-9-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.19.0-9-amd64
}
menuentry "MX 18.3 Continuum, with Linux 4.19.0-9-amd64 (systemd)" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-9-amd64-init-systemd-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.19.0-9-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.19.0-9-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc init=/lib/systemd/systemd
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.19.0-9-amd64
}
menuentry "MX 18.3 Continuum, mit Linux 4.15.0-1-amd64" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-1-amd64-advanced-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.15.0-1-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.15.0-1-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.15.0-1-amd64
}
menuentry "MX 18.3 Continuum, with Linux 4.15.0-1-amd64 (systemd)" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-1-amd64-init-systemd-07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	echo	'Linux 4.15.0-1-amd64 wird geladen …'
	linux	/boot/vmlinuz-4.15.0-1-amd64 root=UUID=07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6 ro  quiet zswap.zpool=zsmalloc init=/lib/systemd/systemd
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-4.15.0-1-amd64
}

function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode





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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	else
	  search --no-floppy --fs-uuid --set=root 07ba58b5-fd1a-4555-bf2b-2f230ff6d2a6
	fi
	linux16	/boot/memtest86+.bin
}
fi
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/21_memtest86+_proxy ###





### END /etc/grub.d/21_memtest86+_proxy ###

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/31_uefi-firmware ###
### END /etc/grub.d/31_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 ###
ETC DEFAULT GRUB:
Code:
# 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="1"
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR="`lsb_release -s -d 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet zswap.zpool=zsmalloc"
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_DISABLE_OS_PROBER="true"
GRUB_BACKGROUND="/usr/share/backgrounds/MXLinux/grub/bootback.png"
export GRUB_MENU_PICTURE="/usr/share/backgrounds/MXLinux/grub/bootback.jpg"


GRUB_DISABLE_SUBMENU="y"


#GRUB_SAVEDEFAULT="false"


GRUB_DISABLE_SUBMENU="y"

Last edited by LinWinux; 07-23-2020 at 03:34 AM.
 
Old 07-23-2020, 04:43 AM   #10
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
ALL THE WAY DONE !!!

The grub.cfg file was just so convoluted looking on the 1200 x 800 screen of that old laptop, that I never really notice the "begin / end" lines which enabled me to correctly remove the items which I did not want displayed. Sometimes a bit more patience is better in the long run, guess I was just too irritated and tired last night, which prevented me from seeing the trees in the forest.

.
 
  


Reply

Tags
grub 2, grub boot menu, grub customizer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub Customizer installed but not running zaivala Bodhi 25 02-03-2019 04:12 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: Change your Grub options with Grub Customizer LXer Syndicated Linux News 0 05-11-2013 10:50 AM
LXer: Grub Customizer 2.5.5 is available- Customize grub/Burg from a GUI interface LXer Syndicated Linux News 0 05-10-2012 09:20 PM
LXer: Grub Customizer Lets You Reorder, Add Or Remove GRUB 2 (Or BURG) Menu Entries LXer Syndicated Linux News 0 10-09-2010 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration