Setting up a Mount drive

I am in the midst of a fresh install of UMate 19.10 on AMD64 system.

I created /boot (EFI) / and /home on a 512GB M.2 drive, all is well.

I created a 32GB /SWAP on a 1TB SSD, all is well.

I am trying to create a storage drive with the remainder of the 1TB SSD drive and I can't access it, even though I can see it in /mnt/storage (I created via terminal). I can't make a link to it, or have it show up as a separate drive space on Caja.

Since this is an Asus laptop, all updates, including BIOS and kernel have been done.

All help would be appreciated.

~Jackie

probably permissions ...
what does ls -l /mnt show? also df -h

The partition I am concerned about fixing would be

sda2

ls -l /mnt:

$ ls -l /mnt
total 12
drwxr-xr-x 2 root root 4096 Dec 2 15:03 sda
drwxr-xr-x 2 root root 4096 Dec 2 15:02 sda2
drwxr-xr-x 3 root root 4096 Dec 2 15:01 storage

df - h:

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.6M 1.6G 1% /run
/dev/nvme0n1p2 234G 8.4G 214G 4% /
tmpfs 7.8G 16M 7.8G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/loop1 16M 16M 0 100% /snap/ubuntu-mate-welcome/420
/dev/loop0 128K 128K 0 100% /snap/software-boutique/39
/dev/loop2 90M 90M 0 100% /snap/core/8039
/dev/loop3 90M 90M 0 100% /snap/core/7917
/dev/nvme0n1p3 234G 406M 222G 1% /home
/dev/nvme0n1p1 476M 7.8M 468M 2% /boot/efi
/dev/sda2 887G 77M 842G 1% /storage
tmpfs 1.6G 60K 1.6G 1% /run/user/1000

the mount point is /storage not /mnt/storage
you may have to change the permissions to 777 for all to rw in there.

From caja, navigate to the File system, you should see /storage

We see it in Caja/File System!

In terminal we ran cd /storage and sudo chmod -R -v 777 *

result:

mode of 'lost+found' changed from 0700 (rwx------) to 0777 (rwxrwxrwx)

sudo chmod 777 /storage ... that makes /storage rwx for everyone
if the owner is root you may have to change to your username,
sudo chown jackie.jackie /storage

either from caja or from terminal can you write into that dir?
eg. touch /storage/foo (does it create a file called foo? can you edit the file?)

Sadly that failed:

$ touch /storage/foo
touch: cannot touch '/storage/foo': Permission denied
prysma@Hex:~$ cd /storage
prysma@Hex:/storage$ mkdir foo
mkdir: cannot create directory ‘foo’: Permission denied

ls -l /storage will show owner and permissions. Let's see ...

prysma@Hex:/storage$ ls -l /storage
total 16
drwxrwxrwx 2 root root 16384 Dec 2 15:01 lost+found

the mount point is /storage (and since it is ext4 there is a default lost+found dir).
you need to create a data dir in there which will have all your data.

cd /storage
sudo mkdir data
sudo chmod 777 data
cd /storage/data
touch boo

That worked great!

Is there anyway to add it to the sidebar on Caja for easier access than through file system?

you navigate with caja and add bookmark.

fantastic! thank you soo much for your patience. Since I do a lot of Twitch gaming my system is Windows based, so I am a bit rusty, but I think we are up and going!

no worries, enjoy Linux!

If you dual-boot and want to have super-easy access to your "big five" directories (Videos, Pictures, Documents, Music and Downloads) then you can use ln to symbolically link the directories from your Microsoft user account into your Linux user account. Ideally you would mount your Windows partition, then sign out, sign in via TTY (Ctrl + Alt + Fx; Fx being F1-F6, and may require holding down the Fn key depending on your keyboard and / or BIOS settings) and using rm -rf to delete your default directories, to then replace with links.

After you can Ctrl + Alt + F7 to return at your X session, sign in and enjoy not juggling two separate sets of directories for your common files. (They even preserve their default icons!)

Now, should you reinstall and keep your home directory, you'll probably need to use XDG utils to re-assign your common directories so their icons are restored, but eventually you will persevere.

I published this, expressly for making the above more understandable: https://ubuntu-mate.community/t/20737