You are not logged in.

#1 2025-12-16 14:29:23

francoisromain
Member
Registered: 2025-12-16
Posts: 5

unable to determine partition UUID of boot device

Hello

I installed my first Archlinux on a MacBookPro12,1

Everything works but there is this error message on startup.

error: commands/bli.c:set_loader_device_part_uuid:124:unable to determine partition UUID of boot device
    Booting `Arch Linux`

Loading Linux linux ...
Loading initial ramdisk ...

How can I remove this first line error message?

Thank you

Last edited by francoisromain (2025-12-17 12:12:29)

Offline

#2 2025-12-17 12:20:43

system72
Member
Registered: 2025-11-22
Posts: 572
Website

Re: unable to determine partition UUID of boot device

lsblk -dno PARTUUID,UUID bootpartitionhere

what does this return? replace bootpartitionhere with the actual path to partition

Offline

#3 2025-12-17 13:19:08

francoisromain
Member
Registered: 2025-12-16
Posts: 5

Re: unable to determine partition UUID of boot device

sudo lsblk -dno NAME,PARTUUID,UUID /dev/sda1
sda1 d4135e5e-01                          D0D7-185C

The error is visible only when `GRUB_TIMEOUT=0`. If the timeout is not `0`, there is no error (but a grub screen, I don't need when I boot)

Offline

#4 2025-12-17 13:41:20

system72
Member
Registered: 2025-11-22
Posts: 572
Website

Re: unable to determine partition UUID of boot device

what does your full grub config look like?

/etc/default/grub

Offline

#5 2025-12-17 13:45:40

francoisromain
Member
Registered: 2025-12-16
Posts: 5

Re: unable to determine partition UUID of boot device

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet brcmfmac.feature_disable=0x82000"
GRUB_CMDLINE_LINUX=""

# 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

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# 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-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

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

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false

Offline

#6 2025-12-17 13:57:53

system72
Member
Registered: 2025-11-22
Posts: 572
Website

Re: unable to determine partition UUID of boot device

you can try setting this to true

GRUB_DISABLE_LINUX_PARTUUID=true

Offline

#7 2025-12-17 14:31:22

francoisromain
Member
Registered: 2025-12-16
Posts: 5

Re: unable to determine partition UUID of boot device

Changed the setting, then grub-mkconfig, but the problem is still there.

Here are a few more infos:

sudo lsblk -no NAME,PARTUUID,UUID
sda                                         
├─sda1 d4135e5e-01                          D0D7-185C
├─sda2 d4135e5e-02                          4ecf4577-25a9-49e9-8a4f-8987bcf872ef
├─sda3 d4135e5e-03                          65c0453b-8c27-4fc7-a763-3e310047f2f1
└─sda4 d4135e5e-04                          e98c241b-531a-4ea6-b9fc-4cc27af166a3

and `/boot/grub/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 [ "${env_block}" ] ; then
  set env_block="(${root})${env_block}"
  export env_block
  load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   if [ "${env_block}" ] ; then
     save_env -f "${env_block}" next_entry
   else
     save_env next_entry
   fi
   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}"
    if [ "${env_block}" ] ; then
      save_env -f "${env_block}" saved_entry
    else
      save_env saved_entry
    fi

  fi
}

function load_video {
  if [ x$grub_platform = xefi ]; then
    insmod efi_gop
    insmod efi_uga
  elif [ 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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  65c0453b-8c27-4fc7-a763-3e310047f2f1
else
  search --no-floppy --fs-uuid --set=root 65c0453b-8c27-4fc7-a763-3e310047f2f1
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=menu
  set timeout=0
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=0
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-65c0453b-8c27-4fc7-a763-3e310047f2f1' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod fat
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  D0D7-185C
	else
	  search --no-floppy --fs-uuid --set=root D0D7-185C
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=65c0453b-8c27-4fc7-a763-3e310047f2f1 rw  loglevel=3 quiet brcmfmac.feature_disable=0x82000
	echo	'Loading initial ramdisk ...'
	initrd	/intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-65c0453b-8c27-4fc7-a763-3e310047f2f1' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-65c0453b-8c27-4fc7-a763-3e310047f2f1' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod fat
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  D0D7-185C
		else
		  search --no-floppy --fs-uuid --set=root D0D7-185C
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=65c0453b-8c27-4fc7-a763-3e310047f2f1 rw  loglevel=3 quiet brcmfmac.feature_disable=0x82000
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-65c0453b-8c27-4fc7-a763-3e310047f2f1' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod fat
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  D0D7-185C
		else
		  search --no-floppy --fs-uuid --set=root D0D7-185C
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=65c0453b-8c27-4fc7-a763-3e310047f2f1 rw  loglevel=3 quiet brcmfmac.feature_disable=0x82000
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-linux-fallback.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 ###
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/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 ###

Offline

#8 2025-12-17 14:38:51

system72
Member
Registered: 2025-11-22
Posts: 572
Website

Re: unable to determine partition UUID of boot device

have you tried cycling between the GRUB_TIMEOUT_STYLE options?

https://www.gnu.org/software/grub/manua … ation.html

Offline

#9 2025-12-17 16:03:49

francoisromain
Member
Registered: 2025-12-16
Posts: 5

Re: unable to determine partition UUID of boot device

I tried `hidden` and `countdown` for `GRUB_TIMEOUT_STYLE`
This does not fix the error message.

I reverted back to the default value `menu`.

Offline

Board footer

Powered by FluxBB