From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: Hosting a GuixSD server on commodity hosting platforms, a journey Date: Sat, 03 Dec 2016 12:24:43 -0600 Message-ID: <87h96k7tw4.fsf@dustycloud.org> References: <878ts212ic.fsf@dustycloud.org> <871sxt1sho.fsf@dustycloud.org> <87shq76kkl.fsf@dustycloud.org> <3c51a2c0-a3a0-da12-22a7-e2b2739520ca@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDEzS-0000rp-VW for help-guix@gnu.org; Sat, 03 Dec 2016 13:24:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDEzP-0005kp-Qk for help-guix@gnu.org; Sat, 03 Dec 2016 13:24:50 -0500 Received: from dustycloud.org ([50.116.34.160]:39074) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDEzP-0005kS-MX for help-guix@gnu.org; Sat, 03 Dec 2016 13:24:47 -0500 In-reply-to: <3c51a2c0-a3a0-da12-22a7-e2b2739520ca@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Christopher Baines Cc: help-guix@gnu.org Christopher Baines writes: > On 02/12/16 04:06, Christopher Allan Webber wrote: >> Except, oops! This won't boot. We need to put GRUB on it. >> >> Well here's where I'm stuck for tonight. I don't know exactly what's >> needed; maybe either the -b flag, or --grub2-mbr, or some combination. >> The man page is a little bit overwhelming (I mean, xorrisofs is clearly >> featureful, credit there): >> >> https://www.gnu.org/software/xorriso/man_1_xorrisofs.html >> >> But how do I generate the right GRUB stuff to put there? Can I pull it >> off the USB image? Generate it separately? >> >> This web page is very long but appears to have the appropriate info (and >> unfortunately requires running arbitrary javascript to even render): >> >> http://lukeluo.blogspot.com/2013/06/grub-how-to-2-make-boot-able-iso-with.html >> >> ... so I guess the next steps are following roughly what's described at >> the bottom of the page? >> >> I wonder how other distros do this step. > > Thanks for looking in to this Chris! I'm using Bytemark for personal > servers, and have tried and failed to install Guix from a Debian live > cd. But, they do support installing from arbitrary ISO images, this > would be great to get working. > > The bash script which I guess Nix uses looks quite short [1], you might > find some useful inspiration there. > > 1: > https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-iso9660-image.sh That looks VERY helpful, thank you!