bugGNU GRUB - Bugs: bug #61688, grub-mkconfig not using correct...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61688: grub-mkconfig not using correct subvol output for root os on BTRFS subvol

Submitter:  Michael Perkins <perkinsms>
Submitted:  Thu 16 Dec 2021 10:56:34 PM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Michael Perkins
Open/Closed:  Open Release:  2.02
Release:  Reproducibility:  Every Time
Planned Release:  None

Thu 16 Dec 2021 10:56:34 PM UTC, original submission:  

This is for grub-mkconfig 2.06

What happened:

Using grub-mkconfig to produce a grub.cfg file for a system with

## Arch Linux root partition
/dev/nvme0n1p4 / btrfs subvol=/@


## Manjaro root partition  
/dev/nvme0n1p3 /mnt btrfs subvol=/@

This produces the correct output for the Arch partition - finding all the kernels in /boot and configuring them with the correct rootflags=subvol=@ and the paths to the initrd and kernel correct.

For the Manjaro partitions detected using os-prober, the menu entry is missing the rootflags=subvol=@ and the paths to the initrd and kernel are written as if the disk partition starts at / instead of /@/

What should happen:

# grub-mkconfig -o testfile

testfile should contain an entry for another linux system with a btrfs root partition at subvol=@ with an entry that includes:

linux /@/boot/vmlinuz-5.15xxxxx root=UUID=xxxxxxxxxxx rw rootflags=subvol=@ etc.
initrd /@/boot/intel-ucode.img /@/boot/initramfs-5.15-x86_64.img

Michael Perkins <perkinsms>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by perkinsms (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code