[Bug 1274320] Re: Error: diskfilter writes are not supported

TimK. ubuntu at bitzap.e4ward.com
Wed Jun 4 17:15:56 UTC 2014


If you know you are always using LVM or RAID and the fix in post #34 seems to be too complicated to apply, here's a much easier one:
Edit /etc/grub.d/00_header
At line 118 (at least on my Linux Mint 17 that's the line number) simply put a # in front of the "if [ -n "\${have_grubenv}" ] ...". This will always comment out that line from /boot/grub/grub.cfg
Run update-grub    <--- this is important
Check /boot/grub/grub.cfg to make sure the "if ..." is commented out in the recordfail function
Reboot and test

Of course the fix in post #34 or something similar is what Grub should
do in general, but you don't really need all that if you are currently
using RAID or LVM and have no plans switching.

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

Title:
  Error: diskfilter writes are not supported

Status in GRand Unified Bootloader:
  New
Status in “grub2” package in Ubuntu:
  Triaged
Status in “grub2” package in Fedora:
  Unknown

Bug description:
  Once grub chooses what to boot to, an error shows up and will sit on
  the screen for approx. 5 seconds

  "Error: diskfilter writes are not supported.
  Press any key to continue..."

  From what I understand, this error is related to raid partitions, and
  I have two of them (md0, md1). Both partitions are used (root and
  swap). Raid is assembled with mdadm and are raid0

  This error message started appearing right after grub2 was updated on
  01/27/2014.

  System:    Kernel: 3.13.0-5-generic x86_64 (64 bit) Desktop: KDE 4.11.5 Distro: Ubuntu 14.04 trusty
  Drives:    HDD Total Size: 1064.2GB (10.9% used)
          1: id: /dev/sda model: SanDisk_SDSSDRC0 size: 32.0GB
          2: id: /dev/sdb model: SanDisk_SDSSDRC0 size: 32.0GB
          3: id: /dev/sdc model: ST31000528AS size: 1000.2GB
  RAID:      Device-1: /dev/md1 - active raid: 0 components: online: sdb2 sda3 (swap)       Device-2: /dev/md0 - active raid: 0 components: online: sdb1 sda1 ( / )
  Grub2:    grub-efi-amd64 version 2.02~beta2-5

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub-efi-amd64 2.02~beta2-5
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Wed Jan 29 17:37:59 2014
  SourcePackage: grub2
  UpgradeStatus: Upgraded to trusty on 2014-01-23 (6 days ago)

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



More information about the foundations-bugs mailing list