Giter VIP home page Giter VIP logo

Comments (10)

jeaye avatar jeaye commented on May 27, 2024 1

I'm able to reproduce this issue; nixos-install is encountering an error while activating the current profile. This is related to a new change in NixOS and I'm currently investigating what it was. In the meantime, hopefully nixos-infect works for you.

from nixos-in-place.

chris-martin avatar chris-martin commented on May 27, 2024

Tried again, with Ubuntu 14.04 this time. Similar result:

copying NixOS/Nixpkgs sources...

*** Copying ‘/nix/store/j0g8z80v40zjf1qwq8v2gvpbmsvr5h1v-nixos-16.09.677.0dc31e8’ from ‘/tmp/root/nix/store/j0g8z80v40zjf1qwq8v2gvpbmsvr5h1v-nixos-16.09.677.0dc31e8’

warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels’ does not exist, ignoring
created 1 symlinks in user environment
finalising the installation...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/vda...
Installing for i386-pc platform.
Installation finished. No error reported.
setting up /etc...
mount: /dev/pts not mounted or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
mount: mount point /dev/shm is a symbolic link to nowhere
Initializing machine ID from KVM UUID.

from nixos-in-place.

kirikaza avatar kirikaza commented on May 27, 2024

Is there a workaround for the problem? I cannot just passwd since I probably have to chroot to somewhere beforehand.

from nixos-in-place.

chris-martin avatar chris-martin commented on May 27, 2024

I don't know, but I switched to nixos-infect which is working.

from nixos-in-place.

ak5 avatar ak5 commented on May 27, 2024

Same issue here on my Chinese cloud provider

from nixos-in-place.

rened avatar rened commented on May 27, 2024

@jeaye Would it be an acceptable work-around to install a previous version of nixos (e.g. 15.09) where installation still works? Updating nixos once it is installed seems to be easy.

I tried to hardcode https://nixos.org/releases/nixos/14.12-small/nixos-14.12.668.7963a45/nixos-minimal-14.12.668.7963a45-x86_64-linux.iso into the script, but that iso seems to be too old: The installation has issues with a grub boot setting, so it does not complete successfully.

from nixos-in-place.

rened avatar rened commented on May 27, 2024

@chris-martin I believe you tried to use an older iso as well - any luck?

from nixos-in-place.

chris-martin avatar chris-martin commented on May 27, 2024

That sounds vaguely familiar, but sorry I don't recall.

from nixos-in-place.

jeaye avatar jeaye commented on May 27, 2024

@rened, I just merged in #29 a few days ago, which may address this issue. Care to try again?

from nixos-in-place.

rened avatar rened commented on May 27, 2024

Thanks a lot @jeaye, works like a charm!

from nixos-in-place.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.