[Bug 736743] Re: environment block not implemented on btrfs

RussianNeuroMancer 736743 at bugs.launchpad.net
Tue Feb 5 07:19:48 UTC 2019


Is anyone can explain why /etc/grub.d/00_header generate
/boot/grub/grub.cfg like this by default for btrfs partitions? I have at
least one laptop where it cause GRUB2 menu appear on every boot with 30
seconds counter:

function recordfail {
  set recordfail=1
  # GRUB lacks write support for btrfs, so recordfail support is disabled.
}
...
if [ "${recordfail}" = 1 ] ; then
  set timeout=30

Of course, there is several workarounds for this issue, but why
00_header was written like this in first place?

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

Title:
  environment block not implemented on btrfs

Status in grub:
  New
Status in grub2 package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: grub2

  I just installed natty alpha 3 on a samsung NC10 netbook. When booting, immediately after the grub screen I see the error message:
  'sparse file not allowed. 
  press any key to continue'
  after pressing any key the boot continues as normal.

  This is with btrfs on / and a separate ext4 partition for /home. I had
  created the btrfs partition manually (i.e. in a shell outside
  ubiquity) simply running mkfs.btrfs /dev/sda1 and it was not
  reformatted in ubiquity.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub-pc 1.99~rc1-4ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
  Uname: Linux 2.6.38-6-generic i686
  Architecture: i386
  Date: Thu Mar 17 11:14:52 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_US.UTF-8
   LC_MESSAGES=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/736743/+subscriptions



More information about the foundations-bugs mailing list