On nie, sie 4, 2019 at 5:30 PM, Neal Gompa
On Sun, Aug 4, 2019 at 10:55 AM L A Walsh
wrote: On 2019/08/04 05:11, Neal Gompa wrote:
The need for this is obviated by our usage of initramfs for early boot, which is a more flexible mechanism that serves this purpose already.
Even though systemd devs recommended booting from disk to increase speed? Where's that option in Suse's roadmap?
That's a recommendation I've never heard from them for general purpose systems.
I fully expect us to never have that option out of the box, but there are tools to make it so that *can* work.
They do, however, recommend moving towards Bootloader Spec.
However, there's a number of hurdles in the way for doing so in SUSE distributions. The primary hurdle is the lack of bls support in SUSE's grub2 package. There are some other issues related to YaST, snapper, etc. too. Perhaps someday soon it'll be in openSUSE...
Besides, some of the limitations that come with the spec (although aren't present in grub implementation in Fedora/RHEL) are the lack of subdirectories for boot entries as well as the lack of ability of booting linuz/initrd from non-boot partitions. openSUSE by default has boot partition set to /boot/efi, and keeps the kernel and initrd in /boot, which prevents bls compatible software (namely systemd-boot) from working. This happens due to systemd-boot not mounting anything but the boot partition, while GRUB just mounts everything as it exists, slowing down the boot process, but allowing booting from each and every one of the devices present in the system. Why does openSUSE have boot partition mounted to /boot/efi? Snapshots. We can't have kernel and initrd in snapshots if the boot partition is FAT-like, so the /boot is mounted as a btrfs submodule, while /boot/efi is a FAT-like partition which can be used by EFI. A way to make systemd-boot work with existing structure would be to copy current initrd and linuz to /boot/efi on every new kernel install alongside a new bls entry file. It would finally justify the recommended size of the partition and make a giant mess of the filesystem stucture. A good question here is if we need kernels covered under snapshots, the older kernels along with initrd assigned to them are already accessible from GRUB either way. LCP [Stasiek] https://lcp.world -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org