From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cOWnFu60Cl8AdwAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 06:59:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WMNyEu60Cl8XdAAA1q6Kng (envelope-from ) for ; Sun, 12 Jul 2020 06:59:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E722940876 for ; Sun, 12 Jul 2020 06:59:57 +0000 (UTC) Received: from localhost ([::1]:49132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juVxr-0001eK-24 for larch@yhetil.org; Sun, 12 Jul 2020 02:59:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juVxj-0001eB-Cv for help-guix@gnu.org; Sun, 12 Jul 2020 02:59:47 -0400 Received: from pelzflorian.de ([5.45.111.108]:52460 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juVxg-0004BZ-OE for help-guix@gnu.org; Sun, 12 Jul 2020 02:59:47 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 536213602A4; Sun, 12 Jul 2020 08:59:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1594537182; bh=+z0MMtC8+eHXLqMir2+Fm9Aeh2m1RT791r+nN0+hans=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=o/11A6LcJswlbUeJOkdaA2Pcmwqbwn1qyiKbEXo1gNdPZEVuF6l6pbro6v+w52gwv URDc38RhCoYgwTRIojUNwoOyzv0Rn9GpD20dFMKnveSznugICvgCIMAMT4ihwX0hO2 LSWyMbRB+TvtwQkZAqyKtygCJzm06/g8Pf/0JR3s= Date: Sun, 12 Jul 2020 08:59:34 +0200 From: "pelzflorian (Florian Pelz)" To: Jan Wielkiewicz Subject: Re: How to run Guix with Hurd Message-ID: <20200712065934.bchlfujkfhqgs7ih@pelzflorian.localdomain> References: <7d75cbb8-6042-f4cb-2c5a-30248acbc3f8@agnuwayofthinking.com> <20200712010528.4f4634b2@interia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200712010528.4f4634b2@interia.pl> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/12 02:26:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=o/11A6Lc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: Fziu7XNNPz/3 On Sun, Jul 12, 2020 at 01:05:28AM +0200, Jan Wielkiewicz wrote: > Hurd lacks SMP (Simultaneous MultiProcessing), is 32-bit only and it > doesn't support modern hardware yet. I too wanted to try Hurd on real hardware. I see Jan Nieuwenhuizen does much work on it. After Jan Nieuwenhuizen’s patches from the beginning of July, I did partition /dev/sda as dos, not gpt, and created a partition via mkfs.ext2 on it (with inode size 128, but I think it does not matter). I can do e2label /dev/sda1 my-root sudo guix system init /mnt/etc/config.scm /mnt --skip-checks --target=i586-pc-gnu Then as root in `guix repl`: ((@ (gnu build hurd-boot) make-hurd-device-nodes) "/mnt") But Hurd does not support SATA disks (I think), so booting gets stuck when it starts an ext2fs translator. It can run from QEMU on Linux from an external USB: guix environment --ad-hoc qemu-minimal sudo qemu-system-i386 -enable-kvm -m 3G -device rtl8139,netdev=net0 -netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 -hda /dev/sda -display vnc=192.168.178.86:0 192.168.178.86 is the local IP of the machine running QEMU. Then one can connect to the VNC via GNOME Boxes. Back then it executed the rc script from gnu/build/hurd-boot.scm and I can put echo shell commands there and they run, however calls to exec got stuck … Now in current Guix there are many new patches and I see the rc script is no longer in Guix’ code. I should try again, but this definitely needs users to spend time with making the system work. The Childhurd service is probably better for just watching in awe. Regards, Florian