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

Sami Näätänen 736743 at bugs.launchpad.net
Sat May 5 17:25:58 UTC 2018


OK so I actually found out how to do the above thing.

So apply the provided patch for /etc/grub.d/00_header.
Original used for patching is from Ubuntu 17.10 (GRUB 2.02~beta3-4ubuntu7.3).
Move or create your grub env block file to efi partition:
ubuntu original location: /boot/grub/grubenv
patch location: /boot/efi/EFI/ubuntu/grubenv
Run update-grub2 to create the new grub config.

I do not know what EFI specs or something like that
says abount using EFI partition for the GRUB env block,
but it DOES work for me.


** Patch added: "Patch for /etc/grub.d/00_header"
   https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/736743/+attachment/5134475/+files/grub_env_block_on_EFI.patch

-- 
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