You do not need to do anything fancy at all with a Fedora USB install media. Fedora comes with both UEFI and legacy boot mechanisms, so it just works on all machines. Instead, you have a BIOS setting problem, that is preventing you from seeing the USB key. Fix that, and everything should just work.
On 2021-09-09 8:04 a.m., Michael D.
Setzer II via users wrote:
I've found 6 web sites so far that had instructions on setting up a UEFI USB flash to boot, but all have failed.Some actually create a UEFI Flash that my test usb is seen as being a UEFI flash, but the boot fails?
The last one I fully documented the steps from page, but the resulting flash doesn't even show up as an UEFI Flash. Probable due to the failure of the grub2-install option??grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.
So, it seems it worked on some system before, but fails with Fedora 33 at least?? Don't want to create a UEFI Secure Boot, but just a UEFI Boot??
parted -s /dev/sdb mklabel msdosparted -s /dev/sdb mkpart primary 1MiB 551Mibparted -s /dev/sdb set 1 esp onparted -s /dev/sdb set 1 boot onmkfs.fat -F32 /dev/sdb1parted -s /dev/sdb mkpart primary 551Mib 100%mkfs.ext4 /dev/sdb2mkdir /media/{efi,data}mount /dev/sdb1 /media/efimount /dev/sdb2 /media/data# Installing legacy grub2grub2-install \--target=i386-pc \--recheck \--boot-directory="/media/data/boot" /dev/sdb
# Installing grub for efigrub2-install \--target=x86_64-efi \--recheck \--force \--removable \--efi-directory="/media/efi" \--boot-directory="/media/data/boot"## grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.mkdir /media/data/boot/isochown 1000:1000 /media/data/boot/isocd /media/data/boot/iso/cp /home/msetzerii/g4l0.60alpha/g4l-v0.60.iso .cd /media/data/boot/grub2#create grub.cfg with these lines.#menuentry "G4L" {# isofile="/boot/iso/g4l-v0.60.iso"# loopback loop "${isofile}"# linux (loop)/isolinux/bz5x13.14 iso-scan/filename="${isofile}" root=/dev/ram0# initrd (loop)/isolinux/ramdisk.lzma#}
Have just got had email chat with Clonezilla developer to see what they have done. Seems they gave up on trying to make a UEFI boot, and have created a live-cd boot of a distro to get around issue.
Seems going from boot loaders link syslinux, grub4dos, and regular grub2 with a 10M kernel and 30M ramdisk.With Fedora, it would require the 2G live CD image, and then the downloading of a number of packages that are not included on the live-cd. So, 40M to 2000+M and a bunch of steps.
Does anyone know of a process to make a UEFI USB Boot that actual works using Fedora??
Very Frustrated...
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure