I had already installed Ubuntu 22.04 in /dev/nvme1n1
before but due to my incorrect fiddling with the wrong NVIDIA drivers I got the system unstable so decided to reinstall it. In /dev/nvme1n0
I have Windows 11 Pro and it was in the exact same state when I installed Ubuntu the first time around. This time however, no matter what I do in the installer I always end in the same Unable to install GRUB in /dev/nvme1n1 grub-install failed
error.
I tried the following:
- Chose to overwrite the existing Ubuntu 22.04 installation => error
- Chose
do something else
then deleted all partitions in /dev/nvme1n1
with gparted just empty like new before running the installer => same error
- Chose
do something else
then deleted all partitions and created a initial EFI 500MB partition and another EXT4 with the remaining space => same error
- Tried the steps above indicating either the drive
/dev/nvme1n1
or the specific partition for the grub installation /dev/nvme1n1p1
=> same error
The media is a DVD and have successfully installed Ubuntu from it in another system so that discards the possibility of the installation media to be corrupt.
If it was an UEFI type of incompatibility btw I still don't get this UEFI/MBR/GPT stuff, seems to have been created only to annoy and confuse people; then the installation would have also failed the first time around but it worked .. so I am puzzled.
UPDATE
I have two m2 ssd drives in my system. In the first one I installed Windows 11 Pro and in the second I was attempting to install Ubuntu 22.04 which was failing with the errors above.
I booted into Windows and using Macrium Reflect, cloned Windows 11 Pro /dev/nvme0n1
into /dev/nvme1n1
. I am running my Windows 11 Pro now from /dev/nvme1n1
. Then retried all the initial steps but targeting /dev/nvme0n1
for the installation => same error!