bugGNU GRUB - Bugs: bug #41449, It doesn't recognize btrfs default...

 
 

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

bug #41449: It doesn't recognize btrfs default subvolume.

Submitter:  Ayhan <ayhan>
Submitted:  Mon 03 Feb 2014 10:26:28 PM UTC
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  2.02~beta1
Release:  Reproducibility:  Every Time
Planned Release:  None

Mon 31 Mar 2014 02:27:13 PM UTC, comment #2: 

Even though it is not grub-mkrelpath's fault that the default subvolume is ignored, the resulting grub-conf includes the subvolume path as the root prefix of the kernel path and this is wrong.

Example:

btrfs default submodule: /__active

wrong: linux   /__active/boot/vmlinuz-linux root=UUID=... rw rootflags=subvol=__active

correct: linux   /boot/vmlinuz-linux root=UUID=... rw rootflags=subvol=__active

The rootflags may be superfluous but the linux path should be fixed or it won't boot. The result is grub searching for the kernel in the effetive path: /__active/__active/boot/vmlinuz-linux

Massimiliano Torromeo <mtorromeo>
Tue 04 Feb 2014 06:00:55 AM UTC, comment #1: 

Using the real root is a concious decision and it is in line with GRUB always using absolute path and not trying to follow any artificial "defaults". grub-mkrelpath bridges this difference by adding necessarry prefix.

Vladimir Serbinenko <phcoder>
Project Administrator
Mon 03 Feb 2014 10:26:28 PM UTC, original submission:  

It doesn't recognize btrfs default subvolume. (which is permanently pointed to by the command "btrfs subvolume set-default #subvolid")
Instead, it sees the root (thus, subvolume 0)

But it is not beta1, it is 2.02~beta2.

Ayhan <ayhan>

 

(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 mtorromeo (Posted a comment)
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by ayhan (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.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-04 phcoder StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top


    Powered by Savane 3.9