Re: machine will not boot after moving root

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

 



On Fri, 23 Apr 2021, Roger Heflin wrote:

I assume it is still not bootable.

But if the windows system is gone and you don't care about it, then I
would set sda3 to be bootable.

Did that.  Forgot to mention it.

rescue it and then grub-install /dev/sda3 but make sure the newuuid is

I've read that I need --force to grub2-install onto a partition.
IIRC grub rescue did not find any partitions.
Live F33 has no trouble.

in both fstab (you have done that I think) and matches what is in the
/boot/grub2/grub.cfg.  if a different value is in the grub.cfg file
then you can either make the actual fs uuid match that and update
fstab to match, or edit the grub.cfg file that it says do not edit (I
would think the grub2-install would fix that but it appears another
command might be required for that--see below).

The UUID not found is used by the F33 live DVD.
Changing sda3's UUID to that seems a bad idea.

I did a test and it looks like this will update the grub.cfg file and
it should use the new uuid, try it and see if it uses the correct uuid
and verify the old file did not have the correct uuid.

grub2-mkconfig -o /boot/grub2/grub.cfg <save a copy of it first>

--
Michael   hennebry@xxxxxxxxxxxxxxxxxxxxx
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure



[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