Public bug reported:

Right now, /etc/grub.d/10_linux insists on

            GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol}
${GRUB_CMDLINE_LINUX}"

and the only way for me to tell a remote box that booting with a
degraded RAID1 for a btrfs root filesystem is via

$ grep degraded /etc/default/grub 
GRUB_CMDLINE_LINUX="rootflags=subvol=@,degraded"

but this is brittle because it doesn't do the ${rootsubvol} logic from
/etc/grub.d. Please provide a better way.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: grub-common 2.00-13ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Mon Sep 23 15:19:08 2013
InstallationDate: Installed on 2013-09-23 (0 days ago)
InstallationMedia: Ubuntu-Server 13.04 "Raring Ringtail" - Release amd64 
(20130423.1)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1229456

Title:
  Provide way to pass rootflags=degraded (for btrfs)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1229456/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to