Hi All,
I am officially confused. Search.brave.com give tons of stuff I either can't use or can't figure out.
I AM NOT DUAL BOOTING WITH WINDOWS!!! (That is dumb to do. Use qemu-kvm)
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
I am concerned that I my goof my main computer EUFI boot in the process.
Yours in confusion, -T
If it helps (from my main computer):
Gparted /dev/sdc: https://ibb.co/YB431Yn
# gdisk -l /dev/sdc GPT fdisk (gdisk) version 1.0.10
Partition table scan: MBR: protective BSD: not present APM: not present GPT: present
Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 121145344 sectors, 57.8 GiB Model: FlashBlu Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 8CEE4F90-5B41-4F0B-909D-E604C7AD0CF0 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 121145310 Partitions will be aligned on 2048-sector boundaries Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 4095 1024.0 KiB EF02 2 4096 2101247 1024.0 MiB EA00 3 2101248 121143295 56.8 GiB 8304
On 1/17/25 4:39 PM, ToddAndMargo via users wrote:
I am officially confused. Search.brave.com give tons of stuff I either can't use or can't figure out.
I AM NOT DUAL BOOTING WITH WINDOWS!!! (That is dumb to do. Use qemu-kvm)
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
I am concerned that I my goof my main computer EUFI boot in the process.
It's very unlikely that it is a problem with the USB drive. You didn't say where you're trying to boot it. But wherever it is, you will either need to select it from the UEFI boot menu or go into the BIOS and either set the USB as the primary boot or add the USB Fedora entry to the boot list. If you also have Fedora installed on the hard drive, this will likely conflict, although you could manually add it with a different name.
Samuel Sieb composed on 2025-01-17 17:18 (UTC-0800):
If you also have Fedora installed on the hard drive, this will likely conflict, although you could manually add it with a different name.
A different name is configured for Grub2 users in /etc/default/grub as a value for GRUB_DISTRIBUTOR=. You might use GRUB_DISTRIBUTOR="fedora41usb". That would result in a new directory on the ESP partition /EFI/fedora41usb/ along with existing entry /EFI/fedora/, and a corresponding new BBS hotkey boot menu selection of fedora41usb when booting with that USB stick affixed - upon application of your edit. Simply editing /etc/default/grub only changes the file. It takes effect only after it gets "installed" to the ESP and the UEFI BIOS. The specific procedure for that for a USB stick I don't know, but it should be discoverable in man efibootmgr.
BLS I haven't used yet, so I have no idea how to implement name change for its users.
On 1/17/25 6:57 PM, Felix Miata wrote:
Samuel Sieb composed on 2025-01-17 17:18 (UTC-0800):
If you also have Fedora installed on the hard drive, this will likely conflict, although you could manually add it with a different name.
A different name is configured for Grub2 users in /etc/default/grub as a value for GRUB_DISTRIBUTOR=. You might use GRUB_DISTRIBUTOR="fedora41usb". That would result in a new directory on the ESP partition /EFI/fedora41usb/ along with existing entry /EFI/fedora/, and a corresponding new BBS hotkey boot menu selection of fedora41usb when booting with that USB stick affixed - upon application of your edit. Simply editing /etc/default/grub only changes the file. It takes effect only after it gets "installed" to the ESP and the UEFI BIOS. The specific procedure for that for a USB stick I don't know, but it should be discoverable in man efibootmgr.
BLS I haven't used yet, so I have no idea how to implement name change for its users.
That only applies if you have multiple Fedora installs on the same disk. I'm not saying there's a directory conflict. It's a UEFI boot entry conflict. The USB drive has its own ESP partition.
On 1/17/25 4:39 PM, ToddAndMargo via users wrote:
Hi All,
I am officially confused. Search.brave.com give tons of stuff I either can't use or can't figure out.
I AM NOT DUAL BOOTING WITH WINDOWS!!! (That is dumb to do. Use qemu-kvm)
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
I am concerned that I my goof my main computer EUFI boot in the process.
Yours in confusion, -T
If it helps (from my main computer):
Gparted /dev/sdc: https://ibb.co/YB431Yn
# gdisk -l /dev/sdc GPT fdisk (gdisk) version 1.0.10
Partition table scan: MBR: protective BSD: not present APM: not present GPT: present
Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 121145344 sectors, 57.8 GiB Model: FlashBlu Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 8CEE4F90-5B41-4F0B-909D-E604C7AD0CF0 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 121145310 Partitions will be aligned on 2048-sector boundaries Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 4095 1024.0 KiB EF02 2 4096 2101247 1024.0 MiB EA00 3 2101248 121143295 56.8 GiB 8304
Extra info: f12 at boot brings up the boot menu. They flash drive is not in the list. Both my Live USB's do show up.
How do I restore my boot?
On 1/17/25 4:39 PM, ToddAndMargo via users wrote:
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
I am concerned that I my goof my main computer EUFI boot in the process.
If it helps (from my main computer):
Gparted /dev/sdc: https://ibb.co/YB431Yn
I missed this. It looks like the partition is wrong.
# gdisk -l /dev/sdc GPT fdisk (gdisk) version 1.0.10
Number Start (sector) End (sector) Size Code Name 1 2048 4095 1024.0 KiB EF02 2 4096 2101247 1024.0 MiB EA00 3 2101248 121143295 56.8 GiB 8304
Can you show the fdisk output instead? It's more useful.
Also "blkid /dev/sdc*".
On 1/17/25 10:29 PM, Samuel Sieb wrote:
On 1/17/25 4:39 PM, ToddAndMargo via users wrote:
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
I am concerned that I my goof my main computer EUFI boot in the process.
If it helps (from my main computer):
Gparted /dev/sdc: https://ibb.co/YB431Yn
I missed this. It looks like the partition is wrong.
# gdisk -l /dev/sdc GPT fdisk (gdisk) version 1.0.10
Number Start (sector) End (sector) Size Code Name 1 2048 4095 1024.0 KiB EF02 2 4096 2101247 1024.0 MiB EA00 3 2101248 121143295 56.8 GiB 8304
It was working for a while before I goofed it up removing defunct kernels
Can you show the fdisk output instead? It's more useful.
Command (m for help): p
Disk /dev/sdc: 57.77 GiB, 62026416128 bytes, 121145344 sectors Disk model: FlashBlu Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 8CEE4F90-5B41-4F0B-909D-E604C7AD0CF0
Device Start End Sectors Size Type /dev/sdc1 2048 4095 2048 1M BIOS boot /dev/sdc2 4096 2101247 2097152 1G Linux extended boot /dev/sdc3 2101248 121143295 119042048 56.8G Linux root (x86-64)
Also "blkid /dev/sdc*".
$ blkid /dev/sdc* /dev/sdc2: UUID="35d99087-afc7-4f27-8627-f50d98994fc9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="86375f32-d100-434e-9e50-83de90025d0c" /dev/sdc3: UUID="e1ba9a55-204f-4390-b248-ff26e5c5b6ab" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="55249b32-bdaa-46e5-bee6-4673e7dc84e2"
ToddAndMargo via users composed on 2025-01-17 22:55 (UTC-0800):
Device Start End Sectors Size Type /dev/sdc1 2048 4095 2048 1M BIOS boot /dev/sdc2 4096 2101247 2097152 1G Linux extended boot /dev/sdc3 2101248 121143295 119042048 56.8G Linux root (x86-64)
This stick is not configured for UEFI booting. Instead of a required EFI System partition (ESP) of 100M or more you have a 1M BIOS boot partition.
# fdisk -l ... Device Start End Sectors Size Type /dev/nvme0n1p1 2048 657407 655360 320M EFI System ...
On 1/17/25 11:15 PM, Felix Miata wrote:
ToddAndMargo via users composed on 2025-01-17 22:55 (UTC-0800):
Device Start End Sectors Size Type /dev/sdc1 2048 4095 2048 1M BIOS boot /dev/sdc2 4096 2101247 2097152 1G Linux extended boot /dev/sdc3 2101248 121143295 119042048 56.8G Linux root (x86-64)
This stick is not configured for UEFI booting. Instead of a required EFI System partition (ESP) of 100M or more you have a 1M BIOS boot partition.
# fdisk -l ... Device Start End Sectors Size Type /dev/nvme0n1p1 2048 657407 655360 320M EFI System ...
Gparted /dev/sdc: https://ibb.co/YB431Yn
Gparted call it:
/dev/sdc1 grub2.core img 1.00MiB /dev/sdc2 ext4 1GiB flags: bls_boot
My boot drive
# fdisk -l /dev/nvme0n1p1 Disk /dev/nvme0n1p1: 200 MiB, 209715200 bytes, 409600 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000
I see what you mean. Is there anyway to stick the EUFI on the flash drive, or do I have to erase it and start over?
On 1/17/25 11:35 PM, ToddAndMargo via users wrote:
On 1/17/25 11:15 PM, Felix Miata wrote:
ToddAndMargo via users composed on 2025-01-17 22:55 (UTC-0800):
Device Start End Sectors Size Type /dev/sdc1 2048 4095 2048 1M BIOS boot /dev/sdc2 4096 2101247 2097152 1G Linux extended boot /dev/sdc3 2101248 121143295 119042048 56.8G Linux root (x86-64)
This stick is not configured for UEFI booting. Instead of a required EFI System partition (ESP) of 100M or more you have a 1M BIOS boot partition.
# fdisk -l ... Device Start End Sectors Size Type /dev/nvme0n1p1 2048 657407 655360 320M EFI System ...
My boot drive
# fdisk -l /dev/nvme0n1p1 Disk /dev/nvme0n1p1: 200 MiB, 209715200 bytes, 409600 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000
I see what you mean. Is there anyway to stick the EUFI on the flash drive, or do I have to erase it and start over?
The ESP doesn't need to be too big, so you can probably take 200MB from the /boot partition to extend the first partition. Then you need to format it as FAT32 and flag it correctly (gparted knows how to do it). Then you need to install (or re-install) grub2-efi. Hopefully that will do it. You could probably copy the efi partition from another drive to get started. That might let you boot and re-install from the running system.
On Fri, 2025-01-17 at 16:39 -0800, ToddAndMargo via users wrote:
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
Do you mean you've installed Fedora so it can run from the drive (liveboot) if it can find it? Or do you mean you've copied the installer to the drive?
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
With my last Fedora install (40), I had to use the server install ISO, because none of my systems could boot from that USB. It didn't matter if I used dd or one the mediawriter things.
On 1/18/25 12:15 AM, Tim wrote:
On Fri, 2025-01-17 at 16:39 -0800, ToddAndMargo via users wrote:
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
Do you mean you've installed Fedora so it can run from the drive (liveboot) if it can find it? Or do you mean you've copied the installer to the drive?
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
With my last Fedora install (40), I had to use the server install ISO, because none of my systems could boot from that USB. It didn't matter if I used dd or one the mediawriter things.
I am thinking now that it booted legacy and I did not know any better.
I think I will dd /dev/zero the drive, then partition it GPT and see if the Fedora installer put EFI on it before configuring it. (I wrote down all the steps I want to configure it. It is just follow the steps.)
On 1/18/25 12:26 AM, ToddAndMargo via users wrote:
On 1/18/25 12:15 AM, Tim wrote:
On Fri, 2025-01-17 at 16:39 -0800, ToddAndMargo via users wrote:
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
Do you mean you've installed Fedora so it can run from the drive (liveboot) if it can find it? Or do you mean you've copied the installer to the drive?
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
With my last Fedora install (40), I had to use the server install ISO, because none of my systems could boot from that USB. It didn't matter if I used dd or one the mediawriter things.
I am thinking now that it booted legacy and I did not know any better.
I think I will dd /dev/zero the drive, then partition it GPT and see if the Fedora installer put EFI on it before configuring it. (I wrote down all the steps I want to configure it. It is just follow the steps.)
If it's a fresh install, then yes, just re-install it. Make sure that you're booting the installer in UEFI mode. You can probably disable CSM mode in the BIOS settings.
On Sat, Jan 18, 2025 at 4:16 AM Tim via users users@lists.fedoraproject.org wrote:
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
With my last Fedora install (40), I had to use the server install ISO, because none of my systems could boot from that USB. It didn't matter if I used dd or one the mediawriter things.
After the 3rd Windows 11 update in row left me unable to boot Fedora (40 and then 41), I dumped Windows 11 (I only have W11 it so I can report issues with PDF files in Adobe Reader to the authors) but had to use the Fedora 41 Server Installer (via ventory) as the F40 and F41 Workstation installers wouldn't boot.
On 1/20/25 2:11 PM, George N. White III wrote:
On Sat, Jan 18, 2025 at 4:16 AM Tim via users users@lists.fedoraproject.org wrote:
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
With my last Fedora install (40), I had to use the server install ISO, because none of my systems could boot from that USB. It didn't matter if I used dd or one the mediawriter things.
After the 3rd Windows 11 update in row left me unable to boot Fedora (40 and then 41), I dumped Windows 11 (I only have W11 it so I can report issues with PDF files in Adobe Reader to the authors) but had to use the Fedora 41 Server Installer (via ventory) as the F40 and F41 Workstation installers wouldn't boot.
If you need Windows and Wine won't cut it, run qemu-kvm. Dual boot is asking for a disaster.
Plus with qemu-kvm, you can run both simultaneously. Even copy and paste between the two
On 1/17/25 4:39 PM, ToddAndMargo via users wrote:
Hi All,
I am officially confused. Search.brave.com give tons of stuff I either can't use or can't figure out.
I AM NOT DUAL BOOTING WITH WINDOWS!!! (That is dumb to do. Use qemu-kvm)
I have a USB flash drive I have installed Fedroa 41 on. I somehow goofed my EUFI boot. Yes it was definitely my doing.
How do I fix my EUFI boot on the USB drive from my main fc41 computer?
The flash drive is completely readable from my main computer including the flash drive's boot folder
I am concerned that I my goof my main computer EUFI boot in the process.
Yours in confusion, -T
I wiped, partitioned GPT, and reinstalled.
Happy camping has returned.
Thank you all for the help!