[Bug 1090829] Re: grub-efi fails to install with Input/output error

Phillip Susi psusi at ubuntu.com
Sun Jan 13 02:05:18 UTC 2013


In one dup of this bug the user reported that it was resolved by running
chkdsk a few times in windows to repair the fs.  With the attached esp
image, I found that dosfsck -a detected errors but failed to repair.  It
seems dosfstools has a bug when it comes to saving lost chains as
recovered files, and in that image, the /EFI/ubuntu directory consists
of a FAT chain that contains a free cluster, which is invalid. Running
dosfsck -r and saying yes a few times eventually repaired the problem.

I wonder why so many people seem to have corrupt filesystems on their
ESP.

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

Title:
  grub-efi fails to install with Input/output error

Status in “dosfstools” package in Ubuntu:
  Confirmed
Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  HP G6 laptop with Windows 8 installed, and looking to have a dual-boot
  with Ubuntu 12.10

  With SecureBoot enabled: http://paste.ubuntu.com/1421098
  And with SecureBoot disabled: http://paste.ubuntu.com/1421155

  grub-efi fails writing on the original ESP:

  # grub-install --efi-directory=/boot/efi --target=x86_64-efi
  mkdir: cannot create directory `/boot/efi/EFI/ubuntu': Input/output error

  Remark: this is similar but not duplicate of Bug #1091477

  **************** WORKAROUND:
  1) via Gparted create another EFI partition (FAT32, 200MB, located in the first 100GB of the disk), move the 'boot' flag on it
  2) make Ubuntu use this new ESP (eg via Boot-Repair).

  Example: http://paste.ubuntu.com/1442264

  *************** Computers that come with a locked ESP:
  - HP G6 laptop: see original bug description
  - Samsung Series 9 NP900X4C-A07US: http://paste.ubuntu.com/1442902

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




More information about the foundations-bugs mailing list