Live data from Hacker News

Diskless Linux boot using ZFS, iSCSI and PXE

aniket.foo

71–80 of 108 posts

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#71
post #45

Earlier quoted context omitted.

Grub2 is scary and complicated. Remove grub from the equation, and all the scary goes away.

grub is just a operating system. it is quite good when shit hits the fan

~90% of the failure modes grub can fix don't exist without grub. I can't remember any time when its needless complexity was actually a net benefit compared to literally any of its alternatives (and between gummiboot/syslinux/efilinux/isolinux/systemd-boot/efistub I've used a lot of them).

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#72
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

Or just use systemd-boot which uses BLS thus there are no config files.

BLS means many config files instead of one, not zero config files.

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#73
post #64
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

> rEFInd is _so_ much simpler TBH I've only used it for Hackintoshes and BSDs. I don't know why you'd want it. But I am finding this hard to post on account of this big hairy grey thing with a long prehensile nose that's in the way... They only work on UEFI. I don't like UEFI. I have kit in near-daily use that doesn't have UEFI at all. GRUB works on BIOS, UEFI, x86, Arm, whatever. It boots Linux, all the BSDs, Haiku,…

You haven't upgraded any x86 compatible beyond 2005? /s

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#74
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

Friends don't let friends perpetuate harmful dogmatic FUD that lacks nuance and perspective.

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#75
post #63
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

does refind support secure boot and measured boot? I loathe pretty much anything systemd but systemd-boot gives me this with zero effort, and it's legitimately useful

Secure boot, yes: I just had to futz with that a few weeks back when the CUDA toolkit installed Nvidia-signed drivers.

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#76
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

Friends don't let friends perpetuate harmful dogmatic FUD that lacks nuance and perspective.

Calling an opinion you don't like FUD doesn't make that opinion wrong, harmful, or dogmatic.

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#77
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

Loved that too much hahaha: “friends don’t let friends use grub”.

rEFInd seemed best for me too

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#78
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

I'm using rEFInd because it can load and use the NVMe EFI driver unlike GRUB and systemd-boot. rEFInd is a true UEFI boot loader.

I think that Fedora doesn't know to update its configuration when I install or remove a kernel, so I use rEFInd only to run systemd-boot which is pretty well supported by Fedora. I could probably try letting rEFInd scan the boot partition for kernels or modify/tune kernel-install [1], but why fix something that's not broken?

As a side note, I don't like how by default rEFInd does some things automatically and how it makes the boot menu kind of bloated. I had to do configure it a bit, but at least it lets you include separate configuration files that override the defaults or add menu entries. This is why I don't consider it quite simple; I prefer the more minimalist approach of systemd-boot.

[1]: https://www.freedesktop.org/software/systemd/man/latest/kern...

Re: Diskless Linux boot using ZFS, iSCSI and PXE

#79
post #44

Friends don't let friends use grub. rEFInd is _so_ much simpler: one efi entry, one text config file in the efi partition, nothing that needs to change when the kernel updates, and no massive pile of templating and moving parts to mysteriously break dumping you at an impenetrable grub “rescue” shell.

Back when the earth was still cooling, I remember having to choose between grub and lilo. Who wants a little worm in their computer? I went with Lilo.

Now I use grub, because I don't know much better. I'll check out rEFINd.

Post reply on HN