[Bug 1902557] Re: 20.10 grub-install failure
William D Waddington
1902557 at bugs.launchpad.net
Sun Nov 22 19:09:48 UTC 2020
Well duh, it was right there in black and white: it's defaulting to an
efi install. That's new.
Fix is adding --target=i386-pc to the install command.
Now if I could just get persistence to work...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1902557
Title:
20.10 grub-install failure
Status in grub-installer package in Ubuntu:
New
Bug description:
Once again trying to build my multi-boot flash drives and external
SSDs with the latest Ubuntu.
Contents of the ISO to a FAT32-formatted flash drive. Boot in UEFI
mode and install grub to allow also booting in legacy mode. 20.04
works. 20.10 fails. Test machine: ThinkPad X1 Yoga Gen 5.
20.04:
ubuntu at ubuntu:~$ sudo su
root at ubuntu:/home/ubuntu# mount -o remount rw /cdrom
root at ubuntu:/home/ubuntu# grub-install --force --no-floppy --boot-directory=/cdrom/boot /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
root at ubuntu:/home/ubuntu#
20.10:
ubuntu at ubuntu:~$ sudo su
root at ubuntu:/home/ubuntu# mount -o remount rw /cdrom
root at ubuntu:/home/ubuntu# grub-install --force --no-floppy --boot-directory=/cdrom/boot /dev/sda
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
root at ubuntu:/home/ubuntu#
I realize that live boot isn't a priority other than compatibility testing and installation but this constant breakage (persistence, looped ISO booting...) makes my intended use impossible. Multiboot external drives with Ubuntu as the base distro are very useful for recovery and forensics - when they work...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1902557/+subscriptions
More information about the foundations-bugs
mailing list