From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: boot the Hurd with Guix Date: Fri, 1 Dec 2017 19:44:49 +0100 Message-ID: References: <20171127190559.DD00C4E0022@mta-1.openmailbox.og> <87tvxafuyr.fsf@gnu.org> <20171201161616.jbg2cfm4svwatveg@var.youpi.perso.aquilenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKqIv-0006Ft-0t for guix-devel@gnu.org; Fri, 01 Dec 2017 13:44:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKqIu-000333-AW for guix-devel@gnu.org; Fri, 01 Dec 2017 13:44:53 -0500 In-Reply-To: <20171201161616.jbg2cfm4svwatveg@var.youpi.perso.aquilenet.fr> 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" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , rennes@openmailbox.org, guix-devel , bug-hurd@gnu.org On Fri, Dec 1, 2017 at 5:16 PM, Samuel Thibault w= rote: > Hello, > > Congrats on the achievement :D > > Ludovic Court=C3=A8s, on ven. 01 d=C3=A9c. 2017 14:17:48 +0100, wrote: >> Also, in GRUB, you currently load ext2fs.static and exec explicitly. > > That's the normal way, yes. exec does the rest (including running > startup). > >> BTW, the image you posted is in =E2=80=9Craw=E2=80=9D format. You would= get a smaller >> file by using the qcow2 format, which you can create with =E2=80=9Cqemu-= img >> create -f qcow2=E2=80=9D. > > Well, using sparse files can work as well: create the image with > > dd if=3D/dev/zero of=3Dfile.img bs=3D1M count=3D1 seek=3D1000 Or you can use truncate from gnu coreutils: $ du -sh file.img 0 file.img vince@dell:~$ ls -l file.img -rw------- 1 vince vince 1073741824 d=C3=A9c. 1 19:43 file.img vince@dell:~$ ls -lh file.img -rw------- 1 vince vince 1,0G d=C3=A9c. 1 19:43 file.img --=20 Vincent Legoll