Raspberry Ugrade to ARM Fedora 30
by ng0177@gmail.com
Dear All, to upgrade a Raspberry 3 I executed this commands
sudo dnf -y upgrade --refresh
sudo dnf -y install dnf-plugin-system-upgrade
sudo dnf -y system-upgrade download --releasever=30
sudo dnf -y system-upgrade reboot
after the reboot dnf fails. Is anyone else having the problem?
Thanks, Thomas
[pi@raspi ~]$ sudo dnf -y system-upgrade clean
[sudo] password for pi:
Traceback (most recent call last):
File "/usr/lib64/python3.7/site-packages/libdnf/common_types.py", line
14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 670, in _load_unlocked
File "<frozen importlib._bootstrap>", line 583, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1043, in create_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
ImportError: /lib64/libstdc++.so.6: file too short
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/usr/lib/python3.7/site-packages/dnf/__init__.py", line 30, in
<module>
import dnf.base
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/usr/lib64/python3.7/site-packages/libdnf/__init__.py", line 3, in
<module>
from . import common_types
File "/usr/lib64/python3.7/site-packages/libdnf/common_types.py", line
17, in <module>
_common_types = swig_import_helper()
File "/usr/lib64/python3.7/site-packages/libdnf/common_types.py", line
16, in swig_import_helper
return importlib.import_module('_common_types')
File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_common_types'
4 years, 11 months
GPT partition on Fedora ARM images
by Andrew Gillis
I want to install Fedora ARM on a 400GB SD card for use with imx6. The
current images are have DOS partitions so they won't work on an SD that
large.
Is their an easy way to convert an image to GPT? I tried a few simple ways
such as using gdisk but I'm always left with an unbootable image.
-Andrew
4 years, 11 months
Re: Raspberry Ugrade to ARM Fedora 30
by ng0177@gmail.com
See below. Interestingly "sudo grub2-mkconfig" resulted in permission
denied but "su" worked. Nevertheless, I am stilled faced w/
[pi@raspi ~]$ lsb_release -d;uname -r
Description: Fedora release 29 (Twenty Nine)
5.0.10-200.fc29.aarch64
Thanks, Thomas
[pi@raspi ~]$ lsb_release -d;uname -r
Description: Fedora release 29 (Twenty Nine)
5.0.10-200.fc29.aarch64
[pi@raspi ~]$ rpm -qa| grep kernel| sort
kernel-5.0.10-200.fc29.aarch64
kernel-5.0.6-200.fc29.aarch64
kernel-5.0.9-200.fc29.aarch64
kernel-core-5.0.10-200.fc29.aarch64
kernel-core-5.0.6-200.fc29.aarch64
kernel-core-5.0.9-200.fc29.aarch64
kernel-headers-5.0.9-200.fc29.aarch64
kernel-modules-5.0.10-200.fc29.aarch64
kernel-modules-5.0.6-200.fc29.aarch64
kernel-modules-5.0.9-200.fc29.aarch64
kernel-tools-5.0.9-200.fc29.aarch64
kernel-tools-libs-5.0.9-200.fc29.aarch64
[[pi@raspi ~]$ sudo grub2-mkconfig > /boot/efi/EFI/fedora/grub.cfg
-bash: /boot/efi/EFI/fedora/grub.cfg: Permission denied
[pi@raspi ~]$ su
Password:
[root@raspi pi]# grub2-mkconfig > /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.10-200.fc29.aarch64
Found initrd image: /boot/initramfs-5.0.10-200.fc29.aarch64.img
Found linux image: /boot/vmlinuz-5.0.9-200.fc29.aarch64
Found initrd image: /boot/initramfs-5.0.9-200.fc29.aarch64.img
Found linux image: /boot/vmlinuz-5.0.6-200.fc29.aarch64
Found initrd image: /boot/initramfs-5.0.6-200.fc29.aarch64.img
done
On Fri, May 3, 2019 at 9:45 PM Peter Robinson <pbrobinson(a)gmail.com> wrote:
> >
> https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#aarch64_sup...
> only quotes Fedora 29.
> >
> > Description: Fedora release 30 (Thirty)
> > in combination w/
> > 5.0.10-200.fc29.aarch64
> >
> > is the concern. Thanks.
>
> Ah, missed the f29 bit. What does the following return?
>
> "rpm -qa| grep kernel| sort"
>
> I suspect you might just need to regenerate the grub config for the
> new BLS feature which you can do with:
>
> "grub2-mkconfig > /boot/efi/EFI/fedora/grub.cfg"
>
4 years, 11 months
Re: Raspberry Ugrade to ARM Fedora 30
by Peter Robinson
On Fri, May 3, 2019 at 8:45 PM Peter Robinson <pbrobinson(a)gmail.com> wrote:
>
> > https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#aarch64_sup... only quotes Fedora 29.
> >
> > Description: Fedora release 30 (Thirty)
> > in combination w/
> > 5.0.10-200.fc29.aarch64
> >
> > is the concern. Thanks.
>
> Ah, missed the f29 bit. What does the following return?
>
> "rpm -qa| grep kernel| sort"
>
> I suspect you might just need to regenerate the grub config for the
> new BLS feature which you can do with:
>
> "grub2-mkconfig > /boot/efi/EFI/fedora/grub.cfg"
4 years, 11 months