Skip to content
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/stage1: add copytoram support #25005

Merged
merged 1 commit into from Apr 30, 2017
Merged

nixos/stage1: add copytoram support #25005

merged 1 commit into from Apr 30, 2017

Conversation

Lassulus
Copy link
Member

This change adds the possibility for the copytoram kernel parameter. If supplied the whole image is loaded into a tmpfs during stage-1. Afterwards a removal of the USB-device/CD is possible without the system breaking.

@mention-bot
Copy link

@Lassulus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @abbradar and @CMCDragonkai to be potential reviewers.

@edolstra
Copy link
Member

This should be documented somewhere (probably the installation section of the manual).

@Mic92 Mic92 merged commit fa5196e into NixOS:master Apr 30, 2017
@Mic92
Copy link
Member

Mic92 commented Apr 30, 2017

works snappy with the following boot option:

{
 boot.kernelParams = [ "copytoram=1" ]; 
}

@cleverca22
Copy link
Contributor

a 2nd boot option could also be added here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/iso-image.nix#L33

then the user would have a choice at boot time

@Mic92
Copy link
Member

Mic92 commented May 8, 2017

@cleverca22 feel free to open a pull request.

@Lassulus
Copy link
Member Author

Lassulus commented May 8, 2017

#25611

@Lassulus Lassulus deleted the copytoram branch May 8, 2017 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants