Re: automatic updates corrupting grub loader

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

 





On Sun, May 9, 2021 at 2:36 PM John Mellor <john.mellor@xxxxxxxxx> wrote:

On 2021-05-09 2:14 p.m., John List wrote:
> Something is updating on my Fedora 33 system and destroying my grub
> loader on a dual boot system.  I have reinstalled a couple times and
> even tried Fedora 34.  Fedora 34 won't install giving an error about
> not being able to update the /boot/efi directory.   Fedora 33 at least
> starts the first time until the updates run.  The first boot I get the
> grub menu.  The second time after updates, I get a grub command line
> screen.
>
> 1. Automatic updates keep installing before I can troubleshoot.  The
> first time I login, I disable and stop packagekit.  But either it
> already sets automatic updates on next boot, or something else is
> running updates on next boot which is killing the grub menu.
>
> 2. I am assuming the grub loader is getting replaced when a kernel is
> updated.  The original Fedora 33 kernel installed with the install
> media works.  But after the updates, it does not work.
>
> Any help on disabling the automatic updates and then troubleshooting
> the dual boot issue would be appreciated.

First quick check to do - Did you lock the boot sectors in the BIOS
settings, preventing updates from occurring?

Secondly, run the SMART tests on your disk.  Windows is extremely hard
on your boot sectors and as a result those tend to be the most failed
parts of the disk.  More than a few manufacturers do not allow the boot
sectors to be relocated by the disk firmware.

Third, run a memory test.  I has a failing SSD, and the real problem was
a bad stick of memory.  Also, are you overclocking anything?  Linux is
decidedly less friendly to hardware faults caused by overclocking.

Lastly, on Dell, HP or Lenovo machines, do you have those stupid and
buggy Intel remote admin capabilities enabled?  There are several
setting in that crud that can mess up your machine.

--

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


Disabling and stopping packagekit in systemctl allowed me to update packages without the system doing it.  I think if packagekit is updated, it may reenable in systemctl.  I'm not positive about that.

I narrowed the packages I am having issues with down to grub2-*.   It is updating to version 2.06.  I installed all other updates on Fedora 33 and the system booted.  Then I installed 11 grub2-* packages and the system booted into the grub command line menu.

Again this is a dual boot system that had windows 10 installed first.  Fedora is reusing the /boot/efi partition that windows created.  I don't think that it is an issue with the hard boot sector, boot sector being locked, or memory since when do a clean install of Fedora 33 from the install media, it boots normally.  I have reinstalled about five times to isolate the issue.

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