LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2017, 09:11 AM   #1
mani01
LQ Newbie
 
Registered: Jun 2017
Posts: 1

Rep: Reputation: Disabled
Post Mount of external hdd on a linux operating system


am trying to mount an external hdd on an existing linux operating system.
i have already attached the hdd on the machine but can not
successfully mount it
 
Old 06-29-2017, 11:58 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,353
Blog Entries: 13

Rep: Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411
Hi mani01 and welcome to LQ.

It will help to know your level of experience with Linux, drives under Linux, and the command line.

First: What Linux distribution and version do you have?
Second: What are the system specifications for your computer?
Third: This external hdd is a magnetic drive? solid state drive? other type? Is it attached over USB?
Fourth: What do you know about this drive? Is it a Windows drive? A brand new drive? Or something else?

What are you trying now? Are you examining the drives found using the command line? Have you checked the system log to see how it gets detected when you plug it in?

What parts of these questions are blocking you where you need more information?

Some general mount information:
  • Typically Linux distributions can support automatic mounting, but there are many varieties which will not. Further, if the drive has no file system at all, then it will not be mounted
  • The mount command, as done using the command line, also known as the terminal, requires root privileges. Typically users use the sudo command modifier to make that happen.
  • The type of file system is important to know to aid the mount command with it's actions, such as ext2, ext4, fat32, or other type.
  • The discovered drive letter is also important. For instance, Linux typically assigns resources under the /dev file system and hard drives it usually makes them /dev/sd<letter> where the letter starts with a and continues to z. I myself do not now what comes beyond z, if that's ever needed and probably have only ever seen enough complexity to go as high as maybe /dev/sdh
Giving us some more information and helping us understand your experience level will be helpful.
 
Old 06-29-2017, 02:51 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,229
Blog Entries: 4

Rep: Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260
Look at your system logs (e.g. /var/log/syslog to see if, upon inserting the drive, the computer subsequently recognized that a new drive has been added. (You might see a device such as /dev/sdb.

Next, what disk format does this drive use? Microsoft FAT? Microsoft NTFS? Some Apple format? Linux? Your machine might need some driver.

Furthermore, /etc/fstab might need an entry which identifies the hardware device, the type of filesystem, and the location where the disk should be mounted, and whether-or-not it should be auto-mounted at startup. (See man fstab.)
 
Old 06-29-2017, 06:03 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
The drive might be mounted already. Run the command "mount". That shows you all your mounted drives. Look down toward the end for /dev/sdb or /dev/sdb1 mounted somewhere in the /media directory.

Otherwise,


Try this:
Code:
$ ls /dev/sd*
to see the drives on the system. The internal drive should be /dev/sda. The external drive should be /dev/sdb. There might be some entries like /dev/sdb1. If there is, try from a terminal
Code:
$ sudo mount /dev/sdb1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Started installing Linux on External HDD by Accident, Now Won't Mount Methodminus Linux - Hardware 7 01-04-2012 09:06 PM
Installing a Linux operating system USB external texas.chef94 Linux - Laptop and Netbook 1 09-20-2009 03:13 PM
Creat boot disk from operating system on hdd. okos Linux - General 6 09-11-2009 03:46 PM
Auto Mount Of External USB Hdd on Red Hat Linux 4.6 bishnu101 Linux - Desktop 1 07-29-2009 04:12 AM
USB2.0 external HDD, operating slow deadeyes Linux - Hardware 6 03-12-2007 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 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