can't read/write to newly installed HDD

nss000

Distinguished
Apr 18, 2008
673
0
19,010
Gents:

WEhen I installed a new 1-T boot HDD in a systems build, I repurposed the removed 250G sata boot-drive to my legacy system mas the 3rd HDD. After install, I formatted and partitioned . Though I pushed-the-keys it is still strangely **owned** by root ... and like #2 HDD(owned by "me" somehow) in that system is manually mounted as needed.

Now I cannot read/write to that newly installed drive, though it appears in system tools to be functioning properly. To read/write I imagine I need to take ownership of that 3rd drive, but I have failed using the incantation:

sudo chown me /dev/sdc1

But that does nothing .... please advise

 
Solution
Apart from partitioning, you have to mount this drive somewhere on your file system. As root:
Code:
# mkdir /myolddrive
# mount /dev/sdc1 /myolddrive
# chown -R <yourusername>.<yourgroupname> /myolddrive

nss000

Distinguished
Apr 18, 2008
673
0
19,010
Yes I have done all that and it **fails**:

the HDD device is " /dev/sdc1" and mounted at: "/media/Third Volume"

chown: cannot access `/media/Third': No such file or directory
chown: cannot access `Volume': No such file or directory

My 2nd HDD is mounted at /media/Next Volume" and works-a-charm.



 

nss000

Distinguished
Apr 18, 2008
673
0
19,010
Yes I see, including the space was a terrible blunder (even tho it works by happenstance? for New Volume). The question now is: how do I **change** the name of the mount-point from:
/media/Third Volume ... to
/media/ThirdVolume ??

My disk-tools do not display an obvious remedy ... the task is never considered in the way of a string-change. I've GOOGLED ... and been unable to find addressed that issue of mount point name-change.

Nothing resides on that 3rd HDD except a lost/found fyle, so I **could** reformat and re-partition if that is the easiest way. Then I presume I get to rename the mount-point using a connected string. Do you think this is the best try?



 
If you are just mounting manually, simply unmount the drive with #umount /mnt/mountpoint
Then remove the created directory and make a new one with the correct path name.

If you are letting your file manager auto mount and you are having this issue you likely you need to rename your partition label. You can do this via software 'gparted'

Open gparted
unmount drive
right click on drive -> select 'label' option
 

nss000

Distinguished
Apr 18, 2008
673
0
19,010
BigS:

You have my brain boiling. I **cannot write-to**, but I can already mount/unmount the 3rd disk from DISK UTILITY or PLACES without issue. There exists **NO** directory on that 3rd HDD. The lost/found fyle automagically appeared after I re-formatted that old disk to reuse. It **used** to be the boot-disk for my new-built system, but got replaced by a 1-T.

All that may not be relevant, but I assure you I made no directory and placed no data on that newly reformated/partitioned disk. It simply came-up as /dev/sdc1 ... and got(?) a mount-point named as /media/Third Volume. I'm not sure whether it was cli FDISK alone that I used or that and Ubunty DISK UTILITY. After I wired up the hardware I knew I needed to whipe clean the disk, but Linux instructions never strike me as clear or unambiguous. Stuff got pretty confusing for me ... anyrate I hacked around till "sudo fdisk -l" and gui DISK UTILITY seemd to look like my working HDDs ... but no notion of-course whether the disk was writeable or not. It wasn't !

BTW: What does (the command?) **lable** do? I remember that term from the GUI tool.




 

nss000

Distinguished
Apr 18, 2008
673
0
19,010
Skittle & Alabalcho: thanks for your patience. Between advice from the two of you I can now access my 3rd hard-drive. I never knew that GPARTED allowed you to change the mount-point ... and I surely would never imagine that:

sudo chown -R me.me /media/ThirdVolume .....

...would change ownership of the HDD. You both deserve credit for my system working. But, I must pick one "solution" ... so ... I flipped a coin and Alabalcho won. Thanks again to both for your skill & patience.