Re: Failure in gsetting up a UEFI USB Flash with Fedora 33??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9 Sep 2021 at 10:37, John Mellor wrote:

From:	John Mellor <john.mellor@xxxxxxxxx>
Subject:	Re: Failure in gsetting up a UEFI USB Flash with Fedora 33??
To:	users@xxxxxxxxxxxxxxxxxxxxxxx
Date sent:	Thu, 9 Sep 2021 10:37:11 -0400
Send reply to:	Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>

> 
> 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.

The problem is not with the Fedora installation, since it 
does have the UEFI boot setup.  Trying to boot from a 
CD/USB that has a kernel built from kernel.org source 
code, and load the ramdisk.lzma file system to run the 
package from. Works fine with syslinux, regular grub2, 
and grub4dos boot. Just these new Dell machines have 
NO BIOS or Legacy options to boot, so will only boot from 
CD or USB that is UEFI setup. 

I have one Dell machine, but it is an older one, and it has 
regular boot options for me with no problem, but this 
user has new Dell machines, that seem to have removed 
all options other than UEFI boot. 

Got a reply from one user on a setup, but just tried it, and 
get he same failure message when trying to setup the efi 
on the usb. So, don't know if it worked with older version 
of the program, but is failing with the latest??

grub2-install: error: this utility cannot be used for EFI 
platforms because it does not support UEFI Secure Boot.


> 
> 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??
> 
> 
>     #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
> 

_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux