3

After running apt upgrade on Ubuntu 20.04. Either choice returns an error below. This is a windows dual boot. I have backups and I am using timeshift. I am learning but still pretty new to this.

Hoping someone can help me figure out what to do next. Should I continue without installing grub?

nvme0n1p1: entire extended partition

nvme0n1p6: mounted at /boot/efi

nvme0n1p9: filesystem root

nvme0n1p8: /home

enter image description here

enter image description here

Gparted:

enter image description here

sudo fdisk -l

    Device         Boot     Start        End    Sectors   Size Id Type
    /dev/nvme0n1p1           2046 1953523711 1953521666 931.5G  5 Extended
    /dev/nvme0n1p5           2048   31250431   31248384  14.9G 82 Linux swap / Solar
    /dev/nvme0n1p6 *    222244864  248848383   26603520  12.7G ef EFI (FAT-12/16/32)
    /dev/nvme0n1p7      248850432  269154303   20303872   9.7G 83 Linux
    /dev/nvme0n1p8      269156352 1953523711 1684367360 803.2G 83 Linux
    /dev/nvme0n1p9       31252480  222242815  190990336  91.1G 83 Linux

Device Start End Sectors Size Type /dev/nvme1n1p1 2048 534527 532480 260M EFI System /dev/nvme1n1p2 534528 567295 32768 16M Microsoft reserved /dev/nvme1n1p3 567296 998166527 997599232 475.7G Microsoft basic data /dev/nvme1n1p4 998166528 1000214527 2048000 1000M Windows recovery environmen

mmann1123
  • 105

2 Answers2

2

Apologies, I cannot comment yet.

You can try to fix the grub as I explain here.

Nandete82
  • 348
2

Since you have windows installed it might have over written boot loader. try grub-install /dev/sdX, where /dev/sdX is the drive where your boot partition resides.

If you are able to boot into Ubuntu then run and then sudo os-prober and finally sudo update-grub. This should solve the problem. Post the results after doing the above.

If you are not able to boot then run a live boot session from a usb or a cd, and run the above commands.

For any more help try this.

Abhay Patil
  • 2,793