I’ve got a 2nd harddrive on my system and would like to store folders and files to it. I ran ‘Timeshift’ and it created a folder to this 2nd drive (sdb1). I can manually mount and unmount this drive in ‘Dolphin’. I don’t have root permissions (user/group) so I cannot write to the drive. I ran lsblk in ‘konsole’ and it shows sdb1 with a mountpoint (part/run/media/richardc/70c30133-d018-40f7-9dc6-7c490863a5f6). what needs to be changed in etc/fstab to allow me permissions to read and write. Why can’t this be done in ‘KDE’ system settings under ‘storage devices’? I got lost reading someones ‘easy’ tutorial on changing fstab setting on external and internal additional drives. Any help would be appreciated.
[richardc@richard-AM3 ~]$ lsblk -o name,type,fstype,size,mountpoint,uuid
NAME TYPE FSTYPE SIZE MOUNTPOINT UUID
sda disk 2.7T
├─sda1 part ext4 512M b57be985-9b48-4a59-9f25-6c2387f1dc56
├─sda2 part 8M
├─sda3 part ext4 2.7T / 0a86fcbb-2b2a-4c41-b908-a44e66422799
└─sda4 part swap 20.6G [SWAP] 1733d10d-17ef-4cc2-b111-cbfcbeee9ea7
sdb disk 931.5G
└─sdb1 part ext4 931.5G /run/media/richardc/70c301 70c30133-d018-40f7-9dc6-7c490863a5f6
sr0 rom 1024M
sr1 rom 1024M
[richardc@richard-AM3 ~]$
I decided to reformat my 2nd drive to ntfs which now allows me to read and write and transfer folders from my primary ext4 drive, by entering my ‘root’ password to just mount it in ‘dolphin’. Much simpler than going through mental coding gyrations and lengthy reading narratives on how to accomplish what I wanted to do without attempting to become an expert on this subject. Thanks for the pointers.
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
...
UUID=70c30133-d018-40f7-9dc6-7c490863a5f6 /media/storagedisk ext4 defaults 0 0
...
It’s better to learn this stuff rather than try to use the same approaches as Windows - Linux provides full control over everything, but that requires some learning to make it work the way you want.
It’s better to learn this stuff rather than try to use the same approaches as Windows - Linux provides full control over everything, but that requires some learning to make it work the way you want.
I’m here because of Windows and that was 30 years ago. I’ve been through at least a dozen different distro’s. . . i.e. (I’m a ordinary user and not a software programming specialist or electrical engineer.)
Your response above is to the point. I will go back and give is a whirl. Thanks for your digested information. Time is of the essence when it comes to things that matter most to you and you want to get things done quickly with little hassle. Once again thanks for your tutorial. It’s short and sweet.
Great. . . . used the UUID for the formatted drive in fstab, along with the other parameters and then typed in the 4 lines above with sudo making the directory and changing the ownership of the USER and voila. . . .it’s works. Johnathan’s post did the trick for me. The drive is now ext4 working and allowing reading and writing to. I truly appreciate the response that was short and sweet. Thankyou for your patience and responses.
Please go to @jonathon 's post; then click on the three horizontal dots at the bottom of that post.
Should see the “Solution” icon. Click on that and this topic will be marked as closed with the solution post attached to the Original Post for other’s with this problem.