-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elemental build-iso what about Syslinux bootloader alternative ? #1270
Comments
Hi @j-landru altough not directly supported, it should be still possible building ISOS with syslinux, see Luet-lab/luet-makeiso#4 (comment) for an example. But besides that it wouldn't explain such a growth of size in the final images. In cc: @davidcassany maybe some temp folder gets into the final ISOs? |
Thanks for reporting the issue. Please note that In relation to the image size the difference you are seeing can't be caused by the bootloader choice, there must be something else. I suspect you syslinux manifest does not include In relation to the syslinux vs grub2 it is not forgotten, but we are aiming to provide proper support rather than a hackish solution. What you call syslinux is not only syslinux it is syslinux and systemd-boot (I wonder how this maps to an alpine flavor...). So by default luet-makeiso used to use systemd-boot on EFI. This setup in terms of size is tricky since systemd-boot requires including initrd and kernel within the EFI image, resulting in duplicated binaries in ISO filesystem and EFI filesystem. Moreover I believe (not 100% sure) the hybrid builds we are doing duplicate the whole EFI image, one at the end of the file and another one as part of the ISO filesystem, so in regards of image size EFI image has a great impact. The problem of all this is that we aim to support hybrid images for BIOS and EFI firmwares and this setup for syslinux is not that obvious, here is where grub2 is the common bootloader that can handle everything (ISOs, disks and legacy vs EFI firmwares). The intention has been always to support syslinux but I fear adding EFI in the feature set makes it quite difficult to manage. This requires quite some time in trails and error to find a proper and generic enough setup for all this. May I ask you which is the feature set you are after? Do you need EFI and/or legacy Bios? Were you using using the systemd-boot for EFI? Would it be enough for you having BIOS only images as a first step? Probably this is a low hanging fruit on our side. Note that most of the work is related to providing the appropriate bootloader packages from |
Thanks for your quick reaction @mudler Yes your c3os project is my reference to try to build an abcd flavour. I need probably to look more deeply in your Dockerfile to do delete some temporary files.
|
Is your feature request related to a problem? Please describe.
As PR #1245 was merge, I saw that cos-toolkit build iso documentation was updated to use
elemental build-iso
but with no more reference to Syslinux boot loader alternative to grub2. Does this mean that this lighter bootloader is left aside?In my case, for a small basic abcd (alpine based cOS derivative) flavour, iso image file (generated using previous
luet-makeiso
method) is twice sized with grub2 than Syslinux.That said, I can understand that the cos-toolkit/elemental dev team aims to only support the more advanced bootloader than the minimalist one. But the size of the iso image is a point of attention for me because I plan to share a single unique live iso image file, with no installation step, for all cloned VMs or nodes on my cluster.
Describe the solution you'd like
Can you tell me if the future version of elemental will support the alternate Syslinux bootloader functionality like the previous luet-makeiso ?
The text was updated successfully, but these errors were encountered: