# SATA HAT Top board installation on DietPi

**URL:** <https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268>\
**Category:** Troubleshooting\
**Created:** [3 February 2022 11:23 UTC](https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268 "2022-02-03T11:23:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![420](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/4/7ab992/32.png) [@420](https://dietpi.com/forum/u/420)\
**Post date:** [3 February 2022 11:23 UTC](https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268/1 "2022-02-03T11:23:17Z")

</div>

Hi

I’m trying to install the SATA HAT Top board on DietPi.  
I’m using a Raspberry Pi 4 B.  
I’m following the instructions on the Radxa Wiki ( [https://wiki.radxa.com/Dual\_Quad\_SATA\_HAT](https://wiki.radxa.com/Dual_Quad_SATA_HAT) )  
When executing the provided command ( curl -sL [https://rock.sh/get-rockpi-sata](https://rock.sh/get-rockpi-sata) | sudo -E bash - ), I get:  
\*\*\* The script is not available on your system  
\*\*\* Please visit [https://rock.sh/rockpi-sata](https://rock.sh/rockpi-sata) to download and install manually.  
So I manually downloaded the install.sh, ran ( sudo chmod +x install.sh ), then ( ./install.sh ).  
I get the same output as before.  
I tried installing python first, same result.  
Approximately a year ago, I successfully installed it on DietPi and under Respberry OS it also works.

I really want to use DietPi since it outperformes all other OS’s.  
But I also want to use the top board. Otherwise it would be useless and I hate useless stuff.

Please help me!

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [3 February 2022 13:32 UTC](https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268/2 "2022-02-03T13:32:39Z")

</div>

I had a look into the script and it is expecting a OS called raspbian. Could you share following

```nohighlight
cat /etc/os-release | grep ^ID= | sed -e 's/ID\=//g'

```

I guess it will return debian 😉

Why? Because, since Bullseye our ARMv7 + ARMv8 images are based on Debian package repository. Pure Raspbian image would be the ARMv6 one [https://dietpi.com/#downloadinfo](https://dietpi.com/#downloadinfo)

Anyway, the script is doing nothing else than downloading another script based on OS type. You could try it manually.

```nohighlight
curl -sL https://s3.setq.io/rockpi/sh/quad-sata/raspbian.sh | sudo -E bash -

```

---

<div class="post-metadata">

**Author:** ![420](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/4/7ab992/32.png) [@420](https://dietpi.com/forum/u/420)\
**Post date:** [4 February 2022 14:22 UTC](https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268/3 "2022-02-04T14:22:54Z")

</div>

Thank you!!

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [4 February 2022 14:27 UTC](https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268/4 "2022-02-04T14:27:12Z")

</div>

was this working?

---

<div class="post-metadata">

**Author:** ![makmax](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@makmax](https://dietpi.com/forum/u/makmax)\
**Post date:** [29 December 2022 09:26 UTC](https://dietpi.com/forum/t/sata-hat-top-board-installation-on-dietpi/6268/5 "2022-12-29T09:26:21Z")

</div>

I try this workaround that working for me:

1. install manually apt install python3-rpi.gpio python3-setuptools python3-pip python3-pil python3-spidev pigpio python3-pigpio
2. download script [https://s3.setq.io/rockpi/sh/quad-sata/raspbian.sh](https://s3.setq.io/rockpi/sh/quad-sata/raspbian.sh) to /root/tmp
3. make it executable (chmod +x /root/tmp/raspbian.sh)
4. launch it ./raspbian.sh  
SATA QUAD “Lords” could improve their scripts !!!
