LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux Mint 18 Sarah does not automount devices (https://www.linuxquestions.org/questions/linux-software-2/linux-mint-18-sarah-does-not-automount-devices-4175583604/)

jojopara 07-02-2016 09:44 AM

Linux Mint 18 Sarah does not automount devices
 
Hello,

The new Mint Cinnamon 18 Sarah does not automount my USB devices as well as the other partition of my HDD which is known in WiIndows as D:\

I went back to Rosa. I shall experiment on a bootable USB if you can help me.

Strange! gparted from the Linux Mint 18 Sarah USB reports the unmountable devices (2 TB) as ZFS, while Linux Mint 17.3 Rosa sees them as NTFS (they have been formatted as such). Perhaps this is a bug...
I also noticed that my disks which are not automounted are labelled as geek1. This label appeared on the USB flash drive made bootable by Unetbootin.
In Mint 1`7, gparted correctly assigns the file system and the label.

Keruskerfuerst 07-04-2016 09:00 AM

What does Gparted report as filesystem?

jojopara 07-12-2016 07:20 AM

Quote:

Originally Posted by Keruskerfuerst (Post 5570234)
What does Gparted report as filesystem?

As NTFS which it is.

jojopara 08-02-2016 02:46 PM

Still no solution?

I hope the developers read this.

It this matters, the devices are Transcend StoreJet 2 TB.

frankbell 08-02-2016 04:12 PM

No answers, but some questions whose answers may help move this along:

What is the output of fdisk -l as regards that partition?

Is the partition in /etc/fstab, as it is not a removable device?

Is ntfs-3g installed?

syg00 08-02-2016 10:11 PM

Quote:

Originally Posted by jojopara (Post 5584842)
I hope the developers read this.

I suspect the devs have more than enough to keep them busy.
They have a bug tracker - if you feel you have a legitimate problem, search there and if not already reported, open a bug against Mint. They'll decide if:
a) it's legitimate, and
b) it needs to go upstream.

FWIW I just did an upgrade (using the tool) to Mint 18 and to test this for you, I plugged in a USB hard-drive with VFAT, EXT3 and NTFS partitions. All mounted automatically.

jojopara 08-03-2016 01:20 AM

frankbell, here is the output of fdisk -l:



Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 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
Disk identifier: 0x000bbe29

Device Boot Start End Blocks Id System
/dev/sda1 1945333760 1953523711 4094976 82 Linux swap / Solaris
/dev/sda2 251904000 1945333687 846714844 7 HPFS/NTFS/exFAT
/dev/sda3 * 2048 81921969 40959961 83 Linux
/dev/sda4 81922048 251903999 84990976 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 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
Disk identifier: 0x0006c14b

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1953519615 976758784 b W95 FAT32

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 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
Disk identifier: 0x46815e56

Device Boot Start End Blocks Id System
/dev/sdc1 * 64 3907024063 1953512000 7 HPFS/NTFS/exFAT

Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 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
Disk identifier: 0xd8499378

Device Boot Start End Blocks Id System
/dev/sdd1 * 64 3907024063 1953512000 7 HPFS/NTFS/exFAT

Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 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
Disk identifier: 0xfdee0e8e

Device Boot Start End Blocks Id System
/dev/sde1 2048 3866023935 1933010944 7 HPFS/NTFS/exFAT





Strange though it may seem, I have no fstab; instead I have an empty fstab.d directory. cd /etc/fstab
bash: cd: /etc/fstab: Not a directory


I did not know what ntfs-3g was until your post, so I suppose I do not have it installed.


sygOO, I have Mint 18 on a virtual machine and try hopefully to see if the disks are mounted - no luck.

jojopara 08-03-2016 02:14 AM

Disregard the previous post - it was hurriedly made from Mint 17.3.

sudo fdisk -l
[sudo] password for george:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/sda: 12 GiB, 12884901888 bytes, 25165824 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: 0x3a2477c6

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 23068671 23066624 11G 83 Linux
/dev/sda2 23070718 25163775 2093058 1022M 5 Extended
/dev/sda5 23070720 25163775 2093056 1022M 82 Linux swap / Solaris


Contents of 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/sda1 during installation
UUID=d76ad13f-f5a5-4ec1-9b07-ceb496dcf2f4 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=3b17f50b-9ba7-4f79-9bf2-a75f014043cd none swap sw 0 0

syg00 08-03-2016 07:53 AM

Sounds like you should open a bug.

Try this, and post the files monitor.txt and dmesg.txt.
From Mint 18, open a terminal and enter this - you'll need to enter your password for sudo (it'll seem to be hung, don't worry)
Code:

sudo udevadm monitor > monitor.txt
Then plug the USB device in. Wait 90 seconds then go back to the terminal and hit Ctrl-C (both keys together). Then enter this in the terminal
Code:

dmesg | tail -n 25 > dmesg.txt
Post the files.

jojopara 08-03-2016 12:24 PM

[ 915.348905] sd 36:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 915.352440] sd 36:0:0:0: [sdb] Write Protect is off
[ 915.352446] sd 36:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 915.355904] sd 36:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 915.750124] sdb: sdb1
[ 915.763437] sd 36:0:0:0: [sdb] Attached SCSI disk
[ 1089.407012] usb 1-1: USB disconnect, device number 5
[ 1089.408963] sd 36:0:0:0: [sdb] Synchronizing SCSI cache
[ 1089.409011] sd 36:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 1175.423818] usb 1-1: new high-speed USB device number 6 using ehci-pci
[ 1175.802776] usb 1-1: New USB device found, idVendor=174c, idProduct=5106
[ 1175.802791] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 1175.802794] usb 1-1: Product: StoreJet Transcend
[ 1175.802796] usb 1-1: Manufacturer: StoreJet Transcend
[ 1175.802798] usb 1-1: SerialNumber: WD-WX21E9437TW3
[ 1175.806260] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 1175.809215] scsi host37: usb-storage 1-1:1.0
[ 1176.810240] scsi 37:0:0:0: Direct-Access StoreJet Transcend 0 PQ: 0 ANSI: 6
[ 1176.814423] sd 37:0:0:0: Attached scsi generic sg2 type 0
[ 1176.816455] sd 37:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 1176.820153] sd 37:0:0:0: [sdb] Write Protect is off
[ 1176.820158] sd 37:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1176.823523] sd 37:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1177.215120] sdb: sdb1
[ 1177.232462] sd 37:0:0:0: [sdb] Attached SCSI disk

frankbell 08-04-2016 09:24 PM

Quote:

/dev/sda2 251904000 1945333687 846714844 7 HPFS/NTFS/exFAT
I believe this is likely your Windows partition. You verify that by creating a mount point and mounting the partition, as root, like this:

Code:

mkdir /mnt/sda2          <---You can name the mountpoint anything you wish.  I've just gotten into the habit of using the partition designation for the mount point.
mount /dev/sda2 /mnt/sda2
ls /mnt/sda2

If ls returns output indicating that this is indeed the Windows partition, you can add it to your /etc/fstab. Here's a good guide as to how to add a partition to /etc/fstab using the UUID.

http://www.cyberciti.biz/faq/linux-f...-update-fstab/\

Note that ntfs-3g must be installed for Linux to read NTFS partitions. I think Mint includes it by default, but I'm not certain.

Also, you should probably read this: http://www.howtogeek.com/236807/how-...rive-on-linux/

Just a hint: Please you "code" tags to set off terminal output; it makes the terminal output much easier to read. Code tags become available when you click the "Go Advanced" button at the bottom of the "compose post" window.

jojopara 08-27-2016 02:23 AM

I have found a solution.

I have formatted the external USB devices under Windows as NTFS and then under Linux with gparted in NTFS.


All times are GMT -5. The time now is 08:02 PM.