LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-18-2017, 06:41 AM   #1
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Rep: Reputation: Disabled
How to mount external usb2.0 HD 2TB to Slackware


I tried to do fdisk -l command but it just freez....
Here is the result:

Code:
bash-4.2# sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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: 0xf82d9516

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000    7  HPFS/NTFS/exFAT
/dev/sda2         1026048   746364927   372669440    7  HPFS/NTFS/exFAT
/dev/sda3      3475765248  4294965247   409600000    7  HPFS/NTFS/exFAT
/dev/sda4       746364928  3475765247  1364700160   83  Linux

Partition table entries are not in disk order
Anyone know what is a porblem?
 
Old 01-18-2017, 06:49 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Please tell us what Slackware version you are using. In Slackware 14.2 fdisk does support GPT.

Incidentally, in Slackware usage of su is recommended rather than sudo.

And it is rather unusual that an external disk be named /dev/sda.

Please provide output of this command with the external disk plugged-in:
Code:
lsblk -o name,size,fstype,mountpoint
Anyway the warnings should not prevent you to mount one of the partitions in /dev/sda as root.

Last edited by Didier Spaier; 01-18-2017 at 06:53 AM.
 
Old 01-18-2017, 07:00 AM   #3
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
I am using 14.1 version of Slackware

Quote:
Originally Posted by Didier Spaier View Post
Please provide output of this command with the external disk plugged-in:
Code:
lsblk -o name,size,fstype,mountpoint
I don't get anything in return it just freez...

Last edited by vforv; 01-18-2017 at 07:04 AM.
 
Old 01-18-2017, 07:06 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
I don't understand. What terminal did you use? How did you start it?

Anyway try just "lsblk"

In Slackware 14.1 if your disk is GPT formatted use gdisk instead of fdisk.

Last edited by Didier Spaier; 01-18-2017 at 07:07 AM.
 
Old 01-18-2017, 07:09 AM   #5
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Didier Spaier View Post
And it is rather unusual that an external disk be named /dev/sda.
I don't think OP is suggesting /dev/sda is external disk. It appears fdisk -l isn't listing his USB disk at all.

OP: I had trouble with my USB 3.0 ports until I updated UEFI. Are you plugging your disk into a USB 3.0 port? Another suggestion: do you have a supplementary power cable for this disk?
 
Old 01-18-2017, 07:12 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by gezley View Post
I don't think OP is suggesting /dev/sda is external disk. It appears fdisk -l isn't listing his USB disk at all.
Then that would explain the warning and confirm that gdisk should be used instead of fdisk.

Last edited by Didier Spaier; 01-18-2017 at 07:16 AM.
 
Old 01-18-2017, 07:20 AM   #7
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Could you explain me what command to type for gdisk?

I am using usb 3.0...

It looks like system recognize HD but cannot mount it...

Code:
bash-4.2# ls /dev/ | grep sd
sda
sda1
sda2
sda3
sda4
sdb
sdb1
sdb5
I get this additional 3 when I plug HD in...
Code:
sdb
sdb1
sdb5
 
Old 01-18-2017, 07:26 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by vforv View Post
Could you explain me what command to type for gdisk?
Type:
Code:
su
gdisk -l
Of course your external disk should be first plugged in.
 
Old 01-18-2017, 07:34 AM   #9
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Type:
Code:
su
gdisk -l
Of course your external disk should be first plugged in.
I get error:

Code:
bash-4.2# gdisk -l
GPT fdisk (gdisk) version 0.8.7

Problem opening -l for reading! Error is 2.
The specified file does not exist!
 
Old 01-18-2017, 07:37 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Sorry, I meant:
Code:
su
gdisk -l /dev/sdb
Also, "man gdisk" would have told you that (that's how I founs it as I don't use gdisk often).
 
Old 01-18-2017, 07:40 AM   #11
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Aha okay, thanks.

But it still same just freez and don't list anything....
 
Old 01-18-2017, 07:45 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by vforv View Post
But it still same just freez and don't list anything....
I don't understand. What did you do exactly? Which terminal did you use?
 
Old 01-18-2017, 07:48 AM   #13
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
I don't understand. What did you do exactly? Which terminal did you use?
I am using slackware terminal....

here is the result:

Code:
bash-4.2# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.7
And it stay just like it...
 
Old 01-18-2017, 08:49 AM   #14
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Can you pull the SMART info from the drive?
Code:
# smartctl -a /dev/sdb
 
Old 01-18-2017, 08:54 AM   #15
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Skaendo View Post
Can you pull the SMART info from the drive?
Code:
# smartctl -a /dev/sdb
Here is the result:

Code:
bash-4.2# smartctl -a /dev/sdb
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.10.17] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/sdb: Unknown USB bridge [0x04e8:0x6031 (0x205)]
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't mount Western Digital Elements 2TB external hard drive ChiVampir Linux - Hardware 10 07-22-2018 08:37 AM
[SOLVED] How to foramt 2TB external hard drive gonny95 Linux - Newbie 1 01-02-2015 05:41 AM
3TB external drive inaccessible (recognized as only 2TB) MacSvensson Linux - Hardware 3 09-11-2014 03:07 PM
New Seagate External 2TB Drive Issues xmrkite Linux - Hardware 7 11-27-2011 09:54 PM
WD 2tb external drive tescky Linux - Newbie 1 10-06-2008 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration