mounting and using an external drive....Solved

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

mounting and using an external drive....Solved

Post by dkwflight »

Hi The last post gave good directions. Thanks all for the assist.

I have a Segate desk 1 tb external drive.
I accidentally started to install mint on it.
It was totally formatted and erased.

Now I used GPARTED to install a partition starting with FAT32 and then EXT4 on advice.

I now can find the drive on the desktop and in the system list.

I find I cannot use it because the messages say you do not have authority to change any thing the drive is "Red only" and I have not found any way to change it.
I have a very knowledgeable friend in Ireland but long distance we cannot seem to find a way to access the drive.

Any help would be appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
eppoh

Re: mounting and using an external drive

Post by eppoh »

Going from memory here, but have you tried right clicking on the drive icon>properties>permissions, and seeing that users can read and write?
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

Re: mounting and using an external drive

Post by dkwflight »

Hi
Thanks for your interest.

Yes I did many times.
The permissions show ROOT as the owner. but never a window for a password.
Messages like "You are not the owner"

The boot up diagnostics show the drive has no problems.
Buzzsaw
Level 6
Level 6
Posts: 1318
Joined: Sat Aug 23, 2014 12:53 pm

Re: mounting and using an external drive

Post by Buzzsaw »

Determine the volume's mount point, e.g. '/media/dkwflight/drive' using this command:

Code: Select all

lsblk
Then change the owner of the volume using this command:

Code: Select all

sudo chown $USER:$USER /media/dkwflight/drive
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

Re: mounting and using an external drive

Post by dkwflight »

Hi
I tried the commands using the correct name and it did not work.
I still do not own the drive.
Buzzsaw
Level 6
Level 6
Posts: 1318
Joined: Sat Aug 23, 2014 12:53 pm

Re: mounting and using an external drive

Post by Buzzsaw »

dkwflight wrote:Hi
I tried the commands using the correct name and it did not work.
I still do not own the drive.
What was the output of the second command?

What is the output now of:

Code: Select all

stat /path/to/mountpoint
?
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

Re: mounting and using an external drive

Post by dkwflight »

did not succeed.
I must have not done something right.
I will try again later.

Thanks
Dennis
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: mounting and using an external drive

Post by altair4 »

dkwflight wrote:Now I used GPARTED to install a partition starting with FAT32 and then EXT4 on advice.
2 partitions - one FAT32 and another EXT4? Or you created 1 FAT32 partition and then reformatted to EXT4?
I find I cannot use it because the messages say you do not have authority to change any thing the drive is "Red only" and I have not found any way to change it.
Where is the drive mounted? What is it's mount point?
If you don't know then with the drive inserted post the output of this command:

Code: Select all

mount
You also might want to post the output of these commands as well just so everyone who responds to this posts has as much information as possible:

Code: Select all

sudo blkid -c /dev/null

Code: Select all

cat /etc/fstab
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

Re: mounting and using an external drive

Post by dkwflight »

dennis@dennis-KJ396AA-ABA-m8457c ~ $ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=dennis)
/dev/sdf1 on /media/dennis/usb type ext4 (rw,nosuid,nodev,uhelper=udisks2)
dennis@dennis-KJ396AA-ABA-m8457c ~ $ sudo blkid -c /dev/null
[sudo] password for dennis:
/dev/sda1: UUID="c6f6ee3b-f815-43fb-a044-1d7f055242f8" TYPE="ext4"
/dev/sda5: UUID="388bb0ee-18b6-41b3-af8e-50208035c1a2" TYPE="swap"
Hi
results
/dev/sdf1: LABEL="usb" UUID="6bf055c7-0ff4-45a5-b170-6e12fc8bcba3" TYPE="ext4"
dennis@dennis-KJ396AA-ABA-m8457c ~ $ cat /etc/fstab
# /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>
# / was on /dev/sde1 during installation
UUID=c6f6ee3b-f815-43fb-a044-1d7f055242f8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sde5 during installation
UUID=388bb0ee-18b6-41b3-af8e-50208035c1a2 none swap sw 0 0

When I right click on the usb drive I get the usual window from "Permissions"
But then it says when I try to set share permissions , It say you cannot , you do not own the usb drive.

Thanks for your help
Dennis.
dennis@dennis-KJ396AA-ABA-m8457c ~ $
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

Re: mounting and using an external drive

Post by dkwflight »

dennis@dennis-KJ396AA-ABA-m8457c ~ $ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=dennis)
/dev/sdf1 on /media/dennis/usb type ext4 (rw,nosuid,nodev,uhelper=udisks2)
dennis@dennis-KJ396AA-ABA-m8457c ~ $ sudo blkid -c /dev/null
[sudo] password for dennis:
/dev/sda1: UUID="c6f6ee3b-f815-43fb-a044-1d7f055242f8" TYPE="ext4"
/dev/sda5: UUID="388bb0ee-18b6-41b3-af8e-50208035c1a2" TYPE="swap"
Hi
results
/dev/sdf1: LABEL="usb" UUID="6bf055c7-0ff4-45a5-b170-6e12fc8bcba3" TYPE="ext4"
dennis@dennis-KJ396AA-ABA-m8457c ~ $ cat /etc/fstab
# /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>
# / was on /dev/sde1 during installation
UUID=c6f6ee3b-f815-43fb-a044-1d7f055242f8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sde5 during installation
UUID=388bb0ee-18b6-41b3-af8e-50208035c1a2 none swap sw 0 0

When I right click on the usb drive I get the usual window from "Permissions"
But then it says when I try to set share permissions , It say you cannot , you do not own the usb drive.

Thanks for your help
Dennis.
dennis@dennis-KJ396AA-ABA-m8457c ~ $
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: mounting and using an external drive

Post by altair4 »

/dev/sdf1: LABEL="usb" UUID="6bf055c7-0ff4-45a5-b170-6e12fc8bcba3" TYPE="ext4"
/dev/sdf1 on /media/dennis/usb type ext4 (rw,nosuid,nodev,uhelper=udisks2)
Seems to me Buzzsaw pretty much nailed it. If you want it specific to your device:

Code: Select all

sudo chown dennis:dennis /media/dennis/usb
Or you can invoke nemo ( I am assuming you are using Cinnamon ) as root:

Code: Select all

gksu nemo /media/dennis
Then Right Click the "usb" folder > Permissions and change it that way.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
dkwflight
Level 2
Level 2
Posts: 72
Joined: Fri Aug 30, 2013 3:09 pm

Re: mounting and using an external drive

Post by dkwflight »

Hi
A red bad saying elevated permissions showed up.
I right clicked on USB and added permissions a nd set up share..

This seems to be the job done.
dennis@dennis-KJ396AA-ABA-m8457c ~ $ sudo chown dennis:dennis /media/dennis/usb
[sudo] password for dennis:
dennis@dennis-KJ396AA-ABA-m8457c ~ $ gksu nemo /media/dennis


I will now reboot and check again

Thanks
Locked

Return to “Hardware Support”