grub-efi fails to install with Input/output error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dosfstools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
HP G6 laptop with Windows 8 installed, and looking to have a dual-boot with Ubuntu 12.10
With SecureBoot enabled: http://
And with SecureBoot disabled: http://
grub-efi fails writing on the original ESP:
# grub-install --efi-directory
mkdir: cannot create directory `/boot/
Remark: this is similar but not duplicate of Bug #1091477
**************** WORKAROUND1 (works):
1) Via Gparted create another EFI partition (FAT32, 200MB, located in the first 100GB of the disk), move the 'boot' flag on it
2) Install grub-efi in this new ESP (eg https:/
**************** WORKAROUND2 (to be tested):
1) Backup the files in the ESP
2) Format the ESP
3) Recreate the ESP (FAT32, same size) via Gparted, place the 'boot' flag on it
4) Restore the backups into this new ESP
5) Install grub-efi in this new ESP.
summary: |
- grub-efi cannot install on HP's ESP + grub-efi cannot install on HP's original ESP (Input/output error) |
summary: |
- grub-efi cannot install on HP's original ESP (Input/output error) + grub-efi cannot install on locked ESP (Input/output error) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
a 3rd case: http:// ubuntuforums. org/showthread. php?p=12391963