Here grub-install returns a "read-only" error.
# grub-install --efi-directory=/boot/efi --target=x86_64-efi cp: cannot create regular file `/boot/efi/EFI/ubuntu/shimx64.efi': Read-only file system cp: cannot create regular file `/boot/efi/EFI/ubuntu/grubx64.efi': Read-only file system cp: cannot create regular file `/boot/efi/EFI/ubuntu/grub.cfg': Read-only file system /usr/sbin/grub-install: 851: /usr/sbin/grub-install: cannot create /boot/efi/EFI/ubuntu/grub.cfg: Read-only file system Installation finished. No error reported.
While the other bug returns an "Input/Output" error:
# grub-install --efi-directory=/boot/efi --target=x86_64-efi mkdir: cannot create directory `/boot/efi/EFI/ubuntu': Input/output error
Here grub-install returns a "read-only" error.
# grub-install --efi-directory =/boot/ efi --target=x86_64-efi efi/EFI/ ubuntu/ shimx64. efi': Read-only file system efi/EFI/ ubuntu/ grubx64. efi': Read-only file system efi/EFI/ ubuntu/ grub.cfg' : Read-only file system grub-install: 851: /usr/sbin/ grub-install: cannot create /boot/efi/ EFI/ubuntu/ grub.cfg: Read-only file system
cp: cannot create regular file `/boot/
cp: cannot create regular file `/boot/
cp: cannot create regular file `/boot/
/usr/sbin/
Installation finished. No error reported.
While the other bug returns an "Input/Output" error:
# grub-install --efi-directory =/boot/ efi --target=x86_64-efi efi/EFI/ ubuntu' : Input/output error
mkdir: cannot create directory `/boot/