LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-26-2019, 06:03 PM   #1
Pappasmurf2
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Rep: Reputation: Disabled
How do I mount a HDD through USB?


I have upgraded a friends Toshiba Satelite L300 laptop to SSD. How do I mount the old HDD via USB? So my friend can use it as storage.
Thank you in advance
Pappasmurf2

Thank you for your comments and I sorry for incomplete information.
The HDD is in a case and has been plugged in and has power (the light comes on). but it does not show up on the computer.
I have tried this line of code from the Command Line.

-f /var /log/messages -n 25
But still no joy.
Thanks again for your help so far.
appasmurf2

Last edited by Pappasmurf2; 10-01-2019 at 06:22 PM. Reason: Lack of information
 
Old 09-27-2019, 09:21 AM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
plug it in

not much else I can add
 
Old 09-27-2019, 09:24 AM   #3
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Hi. Welcome to lq.
You need a usb connected case to hold the hdd. They're very reasonable on Amazon or your local computer shop. When you plug it in, it should be automatically picked up by the system asking you what you want to do with it (mount it). Or you can create a folder and permanently mount it by adding it to /etc/fstab.
 
Old 09-28-2019, 03:04 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by petelq View Post
You need a usb connected case to hold the hdd.
A literal case isn't necessary. N82E16812119874 for US$10 on newegg.com is an example of what I mean, what looks like a mere cable with USB on one end and SATA connector on the other, but apparently has embedded electronics.
 
Old 09-28-2019, 03:50 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,160

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
And the quality varies enormously. For something like this I prefer to use a (solid) case. Worth the extra few bucks for the old data to be reliably available at call.
Been there, done (doing) it ...

Last edited by syg00; 09-28-2019 at 04:35 AM. Reason: typos
 
Old 09-28-2019, 04:19 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,534

Rep: Reputation: Disabled
A USB housing & cable is best for a bare drive, (with a SSD, you would only need an adapter cable).
 
Old 10-01-2019, 10:13 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,928
Blog Entries: 45

Rep: Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160
Member Response

Hi,

Quote:
Originally Posted by mrmazda View Post
A literal case isn't necessary. N82E16812119874 for US$10 on newegg.com is an example of what I mean, what looks like a mere cable with USB on one end and SATA connector on the other, but apparently has embedded electronics.
Yes this cable will work but only for 2.5" SATA drives;
Quote:
From specs at https://www.newegg.com/p/N82E16812119874

Note: Cable will work only with 2.5" SATA drives, 3.5" / 5.25" drives are not supported
EDIT: I prefer using a case to protect the active drive from any damage. Cost for case is not that much more than a $1.00/us; https://www.newegg.com/p/N82E1681718...-367-_-Product
Hope this helps.
Have fun & enjoy!

Last edited by onebuck; 10-01-2019 at 10:18 AM. Reason: add comment & link
 
Old 10-01-2019, 10:29 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Given the context of the OP, a case would not be necessary. OP uses a laptop, so his old HD to connect would be no larger than 2.5".

That said, I have lots of external cases, because far more 3.5" HDs than 2.5", e.g. https://www.newegg.com/p/N82E16817182247 of which I have about 5, because they are both USB, and more reliable and bus predictable, eSATA.
 
Old 10-02-2019, 03:28 PM   #9
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
I have tried this line of code from the Command Line.

-f /var /log/messages -n 25
But still no joy.
This isn't even a valid command. There is no program being called. Also there is a space between "/var /log/messages". I believe you are trying to do:

Code:
$ sudo tail -f /var/log/messages -n 25
However to detect a USB drive this is better.

Code:
$ ls -l  /dev/disk/by-id/usb-*
lrwxrwxrwx. 1 root root 9 Oct  2 16:14 /dev/disk/by-id/usb-Kingston_DT_Elite_3.0_00018F30C9F8AAC6020000180-0:0 -> ../../sdf
This is what I get when I have my Kingston flash drive inserted.
 
1 members found this post helpful.
Old 10-17-2019, 05:18 PM   #10
Pappasmurf2
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
How do I mount a HDD through USB

Quote:
Originally Posted by tofino_surfer View Post
This isn't even a valid command. There is no program being called. Also there is a space between "/var /log/messages". I believe you are trying to do:

Code:
$ sudo tail -f /var/log/messages -n 25
However to detect a USB drive this is better.
Code:
$ ls -l  /dev/disk/by-id/usb-*
Hi! I will use that thanks for your help.

This is the result
Code:
[sudo] password for peter:              
lrwxrwxrwx 1 root root 9 Oct 17 22:24 /dev/disk/by-id/usb-JMicron_Generic_0123456789ABCDEF-0:0 -> ../../sdb
 
  


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] Time taken to copy data from PC to External USB HDD and External USB HDD to PC will same? jegadezz Linux - Newbie 3 11-14-2017 09:22 AM
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 08:52 PM
new hdd, old mount needs to point to new hdd mount. phorning Linux - Newbie 3 06-14-2010 05:44 AM
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
usb 2.0 hdd working through usb 2.0 pcmcia card full speed in 2.4, but slow in 2.6 chilly_willy2 Linux - Hardware 11 02-02-2006 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:34 AM.

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