Skip to content

make install mentions: UUID of the root subvolume is not available #421

Description

@mr3screen

I tried to install this and found an error.

$ sudo make install
[sudo] Passwort für martin: 
					     	   Installing 

       ::::::::  :::::::::  :::    ::: :::::::::               ::::::::: ::::::::::: :::::::::  :::::::::: ::::::::      
      :+:    :+: :+:    :+: :+:    :+: :+:    :+:              :+:    :+:    :+:     :+:    :+: :+:       :+:    :+:     
     +:+        +:+    +:+ +:+    +:+ +:+    +:+              +:+    +:+    +:+     +:+    +:+ +:+       +:+             
    :#:        +#++:++#:  +#+    +:+ +#++:++#+ +#++:++#++:++ +#++:++#+     +#+     +#++:++#:  :#::+::#  +#++:++#++       
   +#+   +#+# +#+    +#+ +#+    +#+ +#+    +#+              +#+    +#+    +#+     +#+    +#+ +#+              +#+        
  #+#    #+# #+#    #+# #+#    #+# #+#    #+#              #+#    #+#    #+#     #+#    #+# #+#       #+#    #+#         
  ########  ###    ###  ########  #########               #########     ###     ###    ### ###        ########           

  For further information visit https://github.com/Antynea/grub-btrfs or read the man page: 'man grub-btrfs'

Installing manpages...
Installing systemd .service file
Installing docs...
Updating the GRUB menu...
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.17.0-14-generic
Found initrd image: /boot/initrd.img-6.17.0-14-generic
Found linux image: /boot/vmlinuz-6.14.0-37-generic
Found initrd image: /boot/initrd.img-6.14.0-37-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
UUID of the root subvolume is not available
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
done
/
	Name: 			<FS_TREE>
	UUID: 			someUUUID
	Parent UUID: 		-
	Received UUID: 		-
	Creation time: 		2026-02-02 13:59:02 +0100
	Subvolume ID: 		5
	Generation: 		34313
	Gen at creation: 	0
	Parent ID: 		0
	Top level ID: 		0
	Flags: 			-
	Send transid: 		0
	Send time: 		2026-02-02 13:59:02 +0100
	Receive transid: 	0
	Receive time: 		-
	Snapshot(s):
ERROR: Could not search B-tree: Operation not permitted
$ sudo btrfs subvolume show /
/
	Name: 			<FS_TREE>
	UUID: 			someUUID
	Parent UUID: 		-
	Received UUID: 		-
	Creation time: 		2026-02-02 13:59:02 +0100
	Subvolume ID: 		5
	Generation: 		34313
	Gen at creation: 	0
	Parent ID: 		0
	Top level ID: 		0
	Flags: 			-
	Send transid: 		0
	Send time: 		2026-02-02 13:59:02 +0100
	Receive transid: 	0
	Receive time: 		-
	Snapshot(s):
				.snapshots/1/snapshot
				.snapshots/2/snapshot
				.snapshots/3/snapshot
				.snapshots/14/snapshot
				.snapshots/15/snapshot
				.snapshots/19/snapshot
				.snapshots/20/snapshot
				.snapshots/24/snapshot
				.snapshots/25/snapshot
				.snapshots/46/snapshot
				.snapshots/73/snapshot
				.snapshots/74/snapshot
				.snapshots/92/snapshot
				.snapshots/93/snapshot
				.snapshots/100/snapshot
				.snapshots/109/snapshot
				.snapshots/110/snapshot
				.snapshots/112/snapshot
				.snapshots/119/snapshot
				.snapshots/120/snapshot
				.snapshots/122/snapshot
				.snapshots/123/snapshot
				.snapshots/124/snapshot
				.snapshots/135/snapshot
				.snapshots/143/snapshot
				.snapshots/144/snapshot
				.snapshots/145/snapshot
				.snapshots/146/snapshot
				.snapshots/155/snapshot
				.snapshots/156/snapshot
				.snapshots/165/snapshot
				.snapshots/175/snapshot
				.snapshots/185/snapshot
				.snapshots/186/snapshot
				.snapshots/187/snapshot
				.snapshots/188/snapshot
				.snapshots/189/snapshot
				.snapshots/190/snapshot
				.snapshots/191/snapshot
				.snapshots/192/snapshot
				.snapshots/193/snapshot
				.snapshots/194/snapshot
				.snapshots/195/snapshot
				.snapshots/196/snapshot
				.snapshots/197/snapshot
				.snapshots/198/snapshot
				.snapshots/200/snapshot
				.snapshots/201/snapshot
	Quota group:		n/a

Seems like the btrfs command needs to run as root.
I'm on ubuntu 24.04 and used grub-btrfs from commit 7e8a45c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions