Page 1 of 1

[SOLVED][SORTOF]External usb drive will not mount.

PostPosted: Nov 21st, '17, 23:10
by pedro
I love my newly installed Mageia 6! It Rocks!

I have a problem with my external hard drive though. I get the message "Unable to mount" in KDE.
Its the: Bus 001 Device 007: ID 04e8:61b6 Samsung Electronics Co., Ltd M3 Portable Hard Drive 1TB

I have executed some commands that I found in the forum, and pasted below. I hope it helps.


Code: Select all
$ lsusb
Bus 004 Device 004: ID 17ef:1003 Lenovo Integrated Smart Card Reader
Bus 004 Device 003: ID 0bdb:1911 Ericsson Business Mobile Networks BV
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 062a:410c Creative Labs
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 04f2:b221 Chicony Electronics Co., Ltd integrated camera
Bus 001 Device 007: ID 04e8:61b6 Samsung Electronics Co., Ltd M3 Portable Hard Drive 1TB
Bus 001 Device 005: ID 17ef:100a Lenovo ThinkPad Mini Dock Plus Series 3
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Code: Select all
$ fdisk -l
Disk /dev/sdb: 931,5 GiB, 1000204886016 byte, 1953525168 sektorer
Enheter: sektorer av 1 * 512 = 512 byte
Sektorstorlek (logisk/fysisk): 512 byte / 4096 byte
I/O-storlek (minsta/optimal): 4096 byte / 33553920 byte
Disketikettstyp: dos
Diskidentifierare: 0x3469d5df

Enhet      Start Början     Slutet   Sektorer Storlek Id Typ
/dev/sdb1  *         64 1953520064 1953520001  931,5G  7 HPFS/NTFS/exFAT


Code: Select all
 # dmesg | tail -n 20
[   24.967608] Bluetooth: RFCOMM socket layer initialized
[   24.967613] Bluetooth: RFCOMM ver 1.11
[   30.627356] random: crng init done
[  154.913479] usb 1-1.5.5: new high-speed USB device number 7 using ehci-pci
[  155.085683] usb 1-1.5.5: New USB device found, idVendor=04e8, idProduct=61b6
[  155.085686] usb 1-1.5.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  155.085687] usb 1-1.5.5: Product: Samsung M3 Portable
[  155.085688] usb 1-1.5.5: Manufacturer: Samsung M3 Portable
[  155.085689] usb 1-1.5.5: SerialNumber: 923D7DF8050000CF
[  155.097078] usbcore: registered new interface driver usb-storage
[  155.099312] scsi host6: uas
[  155.100055] scsi 6:0:0:0: Direct-Access     Samsung  M3 Portable      1306 PQ: 0 ANSI: 6
[  157.653684] usbcore: registered new interface driver uas
[  157.660033] sd 6:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[  157.660039] sd 6:0:0:0: [sdb] 4096-byte physical blocks
[  157.661272] sd 6:0:0:0: [sdb] Write Protect is off
[  157.661280] sd 6:0:0:0: [sdb] Mode Sense: 53 00 00 08
[  157.661917] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  157.674430]  sdb: sdb1
[  157.676768] sd 6:0:0:0: [sdb] Attached SCSI disk


Code: Select all
$ journalctl -af
nov 21 22:01:02 localhost org_kde_powerdevil[3192]: "/org/freedesktop/UDisks2/drives/ST1000LM025_HN_M101ABB_G2653G941BZ0S7" has new interfaces: ("org.freedesktop.UDisks2.Drive", "org.freedesktop.UDisks2.Drive.Ata")
nov 21 22:01:02 localhost krunner[3183]: "/org/freedesktop/UDisks2/drives/ST1000LM025_HN_M101ABB_G2653G941BZ0S7" has new interfaces: ("org.freedesktop.UDisks2.Drive", "org.freedesktop.UDisks2.Drive.Ata")
nov 21 22:01:02 localhost kdeinit5[3109]: "/org/freedesktop/UDisks2/drives/ST1000LM025_HN_M101ABB_G2653G941BZ0S7" has new interfaces: ("org.freedesktop.UDisks2.Drive", "org.freedesktop.UDisks2.Drive.Ata")
nov 21 22:01:02 localhost plasmashell[3185]: "/org/freedesktop/UDisks2/drives/ST1000LM025_HN_M101ABB_G2653G941BZ0S7" has new interfaces: ("org.freedesktop.UDisks2.Drive", "org.freedesktop.UDisks2.Drive.Ata")
nov 21 22:01:02 localhost krunner[3183]: "/org/freedesktop/UDisks2/block_devices/sdb" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
nov 21 22:01:02 localhost org_kde_powerdevil[3192]: "/org/freedesktop/UDisks2/block_devices/sdb" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
nov 21 22:01:02 localhost kdeinit5[3109]: QObject::connect: invalid null parameter
nov 21 22:01:02 localhost kdeinit5[3109]: "/org/freedesktop/UDisks2/block_devices/sdb" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
nov 21 22:01:02 localhost kdeinit5[3109]: QObject::connect: invalid null parameter
nov 21 22:01:02 localhost plasmashell[3185]: "/org/freedesktop/UDisks2/block_devices/sdb" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
nov 21 22:01:02 localhost krunner[3183]: "/org/freedesktop/UDisks2/block_devices/sdb1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
nov 21 22:01:02 localhost org_kde_powerdevil[3192]: "/org/freedesktop/UDisks2/block_devices/sdb1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
nov 21 22:01:02 localhost kdeinit5[3109]: "/org/freedesktop/UDisks2/block_devices/sdb1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
nov 21 22:01:02 localhost plasmashell[3185]: "/org/freedesktop/UDisks2/block_devices/sdb1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
nov 21 22:01:02 localhost kdeinit5[3109]: QObject::connect: invalid null parameter



