unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Problems making a bootable aarch64-linux system image
@ 2025-01-01 20:55 Ian Eure
  2025-01-02  9:03 ` Christopher Baines
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Eure @ 2025-01-01 20:55 UTC (permalink / raw)
  To: help-guix

Hi folks,

I’m trying to get Guix System running in a QEMU VM on Apple ARM64 
hardware[1].  This has been much more challenging than I expected, 
and I haven’t been able to get it working at all.  I’m completely 
stuck and could use some advice and/or a working configuration I 
can hack on.

I’ve tried multiple paths to get this working, including building 
both installer and system images on arm64 and amd64 hardware.  My 
current approach is to make a bootable qcow2 system image using 
Guix as a foreign package manager on top of Debian running in a VM 
on the ARM hardware.  This is my image definition: 
https://paste.debian.net/1342063/

It’s buildable with:

  guix time-machine 
  --commit=96cd163c14e68c66c6a4cf0b18261fc454f8c1ba -- system 
  image vakum.scm

(Commits beyond 96cd163c14e68c66c6a4cf0b18261fc454f8c1ba fail, 
because guix tests are currently broken on aarch64-linux; see 
#75205)

This produces an image which boots to GRUB, but fails to boot the 
system.  It seems that the framebuffer console is initialized, 
since I see the QEMU window resize, but then I get a blinking 
cursor in the upper-left and nothing else.

Does anyone have pointers/advice/working configs for this I can 
hack on?  Any help would be greatly appreciated.

Thanks,

  -- Ian

[1]: My work requires everyone to use a Mac, unfortunately.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems making a bootable aarch64-linux system image
  2025-01-01 20:55 Problems making a bootable aarch64-linux system image Ian Eure
@ 2025-01-02  9:03 ` Christopher Baines
  2025-01-02 17:28   ` Ian Eure
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2025-01-02  9:03 UTC (permalink / raw)
  To: Ian Eure; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

Ian Eure <ian@retrospec.tv> writes:

> I’ve tried multiple paths to get this working, including building both
> installer and system images on arm64 and amd64 hardware.  My current
> approach is to make a bootable qcow2 system image using Guix as a
> foreign package manager on top of Debian running in a VM on the ARM
> hardware.  This is my image definition:
> https://paste.debian.net/1342063/
>
> It’s buildable with:
>
>  guix time-machine   --commit=96cd163c14e68c66c6a4cf0b18261fc454f8c1ba
>  -- system   image vakum.scm
>
> (Commits beyond 96cd163c14e68c66c6a4cf0b18261fc454f8c1ba fail, because
> guix tests are currently broken on aarch64-linux; see #75205)
>
> This produces an image which boots to GRUB, but fails to boot the
> system.  It seems that the framebuffer console is initialized, since I
> see the QEMU window resize, but then I get a blinking cursor in the
> upper-left and nothing else.
>
> Does anyone have pointers/advice/working configs for this I can hack
> on?  Any help would be greatly appreciated.

Do you get any output if you remove quiet from the kernel arguments? You
can do this from grub or alter your system configuration
kernel-arguments.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems making a bootable aarch64-linux system image
  2025-01-02  9:03 ` Christopher Baines
@ 2025-01-02 17:28   ` Ian Eure
  2025-01-02 18:35     ` Ian Eure
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Eure @ 2025-01-02 17:28 UTC (permalink / raw)
  To: Christopher Baines; +Cc: help-guix

Hi Christopher,

On Thu, Jan 2, 2025, at 9:03 AM, Christopher Baines wrote:
> Ian Eure <ian@retrospec.tv> writes:
>
>> I’ve tried multiple paths to get this working, including building both
>> installer and system images on arm64 and amd64 hardware.  My current
>> approach is to make a bootable qcow2 system image using Guix as a
>> foreign package manager on top of Debian running in a VM on the ARM
>> hardware.  This is my image definition:
>> https://paste.debian.net/1342063/
>>
>> It’s buildable with:
>>
>>  guix time-machine   --commit=96cd163c14e68c66c6a4cf0b18261fc454f8c1ba
>>  -- system   image vakum.scm
>>
>> (Commits beyond 96cd163c14e68c66c6a4cf0b18261fc454f8c1ba fail, because
>> guix tests are currently broken on aarch64-linux; see #75205)
>>
>> This produces an image which boots to GRUB, but fails to boot the
>> system.  It seems that the framebuffer console is initialized, since I
>> see the QEMU window resize, but then I get a blinking cursor in the
>> upper-left and nothing else.
>>
>> Does anyone have pointers/advice/working configs for this I can hack
>> on?  Any help would be greatly appreciated.
>
> Do you get any output if you remove quiet from the kernel arguments? You
> can do this from grub or alter your system configuration
> kernel-arguments.
>

No, it behaves exactly the same.  Blinking cursor, no output, no progress.

But thank you for mentioning this!  I've been wondering why my machine was more verbose than a fresh install, and it's because I was clobbering %default-kernel-arguments, so this was indirectly helpful.

Thanks,
  -- Ian


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems making a bootable aarch64-linux system image
  2025-01-02 17:28   ` Ian Eure
@ 2025-01-02 18:35     ` Ian Eure
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Eure @ 2025-01-02 18:35 UTC (permalink / raw)
  To: Christopher Baines; +Cc: help-guix

Hi all,

I was able to get this working by looking at another user's VM config.scm.  I believe my error is that I provided a list of packages, instead of appending to %base-packages.

  -- Ian

On Thu, Jan 2, 2025, at 5:28 PM, Ian Eure wrote:
> Hi Christopher,
>
> On Thu, Jan 2, 2025, at 9:03 AM, Christopher Baines wrote:
>> Ian Eure <ian@retrospec.tv> writes:
>>
>>> I’ve tried multiple paths to get this working, including building both
>>> installer and system images on arm64 and amd64 hardware.  My current
>>> approach is to make a bootable qcow2 system image using Guix as a
>>> foreign package manager on top of Debian running in a VM on the ARM
>>> hardware.  This is my image definition:
>>> https://paste.debian.net/1342063/
>>>
>>> It’s buildable with:
>>>
>>>  guix time-machine   --commit=96cd163c14e68c66c6a4cf0b18261fc454f8c1ba
>>>  -- system   image vakum.scm
>>>
>>> (Commits beyond 96cd163c14e68c66c6a4cf0b18261fc454f8c1ba fail, because
>>> guix tests are currently broken on aarch64-linux; see #75205)
>>>
>>> This produces an image which boots to GRUB, but fails to boot the
>>> system.  It seems that the framebuffer console is initialized, since I
>>> see the QEMU window resize, but then I get a blinking cursor in the
>>> upper-left and nothing else.
>>>
>>> Does anyone have pointers/advice/working configs for this I can hack
>>> on?  Any help would be greatly appreciated.
>>
>> Do you get any output if you remove quiet from the kernel arguments? You
>> can do this from grub or alter your system configuration
>> kernel-arguments.
>>
>
> No, it behaves exactly the same.  Blinking cursor, no output, no progress.
>
> But thank you for mentioning this!  I've been wondering why my machine 
> was more verbose than a fresh install, and it's because I was 
> clobbering %default-kernel-arguments, so this was indirectly helpful.
>
> Thanks,
>   -- Ian


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-02 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-01 20:55 Problems making a bootable aarch64-linux system image Ian Eure
2025-01-02  9:03 ` Christopher Baines
2025-01-02 17:28   ` Ian Eure
2025-01-02 18:35     ` Ian Eure

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).