LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-22-2009, 01:37 AM   #1
shiv_sms
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Unhappy mount external USB hard disk


i work on fc8 machine

my system has a hdd which has only one partition and is allocated with sda2.

sda1 is taken by /boot partition

now i want to mount a external usb harddisk. how do i do that?

the external usb hard disk has 2 partitions.

so how do i mount this device. ?
 
Old 01-22-2009, 02:36 AM   #2
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
if you boot the box with the USB drive conected it may get mounted by the sys.

if not do parted then print all to see how it's recognized IE sda3 and 4 mabey? if you dont have parted do fdisk -l ( that's L lower case) to see. (PS you type quit to get out of parted)

SO lets say it's seen as sda3 and sda4 then do mkdir /mnt/sda3 ; mkdir /mnt/sda4 then if thay were say ext3 partitions do mount -t ext3 /dev/sda3 /mnt/sda3 ; mount -t ext3 /dev/sda4 /mnt/sda4

you mite not half to do the -t ext3 part but it dosent hurt to be safe if thar NTFS then put NTFS-3g in place of ext3 so on so on for whatever file system type. all must be done as root however you get it sudo su or just sudo or su and password.

Last edited by vinnywrite; 01-22-2009 at 02:40 AM.
 
Old 01-22-2009, 02:37 AM   #3
r1d3r
Member
 
Registered: May 2008
Location: Glendale, CA
Distribution: ubuntu 12.04
Posts: 146

Rep: Reputation: 22
AFAIK, Fedora should automount it for you,
but if doesn't, run this as root:

Code:
mount /dev/sdb1 /mnt/mydisk
note that you have to first create the mount directory (in this case /mnt/mydisk or whatever) then mount it, because the mount command doesn't create it for you.
 
Old 01-22-2009, 04:02 AM   #4
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
Also, you need to check drive names for the connected drive.

run something like:
Code:
dmesg|tail
To see what sdaX name the connected usb drive has been assigned.
 
  


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
Mount an external ntfs usb hard disk dmpop Mandriva 5 03-03-2013 11:45 AM
Can't mount external Hard disk bhanthenzzz07 Suse/Novell 6 05-17-2008 10:27 AM
Mount external USB 2.0 hard disk with NTFS? Musikolo Linux - Hardware 8 09-15-2006 10:11 AM
Mount points on usb devices (dig. camera, zip drive, external hard disk) Impaler Linux - Hardware 3 05-30-2006 12:08 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 11:55 AM


All times are GMT -5. The time now is 11:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration