Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Internal SATA mount bay 1 (4 replies)

$
0
0
Hi,
today I'm fighting with samba :)

The first point is indeed to mount my HDD that was already mounted with the stock system.

After some study I found this command to work:

mount -o rw,loop,offset=$((2048*512)) /dev/sda2 /srv/nsa325/

The point is that in no way I could manage to automount it at the system boot.

I tried to put the command in rc.local but is does not work
I tried to make a script and call the script in rc.local but ... as above
I tried in fstab but either I could not find the right string or it is not working.

I am sure someone more has already solved this :)

Viewing all articles
Browse latest Browse all 3247

Trending Articles