Re: restoring fedora boot manager

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

 



On 9/21/23 15:43, Bill Cunningham wrote:

On 9/21/2023 6:35 PM, Joe Zeff wrote:
On 09/21/2023 04:24 PM, Bill Cunningham wrote:

What I would like to do for example, is if I removed a Windows OS, for example, the partition data (for fedora) would need to be reset. Say I reinstalled the system (windows). I believe that windows could take care of itself but I am going to have an unbootable fedora there.

Before you go all heavy handed here, give us an idea of what's wrong so we have an idea what you'll need to do.  Are you planning on reinstalling Windows?  Does your Fedora system currently boot, and if not, what happens if you try?  If your Fedora partitions are OK, and can be read when you're using a LiveUSB, there's no reason in the world that giving it a new UUID would make sense.

From time to time I will reinstall my windows fresh. All is fine now. Since Windows clutters everything. When the windows is reinstalled fresh its bootloader will be default. I will need to boot into the fedora rescue mode. This is where grub will need to be put. With mbr boot, I used this-

grub2-install /dev/sda

Don't do this with EFI.  That would be bad.

grub2-mkconfig;

Not necessary.

Then set the default. All is fine. Now, things are a little more complicated. For me anyway.

reinstalling a fedora bootloader and using that is what I need to do, everything is fine now at the moment.

If you're using EFI, you don't need to do anything. Windows and Fedora have separate, independent bootloaders. The only thing you might have to do is tell your BIOS that you want Fedora as the default boot option. (Unless windows does something stupid like reformatting the EFI partition, but it really shouldn't do that and I doubt it would.)
_______________________________________________
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