You are not logged in.

#1 2025-01-19 00:24:29

MetalParsley753
Member
Registered: 2025-01-19
Posts: 5

cant update grub settings

I have tried using grub customizer and updating /etc/default/grub
and then running grub-mkconfig and grub-mkconfig -o "/boot/grub/grub.cfg"
but it still doesn't update the grub menu
It says I am using grub not grub2
I am also using disk encryption & btrfs with a separate home partition

Offline

#2 2025-01-19 00:49:41

mackin_cheese
Member
Registered: 2025-01-07
Posts: 146

Re: cant update grub settings

What research have you done so far regarding this issue?

Offline

#3 2025-01-19 04:37:08

MetalParsley753
Member
Registered: 2025-01-19
Posts: 5

Re: cant update grub settings

I cant find anything on the internet about the same issue or in the arch wiki

Offline

#4 2025-01-19 09:45:52

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,738
Website

Re: cant update grub settings

What did you do with grub-customizer? Does removing it help? That application tends to break things, at least in my experience.

MetalParsley753 wrote:

It says I am using grub not grub2

Please share the full, verbatim output of the command. Also include the exact command that was run to elicit the output. Thanks.


Para todos todo, para nosotros nada

Offline

#5 2025-01-19 11:25:42

cryptearth
Member
Registered: 2024-02-03
Posts: 1,223

Re: cant update grub settings

is /boot/grub/grub.cfg even the correct path on your system?
is /boot a mountpoint? is the partition meant to be mounted there actually correctly mounted?
when changes to grub.cfg seem to not get picked up usually the wrong file is edited - make sure what's the actual file your grub loads

Offline

#6 2025-01-24 22:51:28

MetalParsley753
Member
Registered: 2025-01-19
Posts: 5

Re: cant update grub settings

here is the output of: grub-mkconfig
Generating grub configuration file ...
#
# 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="Arch Linux"
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-blue/black
set menu_color_highlight=light-cyan/blue

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 2F3D-4B78
    font="/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_AU
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
Found theme: /boot/grub/themes/minegrub/theme.txt
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 2F3D-4B78
insmod gfxmenu
loadfont ($root)/grub/themes/minegrub/Minecraft24.pf2
loadfont ($root)/grub/themes/minegrub/Minecraft30.pf2
loadfont ($root)/grub/themes/minegrub/Monocraft22.pf2
insmod png
set theme=($root)/grub/themes/minegrub/theme.txt
export theme
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
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9030b433-0516-43b8-9fd2-23e98f2b067e' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    search --no-floppy --fs-uuid --set=root 2F3D-4B78
    echo    'Loading Linux linux-zen ...'
    linux    /vmlinuz-linux-zen root=/dev/mapper/root rw  loglevel=3 quiet
    echo    'Loading initial ramdisk ...'
    initrd    /intel-ucode.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-9030b433-0516-43b8-9fd2-23e98f2b067e' {
    menuentry 'Arch Linux, with Linux linux-zen' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-9030b433-0516-43b8-9fd2-23e98f2b067e' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod fat
        search --no-floppy --fs-uuid --set=root 2F3D-4B78
        echo    'Loading Linux linux-zen ...'
        linux    /vmlinuz-linux-zen root=/dev/mapper/root rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd    /intel-ucode.img
    }
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img
    menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-9030b433-0516-43b8-9fd2-23e98f2b067e' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod fat
        search --no-floppy --fs-uuid --set=root 2F3D-4B78
        echo    'Loading Linux linux-lts ...'
        linux    /vmlinuz-linux-lts root=/dev/mapper/root rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd    /intel-ucode.img
    }
Found linux image: /boot/vmlinuz-linux-hardened
Found initrd image: /boot/intel-ucode.img
    menuentry 'Arch Linux, with Linux linux-hardened' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-hardened-advanced-9030b433-0516-43b8-9fd2-23e98f2b067e' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod fat
        search --no-floppy --fs-uuid --set=root 2F3D-4B78
        echo    'Loading Linux linux-hardened ...'
        linux    /vmlinuz-linux-hardened root=/dev/mapper/root rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd    /intel-ucode.img
    }
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-9030b433-0516-43b8-9fd2-23e98f2b067e' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod fat
        search --no-floppy --fs-uuid --set=root 2F3D-4B78
        echo    'Loading Linux linux ...'
        linux    /vmlinuz-linux root=/dev/mapper/root rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd    /intel-ucode.img
    }
}

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

### BEGIN /etc/grub.d/15_ostree ###
### END /etc/grub.d/15_ostree ###

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

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
Adding boot menu entry for UEFI Firmware Settings ...
if [ "$grub_platform" = "efi" ]; then
    fwsetup --is-supported
    if [ "$?" = 0 ]; then
        menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
            fwsetup
        }
    fi
fi
### 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 ###
done

Offline

#7 2025-01-24 22:52:22

MetalParsley753
Member
Registered: 2025-01-19
Posts: 5

Re: cant update grub settings

here is the output of: grub-mkconfig -o "/boot/grub/grub.cfg"
Generating grub configuration file ...
Found theme: /boot/grub/themes/minegrub/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img
Found linux image: /boot/vmlinuz-linux-hardened
Found initrd image: /boot/intel-ucode.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img
Adding boot menu entry for UEFI Firmware Settings ...
done

Offline

#8 2025-01-24 22:54:21

MetalParsley753
Member
Registered: 2025-01-19
Posts: 5

Re: cant update grub settings

cryptearth wrote:

is /boot/grub/grub.cfg even the correct path on your system?
is /boot a mountpoint? is the partition meant to be mounted there actually correctly mounted?
when changes to grub.cfg seem to not get picked up usually the wrong file is edited - make sure what's the actual file your grub loads

the partition is mounted as /boot and has the flags esp and boot

Offline

#9 2025-01-25 10:35:56

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,738
Website

Re: cant update grub settings

Please share the output of

lsblk -f

Check the output of the plain `set` command from the GRUB command line to see if it is scanning the root or /boot/ partition for grub.cfg ($configfile).

EDIT: and please use code tags when posting terminal output, it greatly aids readability.

Last edited by Head_on_a_Stick (2025-01-25 10:36:36)


Para todos todo, para nosotros nada

Offline

Board footer

Powered by FluxBB