-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading from 23.04 to 23.10 with only liquorix kernel - grub problems #342
Comments
IMHO, it is necessary to replace version_find_latest in /etc/grub.d/10_lupin version_find_latest has been removed from GRUB. So, I will try to change 10_lupin. 10_linux has already been changed. |
As I digged for a solution, I found other projects with similar issues: holoiso-eol/holoiso#458 So there is the following situation: Here is the GRUB commit which has removed version_find_last. But in our tests it was not backward compatible. So the decision was to move code of external function version_find_latest to script 10_lupin renaming function to lupin_version_find_latest. To do so, you can download 10_lupin_patch.txt and change the file /etc/grub.d/10_lupin or simply use
|
It didnt work for me, same error when upgrading |
Can you list the output files of the patch ? After running the patch for the first time, there should be only one file: But after riunning the patch for the second time, there are at least two files:
If you did not confirm the reversed mode, you got /etc/grub.d/10_lupin.rej which is just for information. If you got /etc/grub.d/10_lupin.orig, disable the file with ....and try the patch again with
There should be only the file /etc/grub.d/10_lupin executable (x) and it should be the patched one (12412 bytes). If you run.... |
Aooarently it worked but after reboot I'm left with a grub command line. |
It is not easy to help you without further information. At least we need the created /boot/grub/grub.cfg and the kernels in /boot. Assuming that the Grub commands to attach your Ubuntu disk worked, you see that information with:
Alternately you can use 7z to open /ubuntu/disks/root.disk on Windows. |
@hakuna-m |
No, I suggest to use LTS releases like 22.04. see https://wiki.ubuntu.com/Releases and columns "End of Standard Support" and "End of Life" 23.04 still has only short term support. Support will end at a time where 24.04 is not available. So there is no upgrade from 23.04 to 24.04 at the right time. Besides, it is not sure that 24.04 fixes your issue. IMHO, the patch in my previous posts fixes the GRUB issue but maybe liquorix kernels need other patches, too. I will try a liquorix kernel with 22.04 and I will report. Maybe, we can solve all issues. So that you can try another upgrade. |
I have installed a liquorix kernel without issues. The patched 10_lupin does find the liquorix kernel. So there should be no general issue with liquorix kernels. |
Thanks for testing, it must be some other issue then. |
After the upgrade to 23.10 grub fails to configure with error:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/10_lupin: 1: version_find_latest: not found
I suspect the problem is that I only had liquorix kernel installed and the $list of kernels is then empty.
I can't install any new kernel now cause they all fail to configure.
Is my suspect good ?
This is what I think gives a "version_find_latest: not found" error:
The text was updated successfully, but these errors were encountered: