LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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

Closed Thread
 
Search this Thread
Old 12-01-2009, 10:13 AM   #1
mazharcdn
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Rep: Reputation: 0
Mounting USB removable hard drive


asdafadsfasdfsdafsda

Last edited by mazharcdn; 12-22-2010 at 01:07 AM.
 
Old 12-01-2009, 12:07 PM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 648

Rep: Reputation: 78
in terminal:

fdisk -l
> This should list your drives. find your usb drive and note the name. should be /dev/sda? some number here.

make a new directory for your new drive filesystem.
mkdir /mnt/usbdrive

edit your /etc/fstab file to automount the drive:

add following line to this file:

/dev/sda? /mnt/usbdrive ntfs (or whatever filesystem) defaults 0 0

mount all drives that have not been previously mounted:

mount -a

This should get your drive mounted in the mnt/usbdrive directory

To move your directory /calls to this new filesystem

mv -R /calls /mnt/usbdrive

Hope that helps
 
Old 12-01-2009, 12:36 PM   #3
mazharcdn
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
HUszgmA8

Last edited by mazharcdn; 08-14-2010 at 07:05 AM.
 
Old 12-01-2009, 04:50 PM   #4
dalai lama
LQ Newbie
 
Registered: Dec 2009
Location: Amsterdam
Distribution: Debian
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by mazharcdn View Post
in terminal when i type

fdisk -l
>



it only shows the above thing...and nothing happens
Does the cli get stuck or does it just not show anything?
 
Old 12-02-2009, 12:24 PM   #5
mazharcdn
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
HUszgmA8

Last edited by mazharcdn; 08-14-2010 at 07:06 AM.
 
Old 12-03-2009, 10:04 AM   #6
dalai lama
LQ Newbie
 
Registered: Dec 2009
Location: Amsterdam
Distribution: Debian
Posts: 18

Rep: Reputation: 0
When you plug in the device you should be able to find it by the command 'dmesg'.
It will show you the device name like 'sdb: sdb1' or what ever.

Use this to mount the device.
 
Old 12-05-2009, 10:17 PM   #7
mazharcdn
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
this is done

Last edited by mazharcdn; 08-03-2010 at 09:56 AM.
 
Old 08-14-2010, 07:06 AM   #8
mazharcdn
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
HUszgmA8
 
Old 08-14-2010, 07:10 AM   #9
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
mazharcdn,

You've been asked once in another thread, to STOP such nonsense posts. Please do so immediately.
 
Old 12-22-2010, 01:06 AM   #10
mazharcdn
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
adfafasdfsdaf
 
Old 01-18-2011, 11:39 PM   #11
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Closed. Please don't bother to post non-sensical comments
 
  


Closed Thread


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
Mounting an XFS partition (from an USB removable drive) crisostomo_enrico Solaris / OpenSolaris 4 07-19-2007 07:46 AM
USB/Firewire removable hard drive, how does it not 'die'? MasterC General 2 11-17-2006 03:10 PM
mounting usb hard drive brianhall Linux - Newbie 3 05-18-2006 12:09 PM
Mounting usb hard-drive ewingnoah Fedora 2 02-09-2006 12:49 PM
mounting a usb hard drive yocompia Slackware 5 10-19-2003 02:31 PM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
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