NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.43k stars 13.64k forks source link

Can't create iso for offline installation #7059

Open jagajaga opened 9 years ago

jagajaga commented 9 years ago

Was on ML, copying here.

Using 14.12 branch to generate iso.

My nixos/modules/installer/cd-dvd/installation-cd-minimal.nix: https://gist.github.com/jagajaga/b41475f097b0e0b58865

Generating image with nix-build -A iso_minimal.i686-linux release.nix (while inside nixpkgs/nixos folder).

What I do:

What I'm getting https://gist.github.com/jagajaga/2a78535bdb9bb6c53b2a

Adding to installation-cd-minimal.nix

Ideas?

Generating iso from unstable branch giving me error because of trying to download patch for pulseaudio as a dependence for vlc. (which is already included to image, no?).

7c6f434c commented 9 years ago

There is a isoImage.includeSystemBuildDependencies option to include various build dependencies in the image. It is explicitly created for offline installation (but has some image size cost, of course).

jagajaga commented 9 years ago

As you can see, it's true in my configuration.

7c6f434c commented 9 years ago

As you can see, it's true in my configuration.

Did you try not to install X on the target? Did you try enabling VMWare kernel modules in the installer expression?

jagajaga commented 9 years ago

Tried. It fails because tries to download patch for pulseaudio as a dep for vlc.

cstrahan commented 9 years ago

@jagajaga I create my own ISO for my Macbook (because it needs a proprietary WiFi driver, and lacks an Ethernet port). Perhaps you can draw some inspiration from it (assuming the code hasn't bit-rotted yet - it still works):

https://github.com/cstrahan/mbp-nixos

jagajaga commented 9 years ago

@cstrahan same here. Fails because it tries to download smth..

jagajaga commented 9 years ago

I have no progress :(

Maybe some more ideas?

uralbash commented 8 years ago

I have exactly the same problem (unfortunately not solved yet), here is a discussion on IRC https://botbot.me/freenode/nixos/2016-03-03/?msg=61438031&page=8

Profpatsch commented 6 years ago

triage: does this still occur?

ghost commented 4 years ago

This still occurs as of Loris (19.09) svn = 1927.0fe895ae112 date = 2020-03-29

building an ISO with only a bootloader enabled and no additional packages causes a large (102 for me) number of packages to fail building (if done with --option keep-going true)

stale[bot] commented 3 years ago

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

AleXoundOS commented 3 years ago

Still important to me.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

pete3n commented 7 months ago

I created this repo to allow offline installs with the graphical installer.

Fhiss commented 3 days ago

Please do not close this issue. Currently, the graphical ISO image for NixOS requires an internet connection during the installation process. For users in environments with limited or no internet access, this poses a challenge. To improve accessibility and flexibility, it would be beneficial to include support for offline installations in the graphical ISO.