Try booting in the same physical configuration as when you were installing:
- windows drive disconnected
- neon drive connected
- installation media connected
If you are lucky, you'll be able to boot into the installed system.
You can run the installed system in a maintenance mode by booting the installation media as if you were going to install. Once the desktop is reached, do the following:
- Ctrl-Alt-F2 to reach a login shell prompt
- login "neon" to reach a passwd prompt
- <ENTER> to login (passwordless)
- sudo passwd root
- <provide a password>
- <confirm password>
- Alt-F3 to reach another login shell prompt
- login as root with the password you just created
- fdisk -l # from this output, identify the device names applicable to your root and ESP partitions, e.g. nvme0n1p1 for ESP, nvme0n1p3 for /. If fdisk output turns out to be inadequate to task, try parted -l or lsblk -f or tune2fs -l <suspect partition name> to confirm ID
- mount /dev/nvme0n1p3 /mnt # mount neon's / filesystem
- mount -o bind /dev /mnt/dev
- mount -o bind /sys /mnt/sys
- mount -o bind /proc /mnt/proc
- chroot /mnt
- mount -a
At this point you are running the installed system with full superuser authority, in position for whatever repair can be deemed necessary. First, check to see if grub was setup at all:
Code:
ls -Gg /boot/efi/EFI/ubuntu /boot/efi/EFI/neon /boot/efi/EFI
efibootmgr
If
ls returned BOOT and ubuntu or neon, the ESP is likely setup correctly. What you want to see is something like:
Code:
# efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0001,0000,0002
Boot0000* windows
Boot0001* ubuntu
Boot0002* UEFI OS
What you might be seeing omits ubuntu/neon if not windows. If there is neither ubuntu nor neon, then create a new entry based upon directory names found in
ls output (probably ubuntu, less likely neon):
Code:
efibootmgr -c -L "ubuntu" -l '\EFI\ubuntu\grubx64.efi'
The bolded strings above are based upon output from
ls -Gg /boot/efi/EFI/ubuntu. Next try Alt-F7 or Alt-F1 or Alt-F2 to reach the initial Neon desktop, then reboot without installation media attached.