DietPi folder empty

Having issues with your DietPi installation, or, found a bug? Post it here.
Bernie V
Posts: 12
Joined: Thu Jan 05, 2017 8:07 pm

Re: DietPi folder empty

Post by Bernie V »

This is my type of sdcard: Transcend 64GB microSD Premium 400x Class 10 UHS-I

Yes!!! DietPi is repaired. Thx a lot. After reboot It needed to be updated to the latest version.

I only have still these warnings at startup:

-bash: warning: setlocale: LC_ALL: cannot change locale (0.UTF-8)
-bash: warning: setlocale: LC_ALL: cannot change locale (0.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (0.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (0.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (0.UTF-8)

Is there something to do on it?
Bernie V
Posts: 12
Joined: Thu Jan 05, 2017 8:07 pm

Re: DietPi folder empty

Post by Bernie V »

@Fourdee: Thx for the great assistance! Please send me the PayPal adres to support your project, with the link in the sig I can't use PayPal for some reason.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi folder empty

Post by Fourdee »

Bernie V wrote:Transcend
Hi Bernie,

I've experienced consistent IO failures with Transcend's cards, on various devices during DietPi testing over the years, i personally wouldn't recommend them for stability.
With the FSCK recovery and official PSU, i believe unstable SD card is to blame.

I'd highly recommend Sandisk, any model, they have proven to me over the years (they take a hammering) that they are fully stable and reliable.
bash: warning: setlocale: LC_ALL: cannot change locale (0.UTF-8)
I've seen this before, think we may have a solution on forums, let me find and link it.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Bernie V
Posts: 12
Joined: Thu Jan 05, 2017 8:07 pm

Re: DietPi folder empty

Post by Bernie V »

PayPal link worked now. Check your PayPal ;)
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi folder empty

Post by Fourdee »

Bernie,

Found it: http://dietpi.com/phpbb/viewtopic.php?f ... nge+locale

Try:

Code: Select all

rm /etc/environment 
Then run:

Code: Select all

dpkg-reconfigure locales
Make sure [*] en_GB.UTF-8 UTF-8[/color] is ticked (space bar).
Enter
Select en_GB.UTF-8 as default
Enter

Reboot system and check if issue is resolved
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi folder empty

Post by Fourdee »

Bernie V wrote:PayPal link worked now. Check your PayPal ;)
Thanks Bernie, really appreciate it.
I actually need to order some more Sandisk SD cards (6 isnt enough for 20+ devices and testing lol) , so will be put to good use :D

Thank you.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Bernie V
Posts: 12
Joined: Thu Jan 05, 2017 8:07 pm

Re: DietPi folder empty

Post by Bernie V »

Fourdee wrote: Thanks Bernie, really appreciate it.
I actually need to order some more Sandisk SD cards (6 isnt enough for 20+ devices and testing lol) , so will be put to good use :D
Thank you.
:D
Bernie V
Posts: 12
Joined: Thu Jan 05, 2017 8:07 pm

Re: DietPi folder empty

Post by Bernie V »

Fourdee wrote:Make sure [*] en_GB.UTF-8 UTF-8[/color] is ticked (space bar).
Enter
Select en_GB.UTF-8 as default
Enter

Reboot system and check if issue is resolved
I'm from Belgium, so does this matter for the selection? Time zone Belgium = UTC +1
qnx

Re: DietPi folder empty

Post by qnx »

Hi all!

Similar problem to Bernie's (empty /DietPi), except I don't have /boot.bak.

Code: Select all

root@jpi:/# ls
bin   dev     etc  lost+found  opt   root  sbin  sys  usr
boot  DietPi  lib  mnt         proc  run   srv   tmp  var
But /boot/dietpi seems to contain something:

Code: Select all

root@jpi:/# ls /boot/dietpi
boot               dietpi-config         dietpi-logclear         dietpi-survey
conf               dietpi-cpuinfo        dietpi-morsecode        dietpi-sync
dietpi-autostart   dietpi-cpu_set        dietpi-obtain_hw_model  dietpi-update
dietpi-backup      dietpi-cron           dietpi-process_tool     finalise
dietpi-banner      dietpi-drive_manager  dietpi-ramdisk          func
dietpi-bugreport   dietpi-funtime        dietpi-ramlog           login
dietpi-cleaner     dietpi-launcher       dietpi-services         misc
dietpi-cloudshell  dietpi-letsencrypt    dietpi-software
How should I go on to restore my /DietPi folder?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi folder empty

Post by Fourdee »

qnx wrote:But /boot/dietpi seems to contain something:
Hi,

We'll need to check the status of the DietPi-RAMdisk service to see why it failed:

Code: Select all

systemctl status dietpi-ramdisk -l
Also, can we see your /etc/fstab to check mount entry for /DietPi:

Code: Select all

cat /etc/fstab
And, lets check permissions on /DietPi:

Code: Select all

ls -lha /DietPi
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply