[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix under QEMU on Aarch64?
From: |
Marek Paśnikowski |
Subject: |
Re: Guix under QEMU on Aarch64? |
Date: |
Wed, 21 Aug 2024 16:18:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
James Geddes <james@jamesgeddes.org> writes:
>> On 20 Aug 2024, at 11:25, Marek Paśnikowski <marek@marekpasnikowski.pl>
>> wrote:
>>
>> James Geddes <james@jamesgeddes.org> writes:
>>
>>> (NB: I have tried a few other things: `guix system init ... config.scm` to
>>> a new drive; and `guix
>>> system image --image-type=qcow2 config.scm` (which fails for other reasons
>>> I don't understand).)
>>
>> It would be nice to see those error messages. You could have been
>> closer to success than you thought.
>>
>> I have no experience with virtual machines, but I did plenty of guix
>> system inits — maybe your error is something I understand.
>>
>
> I’d be very happy for any insight! The error message was:
>
> ```
> # guix system image --image-type=qcow2 config.scm
> guix system: error: EFI bootloader required with GPT partitioning
> ```
>
I had a look at your config and my first thought is that the error
message is a poorly worded version of one of the following:
1. You must use both EFI bootloader and GPT partitioning.
2. If you use EFI bootloader, you must use GPT partitioning.
Either way, after logical analysis of the information here, my
conclusion is that guix deploys an image with an MBR partitioning
scheme.
Reading [the manual][1], „The image type can be selected using the
--image-type option. It defaults to mbr-hybrid-raw.” Further down, „The
--list-image-types command lists all the available image types.”
$ guix system image --list-image-types
The available image types are:
- visionfive2-raw
- unmatched-raw
- rock64-raw
- pinebook-pro-raw
- pine64-raw
- orangepi-r1-plus-lts-rk3328-raw
- novena-raw
- hurd-qcow2
- hurd-raw
- raw-with-offset
- mbr-raw
- iso9660
- tarball
- qcow2
- wsl2
- efi-raw
- mbr-hybrid-raw
- uncompressed-iso9660
- docker
- efi32-raw
[1]: https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-system.html