I am new to Linux. I'm trying to set up a Plex server on a Rasberry Pi 4. (Also new to Pi). I have the server created on Pi and have attached an external harddrive with movies to the Pi unit. In the Pi file manager the hard drive shows up on /media/pi/easystore with all the movies in it. However Plex does not recognize the content.
Checking on the web I found the article 'Using EXT, NTFS, or other format drives (internal or external) on Linux. I am working my way through it, but have hit a snag.
Per sections A & B I have identified the following:
disk to be added is /dev/sda1 = media/pi/easystore.
Block ID is /dev/sda1: LABEL="EASYSTORE" UUID="0E8A79768A795AE3" TYPE="ntfs" PTTYPE="atari" PARTLABEL="easystore" PARTUUID="96679758-b2c9-4156-9879-62299f4c7786"
Section C of the article is entitled 'Create The Locations Where We Will Graft Everything into Linux.' The instructions say you need to replace the username "Chuck" with your actual Linux username in the code. Then it shows the command "chown -R chuck:chuck /disks". I am unable to duplicate this step and am unsure what I am doing wrong. The whoami command lists my Linix username as "pi". However Substituting pi for chuck in the code example (chown - R pii /disks) returns "cannot access '/disks': no such file or directory exists".
There is no directory named disks under the pi directory so that makes sense I guess. Section C of the article says the Media directory is used by the OS, so I created a directory named disks on the root drive. If I run 'ls -l' it shows up - 'drwxr-xr-x 2 pi pi 4096 Nov 18 06:12 disks'
Can someone explain to me what I am doing wrong at this step? I have replaced "Chuck" in that command with different variations of both 'pi' and 'easystore' without success.
One other noob question. The command 'sudo sh' takes you to a '#' prompt. What command returns you to the normal command line? I haven't figured that out and keep closing and reopening the command prompt screen to get out of it.
Thanks for your help!
Kevin
Checking on the web I found the article 'Using EXT, NTFS, or other format drives (internal or external) on Linux. I am working my way through it, but have hit a snag.
Per sections A & B I have identified the following:
disk to be added is /dev/sda1 = media/pi/easystore.
Block ID is /dev/sda1: LABEL="EASYSTORE" UUID="0E8A79768A795AE3" TYPE="ntfs" PTTYPE="atari" PARTLABEL="easystore" PARTUUID="96679758-b2c9-4156-9879-62299f4c7786"
Section C of the article is entitled 'Create The Locations Where We Will Graft Everything into Linux.' The instructions say you need to replace the username "Chuck" with your actual Linux username in the code. Then it shows the command "chown -R chuck:chuck /disks". I am unable to duplicate this step and am unsure what I am doing wrong. The whoami command lists my Linix username as "pi". However Substituting pi for chuck in the code example (chown - R pii /disks) returns "cannot access '/disks': no such file or directory exists".
There is no directory named disks under the pi directory so that makes sense I guess. Section C of the article says the Media directory is used by the OS, so I created a directory named disks on the root drive. If I run 'ls -l' it shows up - 'drwxr-xr-x 2 pi pi 4096 Nov 18 06:12 disks'
Can someone explain to me what I am doing wrong at this step? I have replaced "Chuck" in that command with different variations of both 'pi' and 'easystore' without success.
One other noob question. The command 'sudo sh' takes you to a '#' prompt. What command returns you to the normal command line? I haven't figured that out and keep closing and reopening the command prompt screen to get out of it.
Thanks for your help!
Kevin