On 7/2/24 07:44, Frank Bures 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.

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.

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?


I found this article; it is 8 years old and mostly covers MBR boot but there is one efi boot example.

https://unix.stackexchange.com/questions/252936/grub2-boot-to-a-second-another-hard-disk

--

This one looks interesting. Harddrives are hdX starting at 0. Add a menuentry to your usb grub.cfg


menuentry "Boot from second disk" {
   chainloader (hd1)+1
}

but changed to this:

menuentry "Boot from first harddisk" {
  chainloader (hd0)+1
}

Give it a try and see what happens.
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to