Raptor Computing Systems Community Forums (BETA)
Software => Operating Systems and Porting => Topic started by: cchinicz on November 12, 2020, 10:43:58 am
-
Hi,
I've upgraded from Fedora 32 to Fedora 33 and I want to test kernel-5.8.18-300.fc33.ppc64le.
Issuing command "sudo dnf upgrade --advisory=FEDORA-2020-6bac1c305f" (see https://bodhi.fedoraproject.org/updates/FEDORA-2020-6bac1c305f) I can see files initramfs-5.8.18-300.fc33.ppc64le.img in /boot directory.
When checking file /boot/grub2/grub.cfg there is no kernel-5.8.18-300.fc33.ppc64le option available. I've tried running grub2-mkconfig but /boot/grub2/grub.cfg remained unchanged.
I've then downloaed kernel-5.8.18-300.fc33.ppc64le.rpm from https://koji.fedoraproject.org/koji/buildinfo?buildID=1637394 and run "rpm -ivh kernel-5.8.18-300.fc33.ppc64le.rpm" and the response includes "package kernel-5.8.18-300.fc33.ppc64le is already installed". Still /boot/grub2/grub.cfg does not contain kernel-5.8.18-300.fc33.ppc64le.
What am I missing here?
Any help is much appreciated.
Thanks
-
I assume it doesn't show up either as an option in Petitboot.
-
I assume it doesn't show up either as an option in Petitboot.
Yep. All I see on Petit boot is what is in grub.cfg.
Any idea?
-
This works for me: How to install a kernel from koji (https://fedoramagazine.org/install-kernel-koji/)
-
This works for me: How to install a kernel from koji (https://fedoramagazine.org/install-kernel-koji/)
Hi MPC7500,
I read the article you sent and got excited because I realised I had installed just kernel-5.8.18-300.fc33.ppc64le.rpm, so I've downloaded kernel-core-5.8.18-300.fc33.ppc64le.rpm and kernel-modules-5.8.18-300.fc33.ppc64le.rpm and run "sudo dnf install kernel-5.8.18-300.fc33.ppc64le.rpm kernel-core-5.8.18-300.fc33.ppc64le.rpm kernel-modules-5.8.18-300.fc33.ppc64le.rpm". The result was:
Package kernel-5.8.18-300.fc33.ppc64le is already installed.
Package kernel-core-5.8.18-300.fc33.ppc64le is already installed.
Package kernel-modules-5.8.18-300.fc33.ppc64le is already installed.
Dependencies resolved.
Nothing to do.
I've checked /boot/grub2/grub.cfg, which had not changed. I've run grub2-mkconfig but grub.cfg did not change.
I've booted to see if something had changed but no, nothing changed.
Can you give me some additional advice? this is first time I try this and maybe I missed some important point.
Thanks in advance.
-
No idea. It just worked. I would remove it and install it again.
-
No idea. It just worked. I would remove it and install it again.
Hi MPC7500,
I've removed and reinstalled the three RPM packages (kernel-5.8.18-300.fc33.ppc64le.rpm kernel-core-5.8.18-300.fc33.ppc64le.rpm kernel-modules-5.8.18-300.fc33.ppc64le.rpm) but it did not work.
I've changed /boot/grub2/grub.cfg to a different name and ran grub2-mkconfig but no new /boot/grub2/grub.cfg was created. So I've changed back the name to /boot/grub2/grub.cfg and booted. On Petitboot I only see what's in /boot/grub2/grub.cfg.
If I issue command "rpm -qa kernel" I get this as a response:
kernel-5.8.18-300.fc33.ppc64le
kernel-5.8.16-200.fc32.ppc64le
kernel-5.8.17-300.fc33.ppc64le
If I issue command "rpm -qa | grep -i kernel" I get this:
kernel-modules-5.8.18-300.fc33.ppc64le
kernel-core-5.8.18-300.fc33.ppc64le
kernel-modules-extra-5.8.17-300.fc33.ppc64le
kernel-core-5.8.16-200.fc32.ppc64le
kernel-core-5.8.17-300.fc33.ppc64le
kernel-5.8.18-300.fc33.ppc64le
kernel-5.8.16-200.fc32.ppc64le
kernel-srpm-macros-1.0-3.fc33.noarch
kernel-headers-5.8.18-300.fc33.ppc64le
kernel-modules-5.8.16-200.fc32.ppc64le
libreport-plugin-kerneloops-2.14.0-12.fc33.ppc64le
kernel-5.8.17-300.fc33.ppc64le
kernel-modules-extra-5.8.16-200.fc32.ppc64le
abrt-addon-kerneloops-2.14.4-7.fc33.ppc64le
kernel-modules-5.8.17-300.fc33.ppc64le
libreport-plugin-kerneloops-2.13.1-5.fc32.ppc64le
abrt-addon-kerneloops-2.14.2-3.fc32.ppc64le
kernel-modules-extra-5.8.18-300.fc33.ppc64le
It is really frustrating!
-
Hi guys,
I found the issue here (https://fedoraproject.org/wiki/GRUB_2). The right commnad to create a new /boot/grub2/grub.cfg from the installed kernels is "grub2-mkconfig -o /boot/grub2/grub.cfg" and not just "grub2-mkconfig" as I was doing.
Thank you all.