Re: Hypothetical boot question

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

 



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@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