Grub 2.12 feedbacks
Grub 2.12 has been added in Salckware current /testing tree
Code:
testing/packages/grub-2.12-x86_64-1.txz: Added. It just cycles to my BIOS |
I couldn't run the package on Slint64-15.0 (SO libs mismatch) but built it, installed it and it works here (TM) with a few caveats about the menu. At least I could type:
Code:
grub-install /dev/sdb This is with UEFI. |
Could you post diff's of the files that you modified?
|
Quote:
|
According to Arch PKGBUILD:
Code:
post_upgrade() { |
Quote:
|
Quote:
https://raw.githubusercontent.com/md...lackware_linux |
I have been using the os-prober to find my Windows Partition which worked perfectly fine. but I have noticed that a few weeks back all of the sudden the os-prober is now finding the Slackware kernels. This is creating duplicate entries which is really annoying. My work around is to disable os-prober and just create a custom entry for my Windows partition in /etc/grub.d/40_custom. This workaround is acceptable but I was just wondering if anyone else is seeing this behavior. Here is the output grub-mkconfig -o /boot/grub/grub.cfg with os-prober enabled.
Code:
Generating grub configuration file ... |
Quote:
|
Quote:
|
I just built grub 2.12 using the SlackBuild in /testing. Installed it, ran my mkinird script and then grub-mkconfig -o /boot/grub/grub.cfg and rebooted and all is good. Did have a couple of warnings about parts being deprecated but it all works just fine.
Edit: Started playing with the .new files and managed to get to a state where it wouldn't boot, just black screen and reboot. Booted Knoppix and restored grub backup files with version 2.06. Will have to try again and reinstall Grub 2.12 Edit1: OK, got it installed and booting. In /etc/grub.d I moved all of the new files to their old counterparts. Did not use the /etc/default/grub.new file since I had done customizing to the existing grub file and my customizing was the only difference. Ran grub-install and it complained that /boot/efi was not a fat partition. Ran lsblk to get efi partition. Mounted my uefi partition /dev/nvme0n1p1 on /boot/efi. Install went fine. Recreated my initrd and rebooted. Everything went swimmingly. Good way to finish 2023. |
Caveat: if you keep .orig files in /etc/grub.d/ (like 10_linux alongside 10_linux.orig), grub-mkconfig will run them, leading to duplicate boot entries. So(re)move any .orig or make it non executable.
Post edited, see the reason below. |
Please run grub-install just after having upgarded grub.
I just got a bug report in the Slint mailing list, quoted below:
Quote:
Code:
Please boot the installer, then as soon as you get the prompt mount the root PS digging a little more the bli module was added to make happy systemd as stated in this log lines 1942-1970 :mad: |
How to run grub-install in doinst.sh
If we want to run grub-install in a post-install script like doinst.sh after a grub upgrade and if we assume that grub is installed on the drive hosting the root partition this code snippet could help:
Code:
ROOTPART=$(findmnt -lno source /|sed 's;[[].*;;') Code:
findmnt -lno source / Code:
findmnt -lno source /|sed 's;[[].*;;' |
Quote:
|
All times are GMT -5. The time now is 10:23 PM. |