From: Roman Scherer <roman.scherer@burningswell.com>
To: Max Brieiev <max.brieiev@gmail.com>
Cc: Akira Kyle <akira@akirakyle.com>, guix-devel@gnu.org
Subject: Re: Error booting aarch64 installation image (was: Building arm64 guix system image)
Date: Mon, 20 Feb 2023 11:03:34 +0100 [thread overview]
Message-ID: <86ilfw7hug.fsf@burningswell.com> (raw)
In-Reply-To: <865ybwr9f5.fsf_-_@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]
Hi Max,
I think you need to use --image-type=efi-raw for this to work.
To boot from an USB stick, also make sure to use an USB A to C adapter
and put the stick into the USB port on the left side of your computer.
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/
I'm not sure if I can link to it here, so I will just mention that I
have a Guix channel that contains some of the Asahi Linux packages,
which you might want at some point.
Roman
Max Brieiev <max.brieiev@gmail.com> writes:
> Hi Roman,
>
> Roman Scherer <roman.scherer@burningswell.com> writes:
>
>> I'm running Guix system on an Apple M1 and also run into these
>> issues. At the moment I'm using the following commit to build my system:
>>
>> 7833acab0da02335941974608510c02e2d1d8069
>
> Thank you, I managed to build installation image from this commit like
> this:
>
> guix time-machine --commit=7833acab0da02335941974608510c02e2d1d8069 -- system image --system=aarch64-linux -t iso9660 ~/code/guix/gnu/system/install.scm
> ...
> /gnu/store/rqf53a5xx3dknk689ag620n5617pqpj3-image.iso
>
> But now I have another problem, this image throws an error after
> selecting the "GNU Guix installation 1.4.0" entry in Grub:
>
> error: invalid magic number.
> error: you need to load the kernel first.
>
> I googled a bit about this error and most answers suggest that the image
> is corrupted in one way or another.
>
> How can I debug this error?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]
next prev parent reply other threads:[~2023-02-20 10:27 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 [this message]
2023-02-21 8:06 ` Error booting aarch64 installation image Max Brieiev
2023-02-22 10:56 ` 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=86ilfw7hug.fsf@burningswell.com \
--to=roman.scherer@burningswell.com \
--cc=akira@akirakyle.com \
--cc=guix-devel@gnu.org \
--cc=max.brieiev@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).