Re: how can I use a live usb to update ?

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

 



On 11/21/19 9:47 AM, stan via users wrote:
On Thu, 21 Nov 2019 06:49:44 -0500
sean darcy <seandarcy2@xxxxxxxxx> wrote:

Nothing is mounted under /mnt/sysimage. What should I mount there ?
The installed "/" partition ?

Richard answered this question better than I would have.

Not sure what you mean by "boot into upgraded system as MBR". I can
see the F30 kernel in the installed /boot partition.

I interpreted 'boot to bios' as meaning you could boot via mbr.  I must
have been wrong.  If you edit the kernel boot line, and remove rhgb and
quiet, what messages show up when you are trying to boot?  The error
should be near the end of the messages, and left on your screen when
the boot fails.

If you have uefi firmware, can you use the uefi boot menu to boot the
installed system?  It should be an entry something like "uefi fedora
30".  If you can, run a
dnf distro-sync
and a
dnf update
and a
dnf reinstall shim-x64
to put your system in a consistent, current state and try booting again.
If it still doesn't boot, look at the file
/boot/efi/EFI/fedora/grub.cfg.  Is the boot stanza correct?  If not,
look at /etc/default/grub to be sure that the default options are
acceptable, and run
grub2-mkconfig -o grub.cfg
in the /boot/efi/EFI/fedora directory, and then try booting again.


So I chroot'd into the old installation. BIOs boot, not EFI. No entries at all in grub.cfg.

ran grub2-mkconfig. No entries again in output. It can't find the f29 and f30 in /boot.

Tried grub2-install /dev/sda2, but that died because no EFI grub files. The a bugzilla on this which was closed NOTABUG. The EFI files are not installed om purpose to keep people from using grub2-install. You can dnf install the efi modules. Which is a great suggestion for a broken upgrade, where dnf is not available.

There's a grub.cfg.rpmsave which seems to have been generated by anaconda. I'm going to try to use that to boot. It only has the f29 kernel. My plan is to reinstall the f30 kernel. Maybe anaconda will actually work correctly.
_______________________________________________
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



[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