[Solved] Card size incorrect (500MB of 8GB)

Hello, I recently installed DietPi on a 1GB card, and I saw RootFS was too small (490MB) to install anything, so I installed it on a 8GB card.
Now, the date and time sync doesn’t work, and I have the same problem. RootFS is at 0MB, and I opened “df -h”, here’s the result :

Filesystem Size Used Avail Use% Mounted on
/dev/root 473M 462M 0 100% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 489M 0 489M 0% /dev/shm
tmpfs 489M 13M 476M 3% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 489M 0 489M 0% /sys/fs/cgroup
/dev/sda2 466G 110G 357G 24% /mnt/262847B128477EB5
tmpfs 20M 24K 20M 1% /var/log
tmpfs 488M 12K 488M 1% /tmp
tmpfs 10M 1.5M 8.6M 15% /DietPi
/dev/mmcblk0p1 42M 23M 19M 56% /boot

So I opened the partition manager on my computer, and it’s a 7.8G partition (rest is for the boot partition).
/dev/sda2 is my external HDD.
Can anyone help me on this? I also noticed my own computer is kinda slow (internet too) when the Pi is plugged to the Internet…
Thanks everyone

Please try the following:

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/rootfs/etc/systemd/system/dietpi-fs_partition_resize.service -O /etc/systemd/system/dietpi-fs_partition_resize.service
wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/rootfs/var/lib/dietpi/services/fs_partition_resize.sh -O /var/lib/dietpi/services/fs_partition_resize.sh
systemctl daemon-reload
systemctl enable dietpi-fs_partition_resize

There were at least a bug inside this for /dev/sdX devices, but maybe it solves your issue as well.

It was an improper setup, I flashed the image again and ran the setup for the real first time (didn’t really see it before).
Thanks for your help though !