Dietpi first run setup failed

Having issues with your DietPi installation or found a bug? Post it here.
menacing_jon
Posts: 24
Joined: Mon Mar 01, 2021 2:18 am

Dietpi first run setup failed

Post by menacing_jon »

I formatted my sd card new for fresh install of dietpi with the newest version, and when i booted up my pi, i keep keep getting the " [failed] Unknown install state/First run setup failed " error message. When I click "ok" to retry the setup, it loops back to the same error message. And when i reformat the SD card, and put the image back on, same thing.
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi first run setup failed

Post by Joulinar »

did you already tried to download a new image from dietpi.com? As well do you have another SD card to try?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
menacing_jon
Posts: 24
Joined: Mon Mar 01, 2021 2:18 am

Re: Dietpi first run setup failed

Post by menacing_jon »

Yes I did, and still he same
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi first run setup failed

Post by Joulinar »

can you share following 2 log files

Code: Select all

/var/tmp/dietpi/logs/dietpi-firstboot.log
/var/tmp/dietpi/logs/dietpi-firstrun-setup.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
menacing_jon
Posts: 24
Joined: Mon Mar 01, 2021 2:18 am

Re: Dietpi first run setup failed

Post by menacing_jon »

How do I do that? I've never done that before
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi first run setup failed

Post by Joulinar »

pls try following

Code: Select all

cp /var/tmp/dietpi/logs/dietpi-firstboot.log /boot/
cp /var/tmp/dietpi/logs/dietpi-firstrun-setup.log /boot/
they are now copied to the FAT partition on your SD card. Remove your SD card and connect it to a computer. You can copy these files to the forum post. Easiest would be, if you are going to upload them as attachment.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
menacing_jon
Posts: 24
Joined: Mon Mar 01, 2021 2:18 am

Re: Dietpi first run setup failed

Post by menacing_jon »

Here's the first boot log, can't cp the other file path
Attachments
dietpi-firstboot.log
(5.35 KiB) Downloaded 27 times
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi first run setup failed

Post by Joulinar »

looks like your SD card is to small

Code: Select all

[FAILED] DietPi-Set_swapfile | Free space check: path=/var/ | available=86 MiB | required=1144 MiB
[FAILED] DietPi-Set_swapfile | Insufficient free space for desired swap files size
what size your SD card has?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
menacing_jon
Posts: 24
Joined: Mon Mar 01, 2021 2:18 am

Re: Dietpi first run setup failed

Post by menacing_jon »

32gb
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi first run setup failed

Post by Joulinar »

that should be enough. Maybe something went wrong on the initial resize. Pls can you share

Code: Select all

cat /var/tmp/dietpi/logs/fs_partition_resize.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply