From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Copying whole /gnu/store from USB does not work (SOLVED) Date: Sun, 12 Apr 2015 12:28:26 +0200 Message-ID: <20150412102826.GA2929@thebird.nl> References: <20150410084651.GA23353@thebird.nl> <873848p5kd.fsf@gnu.org> <20150410131420.GB24509@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhF8e-0004xV-0r for guix-devel@gnu.org; Sun, 12 Apr 2015 06:29:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhF8a-0007iW-Rc for guix-devel@gnu.org; Sun, 12 Apr 2015 06:29:15 -0400 Received: from mail.thebird.nl ([95.154.246.10]:56589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhF8a-0007QN-MM for guix-devel@gnu.org; Sun, 12 Apr 2015 06:29:12 -0400 Content-Disposition: inline In-Reply-To: <20150410131420.GB24509@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org > > The reason is that the store is really two things: /gnu/store, and > > /var/guix/db/db.sqlite. The latter contains meta-data about the former, > > notably the list of valid store items. > > Aha. That makes sense. If I also copy the db.sqlite it might just > work then. It works rather well and is easy. This means we can just bootstrap from an existing /gnu tree in thu USB distribution provided the kernel/arch is compatible. At build time 'guix package -i guix' complained it did not have enough builders. The guix-daemon did not honour the -M 8 switch, so I had to add 30 build users on a 32 core machine. Now it is happy. Pj.