This is my uname -a output
Linux Ultron-Debian 4.17.0-0.bpo.1-amd64 #1 SMP Debian 4.17.8-1~bpo9+1 (2018-07-23) x86_64 GNU/Linux
Normally I just log in open up Dolphin, click on the drives I want to mount put in my root password and bam, drives mounted. Easy as pie.
Well today i get this when I try to follow that procedure:
I click on a drive named External and instead of getting a prompt for root password I get:
An error occurred while accessing 'Home', the system responded: An unspecified error has occurred: Not authorized to perform operation
The Device notifier pops up and says
External: you are not authorized to mount this deice
So I run fdisk -l
Code: Select all
root@Ultron-Debian:/home# fdisk -l
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0dda3196
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1953523711 1953521664 931.5G 83 Linux
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5A6729BA-D7BC-49AA-807D-9FF479262EF7
Device Start End Sectors Size Type
/dev/sdb1 2048 3907028991 3907026944 1.8T Microsoft basic data
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x5862e111
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 976769023 976766976 465.8G 7 HPFS/NTFS/exFAT
/dev/sdc2 976771072 1953521663 976750592 465.8G 7 HPFS/NTFS/exFAT
Disk /dev/sdd: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B810EE75-02D8-481F-99AC-E69F6A256A75
Device Start End Sectors Size Type
/dev/sdd1 2048 1023999 1021952 499M Windows recovery environment
/dev/sdd2 1024000 1228799 204800 100M EFI System
/dev/sdd3 1228800 1261567 32768 16M Microsoft reserved
/dev/sdd4 1261568 468860927 467599360 223G Microsoft basic data
Disk /dev/sdf: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe7f9ab74
Device Boot Start End Sectors Size Id Type
/dev/sdf1 2048 976773119 976771072 465.8G 83 Linux
Disk /dev/sde: 14.9 GiB, 16000221184 bytes, 31250432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0011bcf4
Device Boot Start End Sectors Size Id Type
/dev/sde1 * 2048 31250431 31248384 14.9G c W95 FAT32 (LBA)
Disk /dev/sdg: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaf549c15
Device Boot Start End Sectors Size Id Type
/dev/sdg1 * 2048 184315903 184313856 87.9G 83 Linux
/dev/sdg2 184317950 234440703 50122754 23.9G 5 Extended
/dev/sdg5 184317952 234440703 50122752 23.9G 82 Linux swap / Solaris
Disk /dev/sdh: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x95b1beae
So I think no problemo, I will just mount the drive to /media/doctordoom/External
So I make an directory named External under /media/doctordoom/
Code: Select all
doctordoom@Ultron-Debian:/$ cd /media/doctordoom
doctordoom@Ultron-Debian:/media/doctordoom$ ls
External
Then I go to the terminal and run
Code: Select all
doctordoom@Ultron-Debian:~$ sudo mount /dev/sdf /media/doctordoom/External
mount: mount /dev/sdf on /media/doctordoom/External failed: Bad address
only references to CIFS and NAS shares, nope this is an External USB Drive
I did find an obscure reference to an empty line in fstab that could cause an issue like this, but the error is invalid paramter. So I figure what the heck I will check it
Code: Select all
doctordoom@Ultron-Debian:~$ 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/sdg1 during installation
UUID=599c1b4d-02f9-4530-bde2-e262fd261aba / ext4 errors=remount-ro 0 1
# swap was on /dev/sdg5 during installation
UUID=3d9bd1d3-4cee-4cb3-b637-bd2183a775f8 none swap sw 0 0
UUID=e1e09d13-a7ad-4ce4-ba27-f271b1c749b9 /home/doctordoom ext4 defaults 0 2
doctordoom@Ultron-Debian:~$
So finally as a last hoorah I try mounting it as root
Code: Select all
root@Ultron-Debian:/# mount /dev/sdf /home/doctordoom/External
mount: mount /dev/sdf on /home/doctordoom/External failed: Bad address
root@Ultron-Debian:/#