First run FAILED Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
reklam
Posts: 8
Joined: Wed Nov 10, 2021 12:02 pm

First run FAILED

Post by reklam »

Hello,

I downloaded and install on micro sd card, put in my RPi4b 8GB and start
After start ask me login
root
dietpi
after I got: [FAILED] DietPi-Login I Failed to load DietPi-Globals. Skipping DietPi login scripts...

What now? :?
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: First run FAILED

Post by MichaIng »

Please try to run the following commands and paste their output here:

Code: Select all

. /boot/dietpi/func/dietpi-globals
echo $?
Which image was it? ARMv6, ARMv7 or ARMv8?
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: First run FAILED

Post by Joulinar »

Probably as well to share following 2 files located in /var/tmp/dietpi/logs

Code: Select all

dietpi-firstboot.log
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
reklam
Posts: 8
Joined: Wed Nov 10, 2021 12:02 pm

Re: First run FAILED

Post by reklam »

Hi,
Yesterday I tried 4-5 times in a row to start this OS.
All the time got that failed message.
I put the sd card to my desk, and wait your answer.
Today I put back the card to the RPi, and started.
It started totaly different /I did not do anything with the card/
Yesterday ask me to login, but did not show what is default username and password.
I checked on internet with my phone.
Today it shows what is the default name and password, and after I type it not dropped that feiled message....
But after coming different and different error messages.
Most of them I can cancel it, or exit,
But firefox installation droped an error message, and did not let me to do anything.

I am installed ARM8 64bit, because I have RPi4b 8GB version.

This OS is extremly hard to install.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: First run FAILED

Post by Joulinar »

This OS is extremly hard to install.
Nope. the other way around. It's extrem easy.

There seems to be an issue with your install/SD card/image. Could you try to download a new image from our web site and flash it again. To reduce possible errors, try to use a default setup with limited amount of config changes done (during inital boot).

As well it would be highly appreciate if you could share your errors more in details. Best is always to share the entire error by simply copy them from SSH terminal.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
reklam
Posts: 8
Joined: Wed Nov 10, 2021 12:02 pm

Re: First run FAILED

Post by reklam »

Hi,

So, I downloaded AMR8 again, and make an sd card again.
First start I got FAIL agai
20211113_110832.jpg
20211113_110858.jpg
I did what you recomend
20211113_111106.jpg
and I do not have var folder, so those 2 files does not exist
here is the full files on the card
20211113_111343.jpg
After 2nd start I can go through, I choose xfce, but nothing, I got this, and nothing more:
20211113_114400.jpg
I think this OS is not to me
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: First run FAILED

Post by Joulinar »

In Windows you can see BootFS only. The RootFS is not visible as it's an ext4 Linux file system (not supported by Windows). There you would need another Linux box or VM to be able to access the RootFS. As an alternative you can copy files from the ext4 partition into the BootFS.

You installed xfce, did the installation completed? Usually at the end you should be ask if you like to set automatic start into Desktop mode.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
reklam
Posts: 8
Joined: Wed Nov 10, 2021 12:02 pm

Re: First run FAILED

Post by reklam »

That picture is not Windows, thet is Mac OS, so there is no other files.

Installed all, I chaneg Chrome, and xfce, because last time fifefox cannot install itself.
There was no question about Desktop mode.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: First run FAILED

Post by Joulinar »

I guess you changed desktop and browser preference only? This means no actual installation was triggered as this would be a preference. For install, go to dietpi-software, search for xfce and hit install.

Doesn't matter if Windows or Mac OS. Both can't read Linux file system ext4. Means you will not see the 2nd partition. This require additional software. But not sure what it would be on Mac OS
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: First run FAILED

Post by MichaIng »

On first attempt, the /boot partition was not mounted at boot for some reason. If this happens again, you can diagnose with those commands:

Code: Select all

journalctl -u boot.mount
fdisk -l /dev/mmcblk0
mount /boot
Post Reply