Public bug reported:

I’ve been since the latest versions of Ubuntu with the installation problem 
from scratch. The computer is a Surface Pro 4. I have several partitions for 
different versions of Linux as well as a Windows 10 partition.
It is impossible to install, because when it is about to finish, the 
installation of grub fails.
The only solution I have found is to start the installer from the terminal with 
the -b parameter. I reported this same error quite some time ago, but it has 
not been fixed. I leave the solution I use in case anyone else needs it, 
waiting for the error to be solved.


nvme0n1p1 >> My EFI partition (change for yours)
nvme0n1p6 >> My Operating system partition (change for yours)

You have to start the Linux installer from the terminal, using the command:
sudo ubiquity -b

When the installation is finished, we continue to test the system. We
start a terminal and run:


sudo mount /dev/nvme0n1p5 /mnt

sudo mount /dev/nvme0n1p1 /mnt/boot/efi


for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
modprobe efivars
sudo apt-get install --reinstall grub-efi-amd64
sudo grub-install --no-nvram --root-directory=/mnt
sudo chroot /mnt
sudo update-grub
cd /boot/efi/EFI/
sudo cp -R ubuntu/* Boot/
cd Boot
sudo cp grubx64.efi bootx64.efi
exit

Reboot system.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.16
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
CasperVersion: 1.442
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 17 20:11:57 2020
LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873513

Title:
  Ubuntu crash while installing "grub"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1873513/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to