syntax error when trying to setup LUKS #77

Closed
opened 2023-05-05 22:12:29 +02:00 by Sinderella · 1 comment
Sinderella commented 2023-05-05 22:12:29 +02:00 (Migrated from github.com)

Hello, I'm trying to setup LUKS on my new cloud instance, but I've got the following message.

[22:06:31] # setting up /etc/netplan/01-netcfg.yaml
[22:06:31] :   chroot: failed to run command ‘/usr/bin/env’: Exec format error
[22:06:31] :   /root/.oldroot/nfs/install/network_config.functions.sh: line 176: ((: < 226: syntax error: operand expected (error token is "< 226")
[22:06:32] :   configuring dhcpv4 for
[22:06:32] :   configuring ipv6 addr <redacted ipv6>for
[22:06:32] :   chroot: failed to run command ‘/usr/bin/env’: Exec format error
[22:06:32] fatal: can not query netplan version
[22:06:32] => FAILED

I was following the following instruction, but with a bit of modification as my system is in UEFI mode. (I added PART /boot/efi esp 256M, not sure if I am supposed to do that.)

https://community.hetzner.com/tutorials/install-ubuntu-2004-with-full-disk-encryption

Hello, I'm trying to setup LUKS on my new cloud instance, but I've got the following message. ``` [22:06:31] # setting up /etc/netplan/01-netcfg.yaml [22:06:31] : chroot: failed to run command ‘/usr/bin/env’: Exec format error [22:06:31] : /root/.oldroot/nfs/install/network_config.functions.sh: line 176: ((: < 226: syntax error: operand expected (error token is "< 226") [22:06:32] : configuring dhcpv4 for [22:06:32] : configuring ipv6 addr <redacted ipv6>for [22:06:32] : chroot: failed to run command ‘/usr/bin/env’: Exec format error [22:06:32] fatal: can not query netplan version [22:06:32] => FAILED ``` I was following the following instruction, but with a bit of modification as my system is in UEFI mode. (I added `PART /boot/efi esp 256M`, not sure if I am supposed to do that.) https://community.hetzner.com/tutorials/install-ubuntu-2004-with-full-disk-encryption
asciiprod commented 2023-10-17 15:10:06 +02:00 (Migrated from github.com)

It looks like you are trying to install an x64 image on arm64. Please adjust the image file name to reference the correct image.

It looks like you are trying to install an x64 image on arm64. Please adjust the image file name to reference the correct image.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DiamantTh/installimage#77
No description provided.