I want to install Ubuntu Gnome alongside Windows. I made two partitions, one ext4 and one swap partition. For the bootloader I chose the /dev/nvme0n1p1
partition, which is my Windows-EFI-Partition.
At the end of the Installation I get the error:
Unable to install GRUB in /dev/nvme0n1p1
Executing `grub-install /dev/nvme0n1p1 failed.
This is a fatal error.
EDIT
partition table is GPT:
lsblk
output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 104M 1 disk
└─sdb1 8:17 1 103.8M 1 part /media/ubuntu-gnome/USB-C DOCK
loop0 7:0 0 1.3G 1 loop /rofs
sda 8:0 1 14.5G 0 disk
└─sda1 8:1 1 14.5G 0 part /cdrom
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p5 259:5 0 12.5G 0 part
├─nvme0n1p3 259:3 0 185G 0 part
├─nvme0n1p1 259:1 0 500M 0 part
├─nvme0n1p6 259:6 0 35.4G 0 part
├─nvme0n1p4 259:4 0 450M 0 part
├─nvme0n1p2 259:2 0 128M 0 part
└─nvme0n1p7 259:7 0 4.6G 0 part
sudo mdadm --detail-platform
output:
mdadm: imsm capabilities not found for controller: /sys/devices/pci0000:00/0000:00:17.0 (type SATA)
sudo mdadm --detail-platform
. Normal SATA drives can remove RAID with dmraid. Do not know if works or needed on NMVe dri ves: http://askubuntu.com/questions/847470/ubuntu-16-04-installer-cant-see-ssd-drive-previously-used-as-raid/847481#847481 – oldfred Dec 20 '16 at 21:21mdadm: imsm capabilities not found for controller: /sys/devices/pci0000:00/0000:00:17.0 (type SATA)
– cortesis Dec 21 '16 at 16:03sudo dmraid -E -r /dev/nvme0n1
gives meno block devices found
– cortesis Dec 21 '16 at 16:59'/boot/efi/EFI/opensuse': Read-only file system.
Is it possible that this read-only is also the problem when installing ubuntu? – cortesis Dec 22 '16 at 20:55sudo dosfsck -t -a -w /dev/sda1
(change if not sda1). Partition must be unmounted, so you probably have to run from live installer. A very few had to backup ESP (good idea anyway), delete partition, recreate new FAT32 with boot flag to make it ESP and restore files. May have to use efibootmgr to add entries back into UEFI as GUIDs have changed. – oldfred Dec 22 '16 at 22:38sudo dosfsck -t -a -w /dev/nvme0n1p1
doesn't fixes my partition. Can you give me a Instruction (or a link) on how-to delete and restore my EFI Partition? – cortesis Dec 24 '16 at 14:35