

Hey, thanks for the pointer. I'll be digging into that more, for sure!ian.au wrote:You'd drop the grub you want to keep into a https://wiki.gentoo.org/wiki/Custom_repository and add a mask for the version you don't want.


Code: Select all
grub # ls -l *
-rw-r--r-- 1 portage portage 9143 Feb 5 2018 grub-0.97-r14.ebuild
-rw-r--r-- 1 portage portage 9419 Feb 5 2018 grub-0.97-r15.ebuild
-rw-r--r-- 1 portage portage 9596 Feb 5 2018 grub-0.97-r16.ebuild
-rw-r--r-- 1 portage portage 3391 Apr 4 2018 Manifest
-rw-r--r-- 1 portage portage 781 Apr 4 2018 metadata.xml
files:
total 16
-rw-r--r-- 1 portage portage 1118 Mar 7 2016 gfxpayload.patch
-rw-r--r-- 1 portage portage 591 Aug 8 2015 grub.conf.gentoo
-rw-r--r-- 1 portage portage 1612 Dec 15 2015 grub-legacy-0.97-Add-esp-to-list-of-clobbered-registers.patch
-rw-r--r-- 1 portage portage 799 Dec 18 2015 grub-legacy-0.97-ncurses-pkgconfig.patch

We upgrade software to fix bugs that matter to us or to get new features we want. Does grub2 offer either of those, relative to the grub-static that Neddy is using? For his use case, apparently not, or he would have felt some pressure to upgrade.GDH-gentoo wrote:Firmware is software. Why do we upgrade software?NeddySeagoon wrote:A boot loader is firmware.
My grub-static was installed in April 2009 when I brought this box up. As it still works, why upgrade?
Syslinux only requires a configuration file change, same as grub legacy. Even that could be avoided if you took the model that the active kernel always has a fixed name. I like having the kernels installed with their version in their name, so that in case of an early boot failure, I can easily switch to a different one. Thus, when I install a new kernel, I need to modify the syslinux configuration file to tell it the name of the new kernel.Tony0945 wrote:Many people that I respect here use syslinux and I think someone is even using LILO. But, I think, they have to be re-installed with every kernel upgrade.

Note that the most recent ebuild for GRUB Legacy that Gentoo used to offer was -r18. In addition to the package's source archive and the example grub.conf file, that required an archive of patches (grub-0.97-patches-1.15.tar.bz2), the clobbered registers and ncurses patches, and a file named splash.xpm.gz.Tony0945 wrote:Code: Select all
grub # ls -l * -rw-r--r-- 1 portage portage 9143 Feb 5 2018 grub-0.97-r14.ebuild -rw-r--r-- 1 portage portage 9419 Feb 5 2018 grub-0.97-r15.ebuild -rw-r--r-- 1 portage portage 9596 Feb 5 2018 grub-0.97-r16.ebuild -rw-r--r-- 1 portage portage 3391 Apr 4 2018 Manifest -rw-r--r-- 1 portage portage 781 Apr 4 2018 metadata.xml files: total 16 -rw-r--r-- 1 portage portage 1118 Mar 7 2016 gfxpayload.patch -rw-r--r-- 1 portage portage 591 Aug 8 2015 grub.conf.gentoo -rw-r--r-- 1 portage portage 1612 Dec 15 2015 grub-legacy-0.97-Add-esp-to-list-of-clobbered-registers.patch -rw-r--r-- 1 portage portage 799 Dec 18 2015 grub-legacy-0.97-ncurses-pkgconfig.patch
Maybe I should have written "Firmware is replaceable software. Why do we upgrade replaceable software?"NeddySeagoon wrote:Your CPU and other large devices on the motherboard are the hardware expression of some software, so they are really software.
I don't upgrade that software either.
And, following this line of though, it should be pointed out that unmaintained software like GRUB Legacy no longer offers bug fixes and new features, although the latter would not matter that much in this case.Hu wrote:We upgrade software to fix bugs that matter to us or to get new features we want.
I don't need r18. I have no problems, no bugs. IIRC the last update I did was because of a new ncurses. I have no problems. When you update grub you have to re-istall. Why bother when it is doing its job of booting? YMMVGDH-gentoo wrote:Note that the most recent ebuild for GRUB Legacy that Gentoo used to offer was -r18. In addition to the package's source archive and the example grub.conf file, that required an archive of patches (grub-0.97-patches-1.15.tar.bz2), the clobbered registers and ncurses patches, and a file named splash.xpm.gz.
Code: Select all
* Sanity check failed: stage2 (/var/tmp/portage/sys-boot/grub-0.97-r18/work/grub-0.97/stage2/stage2) is larger than 1MB (268959736 bytes)!

Code: Select all
default r01
timeout 30
title=Gentoo Linux genkernel-x86_64 (5.4.38-gentoo)
root (hd0,0)
kernel /boot/vmlinuz-5.4.38-gentoo-x86_64 root=/dev/ram0 real_root=/dev/sda3
initrd /boot/initramfs-5.4.38-gentoo-x86_64.img
I use syslinux on my older x86 BIOS systems. While I think you may be correct as to the re-installs with LILO(?) that's definitely not the case with syslinux. All I have to do with that after the kernel make install is to modify this:Tony0945 wrote:Many people that I respect here use syslinux and I think someone is even using LILO. But, I think, they have to be re-installed with every kernel upgrade.
Code: Select all
cat /boot/extlinux/syslinux.cfg
PROMPT 1
TIMEOUT 60
ONTIMEOUT gentoo
UI vesamenu.c32
MENU TITLE Boot
LABEL gentoo
LINUX /boot/kernel-5.10.76-gentoo-r1
APPEND root=/dev/sda3


Good for what? I should install tens of megabytes of software what I do not need? To take boot over from BIOS and hand it over to the kernel is simple process, takes a fraction of a second. I do not have Grub2 installed obviously, can someone tell how many files it installs and how many megabytes?eccerr0r wrote:I really don't understand all the aversion to grub2. It's very good IMHO.


It's something that software designers have lost sight of.C. A. R. Hoare wrote:There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.