Re: Fedora image on flash drive bootable both UEFI and Legacy

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

 



On Tue, 2 Nov 2021 20:19:10 +0100
"Petr Menšík" <pemensik@xxxxxxxxxx> wrote:
> I would like to have my flash drive prepared with recent Live image. I
> know how to write image to an usb drive and how to boot it.
> 
> However, I carry 64GB large disk on my keys and I would like to have
> two things:
> 
> - bootable live image
> - data partition for common files, visible from Windows
> - should boot both on recent computer with UEFI preference
> - should boot also on older computer with legacy boot only.

The program livecd-iso-to-disk from the package livecd-iso-to-mediums
can do the first three parts.  Then with a bit of care one can hack in
BIOS boot support.  I am not aware of an automatic tool, but basically
one creates a hybrid partition table and manually installs the BIOS
bootloader without disturbing the EFI one.  It has been several years
since I did this, and I have forgotten the details.  A web search
should help.

Maybe a second run of livecd-iso-to-disk can do it if you do not
reformat the second time.

> I understand my expectations are not very low. But because the image
> itself can boot on both architectures, I would hope there exist tools
> able to prepare such configuration.

I do not know of a canned solution.

> Unfortunately, gdisk can display partition tables on image only
> partially. It is not able to modify it and add another data partition
> after image ends. Which were the only required step after dd
> if=Fedora-Workstation-Live-x86_64-35-1.2.iso of=/dev/sdc as I naively
> thought.
> 
> Do you know if is even theoretically possible? Are there existing
> tools able to create both GPT and MBR tables, just like on Fedora
> images? How are those images created?

It is theoretically possible and most likely also practically
possible.

I think the Fedora images are created by livemedia-creator.

Jim
_______________________________________________
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