Public bug reported:
Hello
Initially the EFI partition numbered 2 was on disk 0 and the ubuntu partition
numbered 22 was on the same disk.
I duplicated the EFI partition on an external drive. At boot there is
the following error
Error: No such partition
entering rescue mode
grub rescue>
The cause is that the bios indicates that the hard disk containing
ubuntu now has the number 1
I thought it was possible to rectify by modifying the contents of the
/EFI/ubuntu/grub.cfg file as I have done in the past. But this time, I
do not succeed. After various tests, I thought that the parameter file
was not read.
I confirmed this track by reinstalling the grub: I see that the file is
no longer created. I do not think this is a planned evolution. I think
of an error.
The features of ubuntu are as follows:
sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
cat /proc/version
Linux version 4.15.0-58-generic (buildd@lcy01-amd64-013) (gcc version 7.4.0
(Ubuntu 7.4.0-1ubuntu1~18.04.1)) #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019
grub-install -V
grub-install (GRUB) 2.02-2ubuntu8.13
grub-mkimage -V
grub-mkimage (GRUB) 2.02-2ubuntu8.13
sudo ls -als /boot/efi/EFI/ubuntu
total 128
4 drwx------ 2 root root 4096 août 18 11:42 .
4 drwx------ 16 root root 4096 août 18 11:41 ..
120 -rwx------ 1 root root 122880 août 18 11:42 grubx64.efi
sudo ls -als /boot/efi/EFI/boot
total 128
4 drwx------ 2 root root 4096 août 18 11:42 .
4 drwx------ 16 root root 4096 août 18 11:41 ..
120 -rwx------ 1 root root 122880 août 18 11:42 BOOTX64.EFI
Contents of the trace file à here
I specify that the EFI bios is in no-secure mode and that the absence of
shimx64.efi should be an explanation to the problem.
** Affects: refind (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "trace og grub-installater"
https://bugs.launchpad.net/bugs/1840574/+attachment/5283090/+files/grub.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840574
Title:
grub-install does not create /EFI/ubuntu/grub.cfg file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/refind/+bug/1840574/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs