Dietpi fails to load without errors Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
DogR324
Posts: 3
Joined: Fri Apr 10, 2020 12:32 pm

Dietpi fails to load without errors

Post by DogR324 »

I can use my RPi 4b (4gb) normally however the text is displaying incorrectly. When I login in I also have an error message saying "-bash: warning: command substitution: ignored null byte in input" and then it says there's a syntax error in dietpi-login and then it starts outputting text which I don't know how to change, my previous backups seem to have errors where the Pi fails to boot, the backup was last done yesterday before this error.


All dietpi commands fail as well but I can't read the error messages

I hope anyone can help me!
Attachments
The text from signing in from SSH.
The text from signing in from SSH.
User avatar
Joulinar
Posts: 2052
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fails to load without errors

Post by Joulinar »

is this a fresh installation? pls can you verify this on a different client like a workstation computer or laptop using a different SSH client. Because I don't have such issues on my RPi4B. There all is working fine.

Code: Select all

login as: root
root@192.168.0.11's password:
 ─────────────────────────────────────────────────────
 DietPi v6.28.0 : 13:02 - Fr 10.04.2020
 ─────────────────────────────────────────────────────
 - Device model : RPi 4 Model B (armv7l)
 - Uptime : up 1 week, 5 days, 20 hours, 17 minutes
 - CPU temp : 37'C : 98'F (Cool runnings)
 - LAN IP : 192.168.0.11 (eth0)
 - Info Text : !!! PRODUCTION SYSTEM !!!
 ─────────────────────────────────────────────────────

 DietPi Team     : MichaIng (lead), Daniel Knight (founder)
 Image           : DietPi Core Team (pre-image: Raspbian Lite)
 Web             : https://DietPi.com | https://twitter.com/dietpi_
 Patreon Legends : PINE64 community | oct8l
 Donate          : https://DietPi.com/#donate
 DietPi Hosting  : Powered by https://MyVirtualServer.com

 dietpi-launcher : All the DietPi programs in one place.
 dietpi-config   : Feature rich configuration tool for your device.
 dietpi-software : Select optimized software for installation.
 htop            : Resource monitor.
 cpu             : Shows CPU information and stats.

root@DietPi4:~#
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DogR324
Posts: 3
Joined: Fri Apr 10, 2020 12:32 pm

Re: Dietpi fails to load without errors

Post by DogR324 »

I tried using the HDMI on the Pi and I got the odd text again, however when it first boots the [ ok ] messages are in English, but it changes when dietpi systems begin to load.
User avatar
Joulinar
Posts: 2052
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fails to load without errors

Post by Joulinar »

do you use any special language settings? Or can you try to perform a check if your SD card is corrupted? Probably you could remove the SD card from the RPi and put it into another computer to check if you could read/ access the files on /boot.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DogR324
Posts: 3
Joined: Fri Apr 10, 2020 12:32 pm

Re: Dietpi fails to load without errors

Post by DogR324 »

I could use /boot on my Windows computer and I didn't change any language settings. Thanks for the advice but I have decided to start again with a different SD card which works, so I won't be needing any more help.
User avatar
Joulinar
Posts: 2052
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fails to load without errors

Post by Joulinar »

probably that's the best way to start from scratch with a new SD card. According your descriptions, it seems something went wrong or get corrupted on the original SD card.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply