New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
RedHat Wants to Give Bootloaders the Boot and Replace Them with nmbl

in General
Comments
With the EFI Boot Stub a regular chroot directory tree can be a bootloader: https://docs.zfsbootmenu.org/en/v2.3.x/
Getting rid of Grub 2 is welcomed from me. I'm still using Grub Legacy on the workstation, because the newer Grub 2 piece of shit is not comprehensible. At all. I cannot read anything out of that clusterfuck of config scripts. The monster who had that clever idea of using dynamically-generated scripts instead of plain config files deserves a spot in Hell next to Poettering.
Who actually configures grub...or even goes into grub...
I've probably installed Linux 200 times over the last year, and maybe 30-40 of that was using the installer. I've never mucked with grub once.
what are you doing that is so hardwareish that you need to fiddle with grub?
I have previously edited
/etc/default/grub
to change the kernel cmdline and to remove the 5 second grub menu, both nothing hardwareish, rather booting speed optimizations, but as soon as I have time to finish the kernelsmake menuconfig
, I'll replace grub with https://github.com/wikkyk/mlb which fits in the MBR and simply starts the kernel.@raindog308:
Setting a console font or a backup kernel requires editing the grub config. Grub Legacy can even automatically boot into a secondary kernel if the primary fails, it uses a sort of watchdog in userspace that registers the successful boot, and reboots into the secondary if the first fails. Grub Legacy can easily boot into runlevel 1 if runlevel 2 fails, or straight to /bin/bash if needed. On the other hand, I have no idea what Grub 2 is, except that it's an incomprehensible clusterfuck.
Exhibit 1:
That is what Grub Legacy is to me.
Exhibit 2:
That is what Grub 2 is to me.
This discussion was an opportunity to relook into my fucked up bootloader situation. The notebook has an SSD with EXT4, because EXT4 supports the trim command required on SSDs, so Grub Legacy couldn't boot it (it only supports EXT3), and I was unjustly coerced into using Grub 2. But now I just flushed that turd, and married the simple and elegant Syslinux:
she looks beautiful:
and this is her sexy 15-line config file:
Call me what you want, but fuck grub.
Most of Poettering's creations are good for the same reason you like grub legacy - simple config files rather than arcane layers of scripts
Good, now brush your teeth and go to sleep.
Comparing this to the grub legacy config you also posted, it seems syslinux can be thought of as the spiritual successor to grub legacy. Didn't know that, will be looking into it next time I muck with boot orders.
I'm not opposed to something better but grub2 isnt that hard to customize. modifying /etc/default/grub and update-grub are regular things. tweaking grub and this is something done on every install
sed -i s/MODULES=most/MODULES=dep/ /etc/initramfs-tools/initramfs.conf ;update-initramfs -u
Right, and it works with BIOS/MBR too, which my laptop is stuck with. Upon installation it writes 480 bytes to the disk's MBR and places these files in /boot/syslinux:
it's crazy small in contrast with EFI bootloaders.