Arch server install fail laptop
After running arch server install via the stable branch of linutil it fails at the end on lenovo laptop.
Can anyone advise me how to grab a better log for a diagnosis?
Thanks
Ran again got same errors and some more pictures
From the portion of the script you provided, the issue seems to arise in the logo() function around line 122-135, where it attempts to print the logo using echo -ne. Here's what could be happening:
Potential Issues:
-
echo -neFormatting: The command echo -ne is used to print the string without adding a new line and enabling interpretation of backslash escapes (-e). However, if there is any issue with the interpretation or escaping of characters, this could result in the errors you're seeing (i.e., missing or unrecognized commands). -
Whitespace or Unexpected Characters: Sometimes, invisible or non-printable characters in the script (especially if copied from a different format) can cause errors when interpreted by the shell.
Fixing Issues in script
1. Fix echo -ne Formatting Issue
The echo -ne command might be misinterpreting the special characters in the ASCII art. Instead, use a heredoc to print the ASCII art. Here’s the corrected version of the logo function.
logo () {
cat << "EOF"
-------------------------------------------------------------------------
**logo goes here**
-------------------------------------------------------------------------
Please select preset setup settings for your system
-------------------------------------------------------------------------
EOF
}
2. Verify the Script for Invisible Characters
cat -A your_script.sh
Here's output.txt for the server-setup script.
3. Just remove the logo part from the script.
It's already fixed on the latest release.
/close