sudo chmod 777 /media/ "name"/ "name" did not work

Asked by Bob

What I have done so far.
 Used GParted to delete everything on the 2ed hard drive. made a partition ext4. now even though it's a 2TB hard drive it shows me there is 2.73 TB ??
I don't understand why it shows that but.
I found out I could not go over the 2TB limit for the partition to take hold. So I keep it just under 2TB.
 Then went to change the permissions so I could read and Write on it, using the sudo chmod 777 / "name' /label I gave it
and nothing happened.

I can also hear it clicking away in there like it's doing something and my open system monitor on my top bar is showing it is all green to the top. I went into files right clicked it and unmounted it. no need for all that it's doing till I get some info.

Now even though I set the partition under 2TB the properties of it show I have 2.1TB free and Total capacity is reading 2.2 TB. Augh, sliding math not cool.

I think I may have two problems here but I think they are hand in hand.
Is being over the 2TB limit making it click away in there and blocking the sudo chmod 777 ??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bob
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you make the drive use a GPT file system instead of MBR then you can go over 2Tb. 2Tb is the maximum size of an MBR disk.

What is the output of:

sudo f disk -l; mount; lsb_release -a; uname -a

Thanks

Revision history for this message
Bob (smith13) said :
#2

how do I get it to use GPT?

Also, I think you should know Right now I'm running at 32bit. but plan to do a fresh install for 64 bit once I get all my files moved.

here is the readout

rjsmith@rjsmith-desktop:~$ sudo f disk -l; mount; lsb_release -a; uname -a
[sudo] password for rjsmith:
sudo: f: command not found
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1764088k,nr_inodes=205293,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=355936k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=355936k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdb1 on /media/rjsmith/RJS2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Linux rjsmith-desktop 3.13.0-98-generic #145-Ubuntu SMP Sat Oct 8 20:13:07 UTC 2016 i686 athlon i686 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You'd need to remove the partition, set it to GPT and then repartition it.

This shows how. Make sure you manipulate the right disk or you could lose data
https://askubuntu.com/questions/586439/create-guid-partition-table-gpt-during-ubuntu-server-install

You can do all this in a terminal as the disk you are manipulating isn't the system disk

Revision history for this message
Bob (smith13) said :
#4

OK that a lot of work and I really don't like messing with the BIOS. I have a lot to learn about it before I go messing with it. better safe than sorry.

what I did it repartitioned it to get it just under 2tb. then found this.
sudo chown $USER:$USER /media/<username>/<mountpoint>

I think I used this before on my main computer but was thinking it was ( sudo chmod 777 /media) and I mixed them up. my bad.
It gave me access to read and write on the 2ed drive and all is quiet and system monitor is looking smooth.
all is good, time to do the fresh install. Yeah! :)

Thank you.