UPDATE: Raspberry Pi install problem, all ARM Spins. initial-setup does not work

I am following these instructions to install the XFCE 43 Spin on a Raspberry Pi 4.

Procedure for Linux Users

Procedure for First Boot

I believe there is a conflict or gap in information between these two instructions.

The procedure for Linux Users provides the following command:

$ xzcat Fedora-IMAGE-NAME.aarch64.raw.xz | sudo dd status=progress bs=4M of=/dev/XXX

I have downloaded the RAW file and installed using this command. During boot, I end at a login screen.

How do I login without knowing the default username and password?

If a default username and password is not present, then how do I use this RAW installation?

With Raspbian it’s pi and raspberry
With Fedora XFCE I can’t find it.

On the wiki it says there should be an installer wizard. Architectures/ARM/Raspberry Pi - Fedora Project Wiki

Says the same in the doc you linked.

Where did you get your image from? Maybe another image will have the install wizard?

I suspect there is something missing (user account) with the XFCE 43 Spin or a gap of information in the instructions.

Here is the link to the raw.xz download.

1 Like

The way I would try is getting an iso from a mirror AARNet Mirror

And using ARM Media Writer Installing a Pi with ARM Media Writer

I think you are right, there is a gap in the instructions.
It assumes you will get to the ‘wizard’. Maybe the ARM Media Writer leads to the ‘wizard’, but clearly the dd copying to your sd does not.

The method you are suggesting required that I have a PC using Fedora, but I am using Linux Mint on my PC. Therefore, I am following the Linux instructions.

Is that any help?

Thank you for your reply. I saw that post before stating this thread. The post you reference does not align with the instructions. I have now created an issue for the documentation team.

There is no default username or login, you have to p[lug a keyboard and monitor in. initial-setup will be running for you to configure the first user and/or set roots password. if you only have a serial console, you should use the minimal disk image

Thank you for your reply. There was not an initial configuration setup, just a login screen. I am using a keyboard and monitor.

If what you are describing is the design intent, then there is a problem with the raw.xz image.

what login screen did you get?

Does Fedora have any equivalent of what the Debian-based Raspberry Pi OS does to enable pure headless setup? There you can drop a userconf.txt file into the boot partition of the SD card to make a user account available for an SSH-based setup.

I am getting the normal login screen that a user would see after boot.

This Pi is not connected to a network, so SSH will not work.

how are you connecting to the rpi? serial port or HDMI?

I am using HDMI.

It seems that the default user is “pi” and password “raspberry” for the standard OS.

Maybe it is the same for linux?

Truls

Thank you for the reply, but it appears there is not a default username or password.

It appears that an initial-setup script is designed to run on boot for setting-up a username and password, but the script is not getting triggered.

1 Like

So a bug in the iso, not the docs.
Try an older version?

I get the same result with XFCE 43 and XFCE 42.

If inspect the SD card with the PC that I am using to install the image, I can see an initial-setup script, but it is not being triggered on boot.

Maybe the Package Team can help?

I use the aarch64 raw image (workstation) and use the arm-image-installer to write the raw image to the sd card. (The same would work for writing to a usb device for booting from usb on the rpi.).

On first boot it enters a setup screen where you can create your user.

I think the image installer may do some tricks to enable the initial setup during the installation but have never tried an install with a different method such as you use so cannot speak to the differences. The boot loader should trigger that script on first boot.

In fact I just tested with an f43 workstation image and the initial boot did perform the initial startup setup for me.
You said you are using XFCE so there could be an issue there, but workstation does what is expected.