-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
nixos/iso-image: add option for copytoram #25611
Conversation
@Lassulus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @bobvanderlinden and @dezgeg to be potential reviewers. |
@@ -50,6 +50,13 @@ let | |||
LINUX /boot/bzImage | |||
APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} nomodeset | |||
INITRD /boot/initrd | |||
|
|||
# A variant to boot with 'copytoram |
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.
'copytoram
-> 'copytoram'
Thanks @Lassulus for the work on copytoram. This seems to me like an nice addition as well. I still need to give this a try. I'm guessing the advantages are runtime performance and the ability to pull the USB/CD from the system once it has booted? What are your motivations to get this in? |
@bobvanderlinden Thanks :) I'm using it mainly for 2 reasons:
|
Hah! That made my day. I'm the dev of DriveDroid 😄. Sounds like useful usecases to me. I'll give it a go right away. |
Works nicely on legacy bios:
And on EFI:
Code looks fine to me too 👍 |
@bobvanderlinden it's a small world :D |
Motivation for this change
Add the possibility to boot the live stick with its contents copied into ram.