unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Svante Signell <svante.signell@gmail.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>, guix-devel@gnu.org, help-guix@gnu.org
Subject: Re: GNU Guix 1.4.0rc1 available for testing!
Date: Sat, 03 Dec 2022 23:46:01 +0100	[thread overview]
Message-ID: <87ilis2jiu.fsf@pelzflorian.de> (raw)
In-Reply-To: <2c28a99c2f3fb77bea9d0090020872804bb875c9.camel@gmail.com> (Svante Signell's message of "Thu, 01 Dec 2022 23:55:32 +0100")

Hello Svante,

Svante Signell <svante.signell@gmail.com> writes:
> What about hurd?

Hurd can be used with QEMU on Linux-based Guix System; see the
childhurd section in the manual.  However, I tried and somewhat failed
to run on my real hardware (a Beebox mini PC): When booting, the Hurd
runs an rc script which freezes.

I make /dev/sda1 an ext2 filesystem and use a slightly modified
/run/current-system/profile/share/guile/site/3.0/gnu/system/examples/bare-hurd.scm
as the template for a manual installation (with the usual steps from
the Guix manual).  Note: e2fsprogs is needed for manual installation
but is not installed in the rc1 installer image; a bug
<https://issues.guix.gnu.org/58239>.

(Thank you for making me notice the bug!)

After these preparations, I run:

guix system init /mnt/etc/config.scm /mnt --target=i586-pc-gnu --skip-checks

Then a last step: Open `guix repl` and run

,use (gnu build hurd-boot)
(make-hurd-device-nodes "/mnt")

It installs and runs somewhat iff I edit the GRUB boot options (with
the E key in the boot menu) to boot from sd0s1 instead of hd0s1, on
every boot.  If I forget to do this, I need to run `fsck.ext2
/dev/sda1` from the installer image before I can boot the already
installed Hurd again.

Anyway, it starts /gnu/store/38sb8h…-system/rc, which freezes.

Also note that the Hurd release shipped with Guix has known security
issues (see Sergey Bugaev’s writeups; there has not yet been a new mig
release since and Guix would need it for newer Hurd, I think).

Note: These instructions are the result of trial and error.  I am not a
hurd user (yet) and don’t know details.

Regards,
Florian


  reply	other threads:[~2022-12-03 22:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01  9:17 GNU Guix 1.4.0rc1 available for testing! Ludovic Courtès
2022-12-01 15:38 ` Luis Felipe
2022-12-01 21:40 ` Luis Felipe
2022-12-02  9:06   ` Ludovic Courtès
2022-12-01 22:55 ` Svante Signell
2022-12-03 22:46   ` pelzflorian (Florian Pelz) [this message]
2022-12-02 22:17 ` Ahmed Khanzada
2022-12-02 23:10   ` (
2022-12-03  9:50   ` zimoun
2022-12-03 14:18     ` Ahmed Khanzada
2022-12-03 17:45       ` Ludovic Courtès
2022-12-03 16:25     ` Kaelyn
2022-12-04 15:50       ` Ahmed Khanzada via Development of GNU Guix and the GNU System distribution.
2022-12-04  1:19 ` John Kehayias
2022-12-04 16:17 ` pelzflorian (Florian Pelz)
2022-12-04 18:30   ` Julien Lepiller
2022-12-06 10:46   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ilis2jiu.fsf@pelzflorian.de \
    --to=pelzflorian@pelzflorian.de \
    --cc=guix-devel@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    --cc=svante.signell@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).