Mounting partition

So I have DietPi booting up on a USB stick and it auto starts chromium, there is some local html files I want it to display. Thing is I want those html files on a fat32 partition so the USB drive can be accessed and modified with a windows computer.
I got a small Fat32 partition made, I can see it and mounted it while in dietpi-launcher, but when the device is rebooted that it auto starts chromium, it does not seem to have access to that partition any more.
is there a command I need to put in somewhere to mount the device on startup?

If the USB stick isn’t changed, then you could add that fat32 to /etc/fstab, it will mount on boot

Usually drive manager should add the drive to /etc/fstab using an automount option. Means, the drive should be mounted as soon as a process is going to access it. Can you share following

cat /etc/fstab
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
1 Like