Install Debian 12 on Dell Wyse 3040 Thin-Client
This guide will walk you through the process of installing Debian 12, ensuring a reliable and flexible operating system for your projects.
Download Debian 12
Download the latest Debian 12 image for your Dell Wyse 3040 Thin Client from the official Debian website.
Create a Bootable USB Drive
Create a bootable USB drive using the downloaded Debian 12 image. You can use
tools like Rufus on Windows or dd
on Linux/Mac to write
the image to the USB drive.
Using dd on Linux/Mac
- Identify the USB drive using
lsblk
ordiskutil list
. - Unmount the USB drive with
umount /dev/sdX
ordiskutil unmountDisk /dev/diskX
. - Write the Debian 12 image to the USB drive using
dd
. Replace/dev/sdX
or/dev/diskX
with your USB drive identifier. - Eject the USB drive with
eject /dev/sdX
ordiskutil eject /dev/diskX
on Mac.
BIOS/UEFI Settings to Boot from USB Drive
Before installing Debian 12 on your Dell Wyse 3040 Thin Client, you need to change the BIOS/UEFI settings to boot from the USB drive.
- Insert the bootable USB drive into your Dell Wyse 3040 Thin Client.
- Power on your Dell Wyse 3040 Thin Client.
- Press the
F2
key repeatedly during boot to enter the BIOS/UEFI settings. - Navigate to the
General > Boot Sequence
tab using the arrow keys. - Enable the USB Storage Boot option. (In my case, it was
UEFI: SanDisk Cruzer Micro 8.02, Partition 1
.) - Change the boot order to prioritize the USB drive.
- Click
Apply
andExit
to save the changes and reboot.
Boot from USB Drive and Install Debian 12
- Your Dell Wyse 3040 Thin Client should now boot from the USB drive.
- Choose the
Graphical Install
option to start the Debian 12 installation process with a graphical interface. - Choose your preferred language, location, and keyboard layout.
- Enter the hostname for your Dell Wyse 3040 Thin Client. (In my case, I used
dell-mainsail
.) - Enter the domain name if required. (You can leave it blank if not needed.)
- Set the root password for your Dell Wyse 3040 Thin Client.
- Create a new user account for your Dell Wyse 3040 Thin Client and type in the
friendly name for the user. (In my case, I created a user named
klipper
.) - Set the username for the new user account. (Just press
Enter
to use the same username as the friendly name.) - Set the password for the new user account.
- The next step is the Disk partitioning. This will be a little bit tricky
because of the limited internal storage of the Dell Wyse 3040 Thin Client.
In the first step, you need to choose
Guided - use entire disk
for a simple pre partitioning setup. - Select the disk to partition. (In my case, it was
MMC/SD Card #1 (mmcblk0) - 7.8 GB MMC H8G4A?
.) - Choose the partitioning scheme. (I selected
All files in one partition (recommended for new users)
for simplicity.) - Now, you will see a summary of the disk partitioning. Here we need to make
some changes to optimize the storage usage. Select the
ESP
partition and pressEnter
. - Delete the
ESP
partition by selectingDelete the partition
and thenDelete
. - Repeat the same process for all other partitions, until you have only free space left.
- Select the free space and press
Enter
, then chooseCreate a new partition
to create a new partition. - Choose the partition size for the first partition. Here we will create a
small partition for the boot files. I choose
100M
for the boot partition. - In the next step, choose the partition location. Select
Beginning
to create the partition at the beginning of the free space. - Now you have to set the first partition. This will be the boot partition.
Use the following settings:
- Name: EFI
- Use as: EFI System Partition
- Bootable flag: on
After setting the partition, press
Done setting up the partition
.
- Now, you will see the new partition created. Select the free space again
and create a new partition for the root filesystem. Choose
Create a new partition
and set the partition size. I used the remaining space for the root partition. Then you should see a summary of the disk partitioning for the root partition. - At least, select
Done setting up the partition
to finish the disk partitioning. If it looks like the following image, you can continue with the installation with theFinish partitioning and write changes to disk
. - In the next step, you will get a warning, that you have not created a swap
partition. You can select
No
to continue without a swap partition. - Confirm the changes to write the partitioning to the disk.
- After the partitioning is completed, the installation of the base system will start. At some point, you will be asked to configure the package manager location. Choose your preferred Debian archive mirror.
- In the next step, you can choose the Debian archive mirror itself.
- The last step to configure the package manager is to set the HTTP proxy information. You can leave it blank if you don't use a proxy.
- Configure the popularity-contest package if you want to participate in the
Debian user experience improvement program. (I chose
No
.) - Choose the software to install. I deselected all options except for the
SSH server
andstandard system utilities
. - The installation of the base system will continue. After the installation is
complete, you will see this Display.
IMPORTANT: Do not reboot your system yet. You need to install the bootloader manually. - To install the bootloader, click on
Go Back
, then selectExecute a shell
and clickContinue
. - Before you see the shell, you will see this dialog. Click
Continue
to proceed. - The shell will open. Type the following commands to check the disk name to mount the EFI partition.
- With a last click on
Continue
, the installation will be completed. Now you the system will reboot. - Remove the USB drive from your Dell Wyse 3040 Thin Client.
- During the boot up, you should hit
F2
again to enter the BIOS/UEFI settings and change the boot order to boot from the internal storage. - Enter the BIOS/UEFI settings and navigate to the
General > Boot Sequence
tab. Enable the Boot Sequencedebian
and change the boot order to prioritize it to the top. - Save the changes with
Apply
andExit
to reboot your Dell Wyse 3040 Thin Client. - Debian 12 should now boot from the internal storage of your Dell Wyse 3040 Thin Client and you should see the console login screen.
- Congratulations! You have successfully installed Debian 12 on your Dell Wyse 3040 Thin Client.
Additional Steps
After installing Debian 12 on your Dell Wyse 3040 Thin Client, you can further customize the system to suit your needs. Here are some additional steps you can take:
Install sudo and Add User to sudo Group
- Log in to your Dell Wyse 3040 Thin Client with the root account you created during the installation.
- Install the
sudo
package using the following command: - Add your user account to the
sudo
group to grant administrative privileges:bash usermod -aG sudo your_username
After completing these steps, you can log in with your user account via SSH and
perform administrative tasks using sudo
.
Reduce Boot Time with changing wait time in GRUB
Open the /etc/default/grub
file with a text editor and change the
GRUB_TIMEOUT
value to 1
. This will reduce the boot time significantly.
Change the following line:
toSave the file and update the GRUB configuration with the following command:
Fix issue with reboot and shutdown
The Dell Wyse 3040 Thin Client has an issue with HSUART DMA, which can cause
problems during reboot and shutdown. To fix this issue, you have to add some
lines to /etc/modprobe.d/blacklist.conf
. To do this, open the file with a text
editor:
Ctrl + S
and exit the editor with Ctrl + X
.
To apply the changes, you have to execute the following command:
Now you can shut down and reboot the system without any issues. To test the changes, you can execute the following command:
after the system is powered off, you can start it again with a press on the power button.