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??
#https://linuxconfig.org/how-to-create-multiboot-usb-with-linux
parted -s /dev/sdb mklabel msdos
parted -s /dev/sdb mkpart primary 1MiB 551Mib
parted -s /dev/sdb set 1 esp on
parted -s /dev/sdb set 1 boot on
mkfs.fat -F32 /dev/sdb1
parted -s /dev/sdb mkpart primary 551Mib 100%
mkfs.ext4 /dev/sdb2
mkdir /media/{efi,data}
mount /dev/sdb1 /media/efi
mount /dev/sdb2 /media/data
# Installing legacy grub2
grub2-install \
--target=i386-pc \
--recheck \
--boot-directory="/media/data/boot" /dev/sdb
# Installing grub for efi
grub2-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/iso
chown 1000:1000 /media/data/boot/iso
cd /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