Comments (12)
I tried to install a new server, but I get this error after editing the config file. In the config file there is no comment for this setting. I tried
CRYPTPASSWORD 1234
but that didn't work either. Is there a possibility to install server without cryptpassword?Thanks.
Facing same issue :(
before I started
installimage
I had to setCRYPT=0
I don't know if this behave as intended.
Tried this. But still facing same issue :(
Any idea how to fix it?
from installimage.
I had this same issue, and I thought I was going crazy. Finally found the issue, and I just wanted to share in case someone else find themselves in the same situation.
I had this configuration:
PART /boot ext3 2G # Should be enough
PART lvm vg0 all # Rest goes to LVM
LV vg0 root / ext4 100G # filesystem should have 100G
LV vg0 rook /mnt/rook xfs all # The rest is going to be used by Rook
I should have understood it earlier, but as this comment mentions. Having too many parameters will make the script think that it should use encryption.
I just removed my comments, and everything works as it should 🥳
from installimage.
before I started installimage
I had to set CRYPT=0
I don't know if this behave as intended.
from installimage.
Thanks, there was a missing check.
from installimage.
So is it fixed? I didn't find something that mentioned this issue.
from installimage.
Yes, it should be. If you still have issues, please open a support request with the config you are using.
The commits in this repository do not reflect or mention issues reported via Github.
from installimage.
Are you using installimage on a Hetzner Server or are you using this repository in your own infrastructure?
from installimage.
Are you using installimage on a Hetzner Server or are you using this repository in your own infrastructure?
I am using installimage
command in hertzner server (rescue mode)
from installimage.
Then please open a support ticket with your config.
from installimage.
Then please open a support ticket with your config.
Added CRYPTPASSWORD xxxxxxxx
in config (after partition portion) and It allowed me to proceed further
(xxxxxxxx was a number)
Hope no issues will arise in future 😅
from installimage.
I tried to install a new server, but I get this error after editing the config file. In the config file there is no comment for this setting. I tried
CRYPTPASSWORD 1234
but that didn't work either. Is there a possibility to install server without cryptpassword?
Thanks.Facing same issue :(
before I started
installimage
I had to setCRYPT=0
I don't know if this behave as intended.Tried this. But still facing same issue :(
Any idea how to fix it?
I had the same symptom, and the problem was a PART
line that had an extra
characters at the end (including comments!), which the
functions.sh
/installimage
script thinks (see below SCRIPT
) is related to cryptsetup and then sets CRYPT=1
:
WRONG/ERROR:
[...]
PART root / ext4 100G
[...]
...corrected:
[...]
PART / ext4 100G
[...]
SCRIPT
The code is functions.sh#772:
[...]
i=0
while read -r PART_LINE ; do
i=$((i+1))
PART_MOUNT[$i]="$(echo "$PART_LINE" | awk '{print $2}')"
PART_FS[$i]="$(echo "$PART_LINE" | awk '{print $3}')"
PART_SIZE[$i]="$(translate_unit "$(echo "$PART_LINE" | awk '{ print $4 }')")"
PART_CRYPT[$i]="$(echo "$PART_LINE" | awk '{print $5}')"
[...]
if [ -n "${PART_CRYPT[$i]}" ]; then
export CRYPT="1"
fi
from installimage.
I just removed my comments,
This indeed seems unexpected and fragile. I edited my comment in case it helps others. Once one knows, one'll never do it again, but maybe the maintainers will accept patches to make the behavior less surprising.
from installimage.
Related Issues (20)
- REGRESSION: encrypted btrfs root filesystem fails -- but worked before (for sure at commit 84883ef) HOT 1
- Boot and root do not need to be outside LVM
- support for ClearLinux
- Support for Fedora CoreOS HOT 7
- Add support btrfs multi-device HOT 2
- syntax error when trying to setup LUKS HOT 1
- btrfs with compression triggers CRYPTPASSWORD message (Debian 12)
- Various syntax errors when trying to install from a URL HOT 2
- Rocky Linux 9, AlmaLinux 9, and CentOS Stream 9 UEFI Support HOT 1
- netplan error: gateway6 has been deprecated with latest ubuntu 20.04 image HOT 2
- Setup guide for installimage HOT 6
- installimage version on Server (via NFS) is different HOT 3
- Problem with custom image and locale setup
- UEFI installation doesn't create RAID1 for ESP partition HOT 6
- ERROR: can not determine image arch from filename HOT 3
- Unable to setup machine via cli arguments (only via editing the config file) HOT 1
- Errors at 'Setting up network config': '/installimage.*/hdd/etc/netplan/01-netcfg.yaml: No such file or directory' HOT 2
- Installimage fails. Permissions for /etc/netplan/01-netcfg.yaml are too open (Ubuntu 22.04) HOT 2
- Check FAT format - Config `PART /boot/efi esp 256M` HOT 2
- almalinux 92 on EFI systems HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installimage.