Hi,
I have a banana pi and want to use it as server (for things such as git and owncloud). I installed owncloud and it runs fine.
All data should be stored on an external usb stick (ext4), which is mounted at /mnt/data. I used the command
$this->bbcode_second_pass_code('', 'mount /dev/sda /mnt/data')
and that worked just fine. Now I want the usb-stick to be mounted at boot. So i tried to add a fstab entry:
$this->bbcode_second_pass_code('', '/dev/sda /mnt/data ext4 defaults 0 0')
But on reboot, it started directly into the emergency mode. After removing the fstab entry, I was able to reboot normaly again.
I also tried some other fstab-options, but I wasnt able to mount the usb correctly. I also tried the UUID in fstab...
What am I doing wrong? I also was not able to figure out, what exactly went wrong. Is there a way to see the boot-errors?