And a image from MCC hardware configuration:
Image

Re: External usb drive will not boot

PostPosted: Nov 22nd, '17, 11:35
by wintpe
I have one of these drives, the 2 gig version, works fine. But as i dont use, and will never use later versions of windows i formatted it as ntfs

yours is formatted with extfat and as a result i think you might not have

fuse-exfat-1.2.6-1.mga6.tainted or later installed, which is required to mount it.

alternatively if your only using it in linux, repartition and format as a linux file system,
or as a ntfs old version file system, or vfat, so it works in windows XP as well.

the choice is yours and is about how portable you want it to be.


regards peter

Re: External usb drive will not boot

PostPosted: Nov 22nd, '17, 13:48
by doktor5000
Just for clarification, the topic says "will not boot" but your actual questions seems only about mounting it in the running system, correct?

Apart from what Peter already mentioned, you may want to take a look at viewtopic.php?f=41&t=9835

Re: External usb drive will not boot

PostPosted: Nov 22nd, '17, 14:08
by pedro
doktor5000 wrote:Just for clarification, the topic says "will not boot" but your actual questions seems only about mounting it in the running system, correct?

Apart from what Peter already mentioned, you may want to take a look at viewtopic.php?f=41&t=9835


Yes, I mean mount.Edited it :)

Re: External usb drive will not boot

PostPosted: Nov 22nd, '17, 14:14
by pedro
wintpe wrote:I have one of these drives, the 2 gig version, works fine. But as i dont use, and will never use later versions of windows i formatted it as ntfs

yours is formatted with extfat and as a result i think you might not have

fuse-exfat-1.2.6-1.mga6.tainted or later installed, which is required to mount it.

alternatively if your only using it in linux, repartition and format as a linux file system,
or as a ntfs old version file system, or vfat, so it works in windows XP as well.

the choice is yours and is about how portable you want it to be.


regards peter


I tried installing fuse-exfat-1.2.6-1.mga6.tainted as you sugested but no luck.
Yes, I will repartition it, Im done with Windows :). What file system do you recomend?

I have a few files on the drive I want to keep though :) Maybe I can upload them to Nextcloud from a windows system, then format the drive and copy the files back. Would be much easyer if it would mount.

Re: External usb drive will not mount.

PostPosted: Nov 22nd, '17, 16:14
by wintpe
the choise is yours, its only 1TB so you can use vfat if you want, but ext4 also works well.

hint , dont use MCC

instead use CLI, as root

fdisk -l

identify the disk, and be 100% sure as this action will wipe your OS disk if you get it wrong.

fdisk /dev/sdX

X being the device that the usb disk has been identified as

p

will show you whats on the disk

d
select the old partition to delete

n
CR
CR
will accept defaults and put a label on it.

w will write the change out

partprobe will re-read the partition change.

mkfs.ext4 /dev/sdX1 -L MYDATADISK

or any suitable label.

when you are fininshed it should show up in dolphin, as MYDATADISK

click it and it will prompt for root password and then mount.

once mounted run

df -k

it will be mounted under /MEDIA/username/MYDATADISK i think from memory or something like that

then to make it writable

chmod 777 /media/username/MYDATADISK


thats how i do it.

its not the only way to do this, your mileage will vary according to what is simpler for you.

regards peter

Re: External usb drive will not mount.

PostPosted: Nov 22nd, '17, 17:17
by pedro
Thank you for your input!
Why not use MCC?

Re: External usb drive will not mount.

PostPosted: Nov 23rd, '17, 12:42
by wintpe
you can use whatever you feel safe with.

why do i not use mcc

because im a unix sysadmin/engineer and i dont use gui's unless absolutely necessary, its a poor practice
that leads you to being stuck when the gui is not available, as it is not in 99% of what i do.

regards peter