Re: [Nix-dev] Disaster recovery / re-deployment

2012-01-05 Thread Bryce L Nordgren
On Thu, Jan 5, 2012 at 5:32 AM, Rickard Nilsson wrote: > Hi, > > On Tue, 03 Jan 2012 15:47:23 +0100, Florian Friesdorf > wrote: > > Hi Rickard, > > > > On Tue, 04 Oct 2011 11:45:14 +0200, "Rickard Nilsson" > > wrote: > >> > However in your case > >> > http://mawercer.de/~marc/minimal-install-

Re: [Nix-dev] Disaster recovery / re-deployment

2012-01-05 Thread Florian Friesdorf
On Thu, 05 Jan 2012 13:32:52 +0100, Rickard Nilsson wrote: > On Tue, 03 Jan 2012 15:47:23 +0100, Florian Friesdorf > wrote: > > On Tue, 04 Oct 2011 11:45:14 +0200, "Rickard Nilsson" > > wrote: > >> > However in your case > >> > http://mawercer.de/~marc/minimal-install-archive.patch should be

Re: [Nix-dev] Disaster recovery / re-deployment

2012-01-05 Thread Rickard Nilsson
Hi, On Tue, 03 Jan 2012 15:47:23 +0100, Florian Friesdorf wrote: > Hi Rickard, > > On Tue, 04 Oct 2011 11:45:14 +0200, "Rickard Nilsson" > wrote: >> > However in your case >> > http://mawercer.de/~marc/minimal-install-archive.patch should be >> enough >> > if you're lucky. >> >> Thanks! I w

Re: [Nix-dev] Disaster recovery / re-deployment

2012-01-03 Thread Florian Friesdorf
Hi Rickard, On Tue, 04 Oct 2011 11:45:14 +0200, "Rickard Nilsson" wrote: > > However in your case > > http://mawercer.de/~marc/minimal-install-archive.patch should be enough > > if you're lucky. > > Thanks! I will start out from that and see where I end up. did you made progress with that?

Re: [Nix-dev] Disaster recovery / re-deployment

2011-10-04 Thread Rickard Nilsson
Den 2011-10-04 11:21:06 skrev Marc Weber : >> I'm aiming for a much simpler setup: mount your global nix store >> (which is shared with other hosts) in your new empty root, then >> either run a bootstrap script that generates /boot, or manually >> place the boot-symlinks there. After that it shoul

Re: [Nix-dev] Disaster recovery / re-deployment

2011-10-04 Thread Marc Weber
> I'm aiming for a much simpler setup: mount your global nix store > (which is shared with other hosts) in your new empty root, then > either run a bootstrap script that generates /boot, or manually > place the boot-symlinks there. After that it should be possible to > just boot into an identical s

Re: [Nix-dev] Disaster recovery / re-deployment

2011-10-04 Thread Rickard Nilsson
Den 2011-10-04 10:14:37 skrev Marc Weber : > Excerpts from Rickard Nilsson's message of Tue Oct 04 09:53:45 +0200 > 2011: > > i> I took a similar route as you did, I think. I hacked nixos-install a > bit, > There should be no need to hack install scripts. If they don't work for > everybody they

Re: [Nix-dev] Disaster recovery / re-deployment

2011-10-04 Thread Marc Weber
Excerpts from Rickard Nilsson's message of Tue Oct 04 09:53:45 +0200 2011: i> I took a similar route as you did, I think. I hacked nixos-install a bit, There should be no need to hack install scripts. If they don't work for everybody they should be improved. > However, all that juggling with chro

Re: [Nix-dev] Disaster recovery / re-deployment

2011-10-04 Thread Rickard Nilsson
Hi Marc, Den 2011-09-02 16:23:20 skrev Marc Weber : > Hi Rickard Nilsson, > > I'v git repos which provide a minimal bootstrap archive containing > enough to run nixos-rebuild only. > > Of course you must have nixos and nixpkgs an configuration.nix in place. > > It tries to modularize nixos-instal