unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Max Brieiev <max.brieiev@gmail.com>
To: Roman Scherer <roman.scherer@burningswell.com>
Cc: Akira Kyle <akira@akirakyle.com>,  guix-devel@gnu.org
Subject: Re: Error booting aarch64 installation image
Date: Tue, 21 Feb 2023 10:06:41 +0200	[thread overview]
Message-ID: <86356ze92m.fsf@gmail.com> (raw)
In-Reply-To: <86ilfw7hug.fsf@burningswell.com> (Roman Scherer's message of "Mon, 20 Feb 2023 11:03:34 +0100")

Hi Roman,

Roman Scherer <roman.scherer@burningswell.com> writes:

> I think you need to use --image-type=efi-raw for this to work.

Unfortunately, this doesn't build and produces yet another errors.

> I actually installed my Guix system from another distro. I roughly
> followed this guide here:
>
> https://guix.gnu.org/blog/2019/guix-on-an-arm-board/

Thank you! I spent all day yesterday playing with this idea.

And it actually works. For me the steps were like this:

1. Launch Debian ARM image.
2. Install Guix on it as package manager
3. Attach an empty qcow image as a storage device (/dev/vdb for me)
4. Partition and format /dev/vdb
5. Mount root and boot efi partitions.
6. Edit file-system entries in lightweight-desktop.scm and save it as
/mnt/etc/config.scm
7. Run:
    guix system init /mnt/etc/config.scm /mnt
8. Reboot

And this works!

Now I've just discovered in guix-cookbook that there is a special
linux-libre-arm64-generic kernel for ARM boards and that u-boot is
usually used to boot them.

But in my case it works with grub and a default kernel.

Are there any advantages of switching to linux-libre-arm64-generic
kernel?


  reply	other threads:[~2023-02-21  8:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17  8:29 Building arm64 guix system image Max Brieiev
2023-02-17 17:36 ` Akira Kyle
2023-02-19 12:18   ` Max Brieiev
2023-02-19 12:51     ` Roman Scherer
2023-02-20  9:08       ` Error booting aarch64 installation image (was: Building arm64 guix system image) Max Brieiev
2023-02-20 10:03         ` Roman Scherer
2023-02-21  8:06           ` Max Brieiev [this message]
2023-02-22 10:56             ` Error booting aarch64 installation image Efraim Flashner
2023-02-19 20:01 ` Building arm64 guix system image Efraim Flashner
2023-02-20 10:31   ` Roman Scherer
2023-02-20 14:17     ` Efraim Flashner
2023-02-21  5:02       ` Andrew Patterson
2023-02-22 10:45         ` Efraim Flashner
2023-02-25 11:27       ` Roman Scherer
2023-02-23 18:41   ` Roman Scherer

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=86356ze92m.fsf@gmail.com \
    --to=max.brieiev@gmail.com \
    --cc=akira@akirakyle.com \
    --cc=guix-devel@gnu.org \
    --cc=roman.scherer@burningswell.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).