-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
nixos: iso-image: use syslinux bootloader for USB booting support #4678
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
Closed
bobvanderlinden
wants to merge
20
commits into
NixOS:master
from
bobvanderlinden:feature-syslinuxiso
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2fdedf0
nixos: iso-image: use syslinux bootloader for USB booting support
bobvanderlinden c9164f5
nixos: iso-image: escape '=' in all filenames passed to xorriso
bobvanderlinden 3e51348
nixos: installation: make installation ISOs USB bootable
bobvanderlinden deb7b8d
nixos: iso-image: removed sketchy escaping of '=' for xorriso
bobvanderlinden 7104d3a
nixos: iso-image: make use of grub timeout for gummiboot and syslinux
bobvanderlinden f3ca492
nixos: iso-image: solved UNetbootin compatiblity
bobvanderlinden b45acd3
nixos: iso-image: removed com32 entries from syslinux menu
bobvanderlinden 29f3742
nixos: iso-image: added notes for UNetbootin compatiblity
bobvanderlinden 76c8879
nixos: iso-image: escape filenames passed to xorriso better
bobvanderlinden 0dc1420
nixos: iso-image: use correct timeout values for syslinux
bobvanderlinden f06f7f9
nixos: test: added usb and bios options for machine creation
bobvanderlinden a278383
nixos: test: added tests for booting installation iso in various ways
bobvanderlinden 89e14f9
nixos: iso-image: use timeout from gummiboot config for gummiboot
bobvanderlinden a7a0cf0
nixos: iso-image: add Memtest86+ boot entry if enabled in grub
bobvanderlinden cbe8cdd
nixos: iso-image: refactor if to use optionalString
bobvanderlinden 723c1c1
nixos: iso-image: use generic boot-loader timeout
bobvanderlinden e478354
nixos: iso-image: use label "EFIBOOT" for efi.img
bobvanderlinden 2cbb4ad
nixos: iso-image: use memtest86 instead of memtest86+
bobvanderlinden dfa2b74
Revert "nixos: iso-image: use memtest86 instead of memtest86+"
bobvanderlinden dbf7436
nixos: iso-image: use memtest86 params in syslinux
bobvanderlinden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make it true by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figured it should be false since efiBootable was also false by default. Maybe they should both be true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only @edolstra can say, I think there's no reason to have them set to false by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might even be a good option to just remove those, but I don't know whether this needs to stay compatible with other nix configurations. I can't think of any good use-case where you'd want to disable EFI or USB support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lethalman these cannot be true by default, since
bootImage,efiBootImage,isohybridMbrImageneed to be filled as well for the assertions to pass. I still think it might be a good idea to just remove all of these options and maybe rename the file tomake-iso9660-syslinux-image.nixto make clear this is not just any regular ISO.