Giter Site home page Giter Site logo

Comments (6)

jeaye avatar jeaye commented on May 22, 2024

Installation finished. No error reported. is from nix, not nixos-in-place. The installation was still going but failed. If you'd like to debug further, please consider these steps:

  1. Verify that /dev/sda is your device. Hop into cfdisk or similar and look around.
  2. Try having bash be more verbose: bash -x ./install <your args>; this will show the failing command
  3. Consider using Ubuntu 15.10, as in #4 someone mentioned it was more reliable (that's where all my testing has happened)

from nixos-in-place.

davidak avatar davidak commented on May 22, 2024

it again stops here. i have only Ubuntu 14.04, the Debian 8 has some problems. it is a really crappy VPS!

building path(s) ‘/nix/store/wyacdy0f0zcpmxiz8rs54mh5yi1rzy2z-nixos-15.09.1012.9fe0c23’
copying NixOS/Nixpkgs sources...

*** Copying ‘/nix/store/b9xvd9ph922bf632vj2x9xcq9gx5d2il-nixos-15.09.1012.9fe0c23’ from ‘/tmp/root/nix/store/b9xvd9ph922bf632vj2x9xcq9gx5d2il-nixos-15.09.1012.9fe0c23’


*** Copying ‘/nix/store/kd67daqcmiiwi99ygh65wxbzxjhvlpgy-user-environment’ from ‘/tmp/root/nix/store/kd67daqcmiiwi99ygh65wxbzxjhvlpgy-user-environment’

finalising the installation...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/sda...
Installing for i386-pc platform.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188a350] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188ab60] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188ab60] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188bab0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x188bab0] dtree
Internal error: Unreleased memory pool(s) found.
Installation finished. No error reported.
setting up /etc...
mount: mount point /dev/shm is a symbolic link to nowhere
Initializing machine ID from random generator.
regenerating udev hardware database...
root@ubuntu:~/nixos-in-place#

the verbose output stops here:

+ printf '>>> %s\n' 'Embarking stage1!'
>>> Embarking stage1!
+ /root/nixos-in-place/stage1 /root/nixos-in-place /dev/mapper/CAC_VG-CAC_LV ext4 /dev/sda false
>>> Setting up chroot networking
>>> Looking for NixOS init... ./nix/store/4jg4mi0xgjpvdmiy7ayfixpaj8ppvmw8-nixos-15.09.1012.9fe0c23/init
>>> Looking for NixOS bash... ./nix/store/jzddrb20jwkavxm3cwlpkqpf3hh0nksa-bash-4.3-p42/bin/bash
>>> Patching init
>>> Binding remaining environment
>>> Embarking stage2!

<<< NixOS Stage 2 >>>

not remounting /

from nixos-in-place.

davidak avatar davidak commented on May 22, 2024
+ mv /nixos/etc/nixos/hardware-configuration.nix /nixos/etc/nixos/backup-hardware-configuration.nix
+ pcregrep -Mv 'fileSystems."/"[\s\S]*};' /nixos/etc/nixos/backup-hardware-configuration.nix
+ nixos-install --root /nixos
mount: / is not mountpoint or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
copying Nix to /nixos....
  /nix/store/0jh7k6mwdsdi2lqvk8qvjpni55ihacyx-libsodium-1.0.3
  /nix/store/1cbbk8374hqamlsmh3ajvggy12h9y1xh-openssl-1.0.1r

i tried again on my own hypervisor with a clean ubuntu 14.04 image with same result. i put -x in all scripts and exits with same output and no error.

from nixos-in-place.

jeaye avatar jeaye commented on May 22, 2024

On Tue, Feb 16, 2016 at 10:31:04PM -0800, davidak wrote:

+ mv /nixos/etc/nixos/hardware-configuration.nix /nixos/etc/nixos/backup-hardware-configuration.nix
+ pcregrep -Mv 'fileSystems."/"[\s\S]*};' /nixos/etc/nixos/backup-hardware-configuration.nix
+ nixos-install --root /nixos
mount: / is not mountpoint or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
copying Nix to /nixos....
  /nix/store/0jh7k6mwdsdi2lqvk8qvjpni55ihacyx-libsodium-1.0.3
  /nix/store/1cbbk8374hqamlsmh3ajvggy12h9y1xh-openssl-1.0.1r

i tried again on my own hypervisor with a clean ubuntu 14.04 image with same result. i put -x in all scripts and exits with same output and no error.

Okie dokie, I'll give 14.04 a shot in a VM on my end and see what's
going on. Thanks for looking into this.

from nixos-in-place.

jeaye avatar jeaye commented on May 22, 2024

@davidak One quick thing, is your LVM setup encrypted? nixos-in-place works with LVM, but doesn't yet work with encrypted setups.

from nixos-in-place.

davidak avatar davidak commented on May 22, 2024

no

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.