Re: Hypothetical boot question

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

 



On Tue, Jul 2, 2024 at 11:49 AM Frank Bures <buresf@xxxxxxxxx> wrote:
Hi,

I was wondering if it was possible to boot the existing F40 installation
from a USB.  I tried to research this but everything I was able to find
dealt with booting a live image of F40 from USB and/or installing a live
image of F40 on a USB.

I have a couple SSD's in external USB3 cases with Fedora 40 installed.  
I just do a normal Fedora Workstation install from the Fedora 40 Live Installer 
on USB stick.  One is used 7x24 on an old iMac with a very slow 2. in laptop 
type internal drive.   The other is used for testing and rescues.   I boot them
using:

% doas cat /etc/grub.d/40_custom
#!/usr/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Boot from USB Drive" {
    set root=UUID=<UUID>
    linux /vmlinuz root=/<UUID> ro
    initrd /initrd.img
}
 
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.

This is way outside the design parameters for most USB sticks.   Most will
have very poor performance running a full Fedora installation, and will not
last used this way.
 
I am not talking about rescuing the system from a live Fedora USB.  I am
talking about a fully automatic boot of an existing installed Fedora from a
USB.

Is it possible and what would it involve?

* disable secure boot in the "UEFI" ("BIOS") configuration
* good quality external USB3 SSD 
* add an external USB boot entry in grub2 on the host system

I have done this on systems with an existing Fedora installation and put the
grub2 USB stanza on the internal drive.  On a system without any linux
installation I have only used BIOS boot, without UEFI.  

--
George N. White III

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