From: Vagrant Cascadian <vagrant@debian.org>
To: Andreas Enge <andreas@enge.fr>
Cc: help-guix@gnu.org
Subject: Re: Guix on Novena
Date: Sun, 06 Sep 2020 07:23:33 -0700 [thread overview]
Message-ID: <87y2ln2dcq.fsf@ponder> (raw)
In-Reply-To: <20200906084522.GA1900@jurong>
[-- Attachment #1: Type: text/plain, Size: 3233 bytes --]
On 2020-09-06, Andreas Enge wrote:
> On Wed, Sep 02, 2020 at 11:33:22AM -0700, Vagrant Cascadian wrote:
>> Yes, I would recommend installing Guix System directly to SATA, since
>> u-boot can boot from SATA partitions marked bootable (either MBR or GPT
>> though what GPT calls it I forget), and SATA will perform better, of
>> course.
>
> So far, I am using an external USB disk, which probably is not in the
> boot sequence.
From the u-boot prompt:
printenv boot_targets
Should output something like:
mmc1 mmc0 sata0 usb0 pxe
Doing:
setenv boot_targets usb0
Might get it to boot from usb only... I've also had occasional troubles
with some USB ports on the novena, so you might need to move it between
ports to find one that works consistantly.
> This is why the configuration has this:
> (bootloader (bootloader-configuration
> (bootloader u-boot-novena-bootloader)
> (target "/dev/mmcblk1")))
> to boot from the SD card. By the way, why /dev/mmcblk1, which also appears
> in the installation-os? Is this valid when an additional SATA disk is plugged
> in? My SD card is called /dev/mmcblk0, and there are several partitions;
> do I give /dev/mmcblk0 or /dev/mmcblk0p1 as the argument?
The bootloader needs to be installed on the raw SD device, not a
partition, so /dev/mmcblk0 or /dev/mmcblk1 (or if you're installing the
bootloader using an sd-to-usb adapter, /dev/sd{a,b...}).
I'm not sure if the bootloader can be installed on the full-sized SD
slot, but certainly works with the annoying microSD slot. Sometimes the
enumeration of the device number may vary from one kernel version or
even boot to the next (though it's gotten more stable in recent years).
I forget off the top of my head how you can pass a no-op to the boot
configuration to just generate the extlinux.conf that is used by u-boot,
but that's also an option to relying on the existing boot loader,
presuming it supports all the features you need to boot (e.g. u-boot's
distro_boot support).
> Then later I have:
> (file-systems (cons* (file-system
> (device (uuid "f1062993-3776-47d2-8900-9e4f1d9fc8aa")) ; /dev/sda1
> (mount-point "/")
> (type "ext4"))
> %base-file-systems))
> so that the store and everything else should be on the disk.
>
> Will this separation work?
Should be fine, yes.
> Will mounting /dev/sda1 to /mnt and issuing "guix system init config.scm /mnt"
> work? (The handbook suggests to do "herd start cow-store /mnt", but I forgot
> what this is needed for.) Will it populate only /mnt/gnu/store, or also
> /gnu/store from the place where I call "guix system init"? Since the latter
> is almost full.
Someone else will have to answer this; it's been too long since I've
installed that way.
Thanks for working on getting some armhf build machines going!
After nearly a full day of building guile-static, I finally managed to
get the novena installation updated to a recent guix, running
linux-libre@5.8 (as well as testing 5.4 and various
linux-libre-arm-generic builds).
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2020-09-06 14:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 9:38 Guix on Novena Andreas Enge
2020-09-01 16:41 ` Vagrant Cascadian
2020-09-01 18:06 ` Andreas Enge
2020-09-02 17:30 ` Vagrant Cascadian
2020-09-02 18:05 ` Andreas Enge
2020-09-02 18:33 ` Vagrant Cascadian
2020-09-06 8:45 ` Andreas Enge
2020-09-06 14:23 ` Vagrant Cascadian [this message]
2020-09-07 20:12 ` Andreas Enge
2020-09-07 12:11 ` Andreas Enge
2020-09-08 10:56 ` Andreas Enge
2020-09-08 12:30 ` Efraim Flashner
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=87y2ln2dcq.fsf@ponder \
--to=vagrant@debian.org \
--cc=andreas@enge.fr \
--cc=help-guix@gnu.org \
/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.
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).