Quote:
|
Quote:
I was looking for this line Code:
linux=$(echo "$mylist" | version_sort -r | head -n 1) |
Quote:
Quote:
Code:
--- /etc/grub.d/10_linux I am hoping that updating the initrd gets automated. Not to argue that "we should do this too," but this is automated in every other distro I have seen. Perhaps this can be done with the generic doinst.sh script rather than grub scripts. I accept that automation is not the normal approach in Slackware, but the days of "Remember to update lilo.conf" are now behind us. For myself, I still tend to be cautious with kernel packages by installing new packages rather than upgrading, but automating some things like this is what most of the "bell curve" type users expect. Just observing and commenting, not demanding anything. :) Much of this has been hashed elsewhere. Although I have used GRUB for more than 20 years, I long have maintained my grub.cfg manually with my own scripts because of the anomalies and presumptions of how most other distros function. Hopefully, how Pat decides to patch the grub scripts will get merged back upstream. |
Quote:
|
I took the plunge, grub-2.12 working ok on bare metal (BIOS computer) and 3 VirtualBox machines, two are BIOS, one is EFI.
For the BIOS machines (both metal and VM) , only 00_header and 09_slackware (a modified 10_linux) are set to execute ran 'grub-install /dev/sda' for good measure and then 'grub-mkconfig -o /boot/grub/grub.cfg'. For the EFI machine, not as smooth. 'grub-install /dev/sda' results (sometimes only with the last line): Code:
Installing for x86_64-efi platform. Quote:
Code:
Installing for x86_64-efi platform. The one things I noticed between 2.06 and 2.12 are: 2) Even though I have these set in /etc/default/grub, Console is now set to 128x48, it was set to 100x37. This is only with the EFI VM. Code:
GRUB_GFXMODE=800x600x32 |
Please do not install /etc/grub.d/25_bli as is.
Follow-up of post #13
When installing the package in -current (and mine, currently ...) as /etc/grub.d/25_bli is a new file, 25_bli.new is converted to 25_bli. However this script includes this code snippet: Code:
cat << EOF To avoid that I suggest to either keep the .new extension when installing the package, or get rid of it (which could hurt a few systemd fans). This will probably render unnecessary to run grub-install just after having installed the package, I will test to check. It took me a way too long time to find the origin of the issue, my excuse being that I will be 75 very soon :( Happy New Year! |
Quote:
The problem was with efivars filesystem. Code:
mount -t efivarfs none /sys/firmware/efi/efivars |
Quote:
|
Quote:
For me 25_bli was installed as "25_bli" since there was no existing 25_bli with the execute bit set. For my EFI machine, I left it as it, for my BIOS systems I just removed the execute bit. Since this was an upgrade to grub, I went with running grub-install. |
Quote:
Maybe this is liked to specific context when upgrading, but I think it's safer to run grub -install in doinst.sh, the target drive being the one mounted as /boot/efi in /etc/fstab. Caveat: I didn't test yet the case where the system is installed in a removable device. |
I upgrade grub to test it , only rare here is on konsole i see this messages
Quote:
Quote:
|
I think i have some residual files from old grub package ....i continue investigating this.
EDIT: After delete all my files under /etc/grub.d and reinstall grub from /testing , all is okey. |
Rebuikt grub2.12 package for Slint64-15.0 to avoid "boot fails aftre upgrade"
The hint from Arch in post #5 is good, however not everyone reads the messages displayed when upgrading.
For this reason I have rebuilt the package (sources here) that now installs a file /usr/sbin/post-upgrade-grub, run at the end of doinst.sh and pasted below: Code:
#!/usr/bin/bash Incidentally this makes useless to remove 25_bli from /etc/grub.d. I have just uploaded this package as shown on top of our main ChangeLog. |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 08:14 AM. |