Re: grub2-mkconfig

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

 



>
> On Tue, 4 Jun 2024 22:15:33 +0200, Patrick Dupre via users wrote:
>
> > I guess that when I run grub2-mkconfig there was a UBS key what connected on the usb poer.
> >
> > I made some progresses, but not enough
> > I mounted the Fedora 40 / and
> > cp -a /mnt/fedrao40/boot/loader/entries/* /boot/loader/entries
> >
> > cat /boot/loader/entries/dcdc9ed7e87243ec91d6d876cf7c3384-6.8.9-100.fc38.x86_64.conf
> >
>
> Oh no! Messing up the installation isn't helpful. I've assumed you
> only wanted to analyze the grub.cfg file, since grub2-mkconfig clearly
> found a Fedora 40 installation. If not via os-prober (you can run that
> yourself, btw, to verify), then via the 10_linux section.
>
> Anyway,... the exact scenario still isn't clear to me. It's an upgrade
> of F38 to F40, but why did you want to run grub2-mkconfig yourself?
Because, the grub boot did not show the updated installation (F40)

>
> And you run grub2-mkconfig with F38, but it doesn't create a working
> config file? What happens to the boot menu afterwards?

I can run grub2-mkconfig from both.
In the grub.cfg from F38, Fedora 40 is missing
but the grub.cfg from F40 may be OK.
Hence, I can
1) replace grub.cfg from F38 by that of F40
2) Edit grub.cfg from F38 by adding a correct insert (DO NOT EDIT THIS FILE)
3) Edit /etc/grub.d/40_custom by adding a similar sequence

But I guess that it will do something similar to /boot/loader/entries/dcdc9ed7e87243ec91d6d876cf7c3384-6.8.11-300.fc40.x86_64.conf


Samuel S said

> Number Start End Size Type File system Flags
> 2 1049kB 470MB 469MB primary ext4 boot
> 3 470MB 25.4GB 24.9GB primary ext4
> 4 25.4GB 82.0GB 56.6GB extended
> 5 25.4GB 82.0GB 56.6GB logical ext4

You don't have an EFI partition on this disk. It's not even a GPT
partition table. So both installations will be fighting over the EFI
partition on sda. And there's no easy way to add a boot entry for this
installation.

1) I guess that gpt is not need by a small disk,
2) I can manage this disk partition,
adding an efi partition (or other) if necessary.

I am waiting recommendation, and I will do the changes.

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