-
Notifications
You must be signed in to change notification settings - Fork 253
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
Grub UEFI support #268
base: master
Are you sure you want to change the base?
Grub UEFI support #268
Conversation
Ventoy support is now also included.... |
I've renamed the pull request to Grub UEFI support. I noticed there was indeed already UEFI support, however I could not get it working with either QEMU or Hyper-V nor Ventoy on actual servers. Therefore this proposal for UEFI support using GRUB, because all other live distro's 's seem to implement UEFI support using GRUB instead. Possibly because of better compatibility with most UEFI implementations. However, it is of course up to you if you like to switch or not. |
I just became aware of the ventoy-hook (explained here https://www.ventoy.net/en/compatible.html) when I was wondering how to make an iso file that I transfer easily for instance with Rufus to a USB stick Ventoy compatible. Great idea, naatje80. I hope it will be taken over. I the meantime I will use your fork rather than the main one. |
@man-schu: Thank you for your message and link. I found the hook when I debugged the boot process. But this is indeed a useful link to better understand the get a better understanding of it. I still like to implement secure boot, but I did not have the time for it yet. I'm also still encountering boot issues on some older systems I need to support. I also hope the fixes are implemented at one time. I don't have the intention to make it a permanent fork/alternative of the existing one. |
You should not need to modify the Slax code to support Ventoy. Firstly, Ventoy already supports Slax, and secondly, the support is provided on the Ventoy side, i.e. you need to modify Ventoy scripts, not Slax code. Tomas will never add your commits. |
All you need to do is install the Debian kernel, but then you will not have support for AUFS and NTFS3. |
@naatje80 how can I build slax from your branch? |
Dear @Tomas-M,
I've added initial support for booting trough UEFI. I first tried to implement it using syslinux/isolinux, however I could not get it working. Next to that, most Linux Live distros I've compared are using GRUB for UEFI boot part. I also read a comment on a forum that syslinux/isolinux never got UEFI boot support for optical storage/iso9660.
I used various sources to get a working grub configuration. However, I finally succeeded today. The current generated iso both works in hyper-v and libvirt/qemu. I'm still working on support for Ventoy (which is my favorite method to boot an iso from a USB stick). I also need to check if I'm able to add secure boot support later on. I also switched to xorriso to generate the iso, because it also seems to support more option for UEFI boot. (and on recent distros mkisofs is just a link to xorriso).
The scripts have been developed and tested with Debian 12 (Boorkworm). The default generated grub files should work, however when the LIVEKITNAME is update the tools/uefi_grub.update also needs to be executed first (like for the isolinux.bin).