Cannot unmount external drive in ubuntu
I am not too sure where to put this topic so I put it here (I am not new to linux). But I cannot unmount both of my external drive's partitions.
I get this error: Unmount: Only root can unmount UUID-600f9328-964d-46a4-8313-968055b3e925 from /media/Secondary umount: only root can unmount UUID: only root can unmount UUID=5F535D9D4725F721 from /media/disk-1 I have already tried sudo chmod 777 /dev/sdb here is all the info that I think you need: Code:
Disk /dev/sda: 40.0 GB, 40007761920 bytes Here is my fstab Code:
# /etc/fstab: static file system information. |
It's not very clear from your post exactly what kind of setup you actually want here, but if you want a regular user to be able to mount and unmount a drive, you need to add the "user" option to the fstab entry.
But for removable drives, it's usually recommended not to use fstab, and instead use whatever hotplugging system your distro has set up. |
Thats the thing, I dont know what it is.
Edit: If fixed it. I had something called disk manager installed. In uninstalled it. Looked in media under root and found .python-created-fstab. I deleted that and m-tab. Then I went in and found fstab. Removed the entries for my external drive. # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 #Entry for /dev/sda5 : UUID=436d9d53-3386-4a33-bb8d-d757ee2bd198 / ext3 relatime,errors=remount-ro 0 1 #Entry for /dev/sda6 : UUID=a920ff4e-07be-41ee-a147-155dc3a0b56e /home ext3 relatime 0 2 #Entry for /dev/sda7 : UUID=44eb7562-8c3a-4b6a-8857-617184731296 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 that fixed everything. You saying something about fstab gave me a clue as to what was going on. Thanks |
All times are GMT -5. The time now is 04:50 PM. |