On Tue, Jul 2, 2024 at 10:49 AM Frank Bures <buresf@xxxxxxxxx> wrote: > What I want is to create a USB stick with /boot and /boot/efi fs in such a > way that it boots an existing F40 installation on a HD. As I understand things... - your computer will need to be told to boot off the USB drive - either a boot option in the UEFI variables or a temporary boot-time selection of some sort - /boot/efi/EFI/fedora/grub.cfg on the USB drive needs to "point" to the /boot partition on the USB drive - /boot/grub2/grub.cfg on the USB drive needs to "point" to the drive with the desired /boot and root partitions - "point" is typically referencing a disk or partition by UUID In theory as long as all the UUIDs are correct, and you have unique UUIDs on the system, I think you should be able to do it. I am also assuming the existing install can be booted from UEFI. If you are comfortable with using dd, I *think* you could dd the existing /boot and /boot/efi to the USB stick, change the UUID of the USB stick as needed, and then add the boot variable to UEFI. However, to properly test it you would also need to remove the existing /boot and /boot/efi, so if you decide to try it *please* make sure you have backups and know how to restore them, or do this on a system you can afford to trash. Care to explain what you are trying to achieve? The USB stick would only be useful for the existing install, and you would need the USB stick to boot the existing install (assuming you removed any existing /boot and/or /boot/efi from the existing install). -- _______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue