You are not logged in.
Why the Linux can't put the kernel image vmlinuz and initrd into /boot/kernel instead of /boot? This is much better than the current chaos. In addition, I don't like grub, why don't make one that is really bootloader used by Linux ? Put it in the /boot/loader directory, and only bootloader files are stored in it?
Last edited by kindusmith (2024-03-28 11:11:37)
Offline
I have no idea what you're talking about. Why is putting it in /boot chaos? And what does "why don't make one that is really bootloader used by Linux" mean?
Offline
Wouldn't it be good idea put kernel files such as vmlinuz and initrd into /boot/kernel? only stores bootloader files in /boot/loader. Now /boot/ contains both vmlinuz and grub (bootloader), which feels very confusing.
Offline
So instead of a kernel file in /boot you're gonna have a kernel directory in /boot and that will totally unconfuse you?
https://en.wikipedia.org/wiki/XY_problem - are you short on space on your boot partition?
Online
A lot of the FHS is historic. The original purpose of /boot was to contain files that are necessary for booting, duh!
It is certainly possible to put the kernel images and initramfs into /boot/kernel, e.g. on EFI systems if the ESP is mounted to /boot/kernel and you use EFISTUB to load the kernel directly.
But this may clash with some other programs, such as fwupdmgr, which assume the ESP under /boot or /boot/efi per default.
Other places where the nomenclature might confuse people without the historic knowledge of the FHS is /bin. Nowadays it mostly, if not exclusively, contains executable programs, so maybe it's time to rename it to /exe - POSIX is dead anyways .
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
W/ grub you can put kernel and initramfs pretty much anywhere - you just have to tell grub where to look.
Online
In addition, I don't like grub
Then don't use grub? There are many alternatives: https://wiki.archlinux.org/title/Arch_b … oot_loader
Offline
Okay, I understand, thank you for your answer
Offline
To make GRUB use a different directory pass the --boot-directory option to the grub-install command with the desired path.
Para todos todo, para nosotros nada
Offline