In my doc, I reference Gedit and vi. I will add xed as well. Thanks.
Hi!
The link ChuckPA posted above no longer works but I messaged him and he shared the new link. We wanted to make sure that it was posted here for anyone else who follows the forums to this thread. Hereâs the current link with the HDD info:
To update all who read.
Nautilus / Gnome now take exclusive claim to /media.
In the updated tips, I use a non-conflicting name.
Provided you use the same steps, you may choose any name you want.
Iâve read for an hour on this topic in various places and it seems that the subject is ridiculously complex with large numbers of people, including me, very confused about it. I have an external usb drive that I want Plex to be able to see. Is there any easy way to do this? If there is no simple way I think I will give up rather than spend another hour or two on it. Be before doing that I thought Iâd toss this out there in case there is way way with less pain and trouble.
It says: âThe directory `/disksâ has been chosen because Gnome âNautilusâ and Ubuntu (in general) claim exclusive access to anything found in /media. This prevents conflicts with those desktop components.â
My external usb reads as: /media/james/TOSHIBA EXT/
But I donât know where the âmediaâ label came from. I did not use that when formatting, nor do I see a way to change if if that is needed.
Gnomeâs Nautilus (File manager) created it automatically when it first ran.
It automatically mounts newly found media (TOSHIBA EXT â which is its label) under /media/your_username/LABEL
Manually unmount the drive and then follow the procedure.
If you leave it under /media/your-username plex will NEVER see it.
I chose the name /disks as a reference (I believe i stated that).
You are free to use any name of your choosing as long as it doesnât collide with an existing system reserved directory name.
How do I rename the drive? When I unmounted I did not see any name change options. Also, I donât think I have Nautilus. It says âThunarâ is the file manager.
Also I just installed Nautilus.
Thunar is the label. There are tons of ways to change a partitionâs label.
When properly mounted via /etc/fstab, the label is never seen. This is another reason to mount it using the recommended manner.
I tried unmounting and mounting in Nautilus but in both states the option to ârenameâ is grayed out. So how do you rename it in steps please.
thanks,
James
Itâs grayed out because you are not root
Google will show you the different ways you can change the label
So I logged on as root but when unmounting the drive it disappears and so the rename can not be done that way.
You do it at the command line via tunefs
I tried:
sudo e2label /dev/sde1 Data
but the drive is half NTFS and half EXT4 and so I got:
Bad magic number in super-block while trying to open /dev/sde1
/dev/sde1 contains a ntfs file system labelled âTOSHIBA EXTâ
EXT partitions are relabeled using sudo tune2fs -L label-name /dev/sdxx
NTFS volumes will require the ntfs-progs package and then use of the tool for ntfs which is similar.
I tried using your suggestion as:
sudo tune2fs -L data /dev/sde1
and again got
tune2fs: Bad magic number in super-block while trying to open /dev/sde1
/dev/sde1 contains a ntfs file system labelled âTOSHIBA EXTâ
Usage: ntfslabel [options] device [label]
-n, --no-action Do not write to disk
-f, --force Use less caution
--new-serial Set a new serial number
--new-half-serial Set a partial new serial number
-q, --quiet Less output
-v, --verbose More output
-V, --version Display version information
-h, --help Display this help
Developers' email address: ntfs-3g-devel@lists.sf.net
News, support and information: http://tuxera.com
[chuck@lizum ~.128]$
I just logged in to say a huge thankyou to you ChuckPA!!
My QNAP server has gone down but I have been able to setup PMS on a SFF Lenovo box I have using Linux Mint and my external USB backup HDD. Your instructions worked perfectly for accessing it.
Many Thanks
Phil