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.

Submitted by:  Ayhan <ayhan>
Submitted on:  Mon 03 Feb 2014 10:26:28 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtorromeo (Posted a comment)
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by ayhan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Feb 2014 06:00:55 AM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1