Not sure what you mean? #!/bin/dash
is the shebang, or use #!/bin/bash
if you require bash features/syntax. It must be contained in Automation_Custom_PreScript.sh
, otherwise it fails to execute (like every script). The script is executed as root user at a very early boot stage (only) on the very first boot of the DietPi system, so you can use it to mount drives, or do whatever is required to install your kernel module and network settings.
Hello
Good job. I also have a surface RT , what’s the experience with dietpi? I also want to try, at present i am using Raspbian on it. If you can please guide about the process.
Thanks
Hi
Could you explain how did you succeded installing DietPi on Surface RT.
Tried using script with Putty SSH from my laptop, but after removing desktop environment (on surface) the terminal windows (on laptop) freezes and i loose connection.
I can’t see anything on screen and don’t now if script is continuing.
I succeded installing raspbian bulleyes and ubuntu server on internal emmc but DietPi no success.
Thank you explaining step by step how you did it please.
Regards
i have got dietpi to run on a surfacert. here is the steps i took
i downloaded dietpi for raspberry pi 2
surfacert kernal is from surfxpert on github
along with debs for bookworm armhf from debian site
iw
libdbus
libnl-route
libpcsclite1
wireless-regb
wpasupplicant
i have put all the debs in a folder in boot. cmd cd to boot/debs dir, dpkg -i * to install all debs
i have copied the wifi settings from interfaces conf to mlan0 under interfaces.d
wifi.txt i put my wifi details
if i can make a iso of my work i will. i have added xfce desktop on dietpi.
i hope this will help some one.
it works well but can take a 20mins or more to load. out of it i would say it faster touch but website loading for me was slow. but is was booting of flashdrive. i would say you would get more by making a custom raspberrypi os that boots the surface kernal ootb. good luck