LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mounting USB removable hard drive (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-usb-removable-hard-drive-772697/)

mazharcdn 12-01-2009 11:13 AM

Mounting USB removable hard drive
 
asdafadsfasdfsdafsda

bret381 12-01-2009 01:07 PM

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

mazharcdn 12-01-2009 01:36 PM

HUszgmA8

dalai lama 12-01-2009 05:50 PM

Quote:

Originally Posted by mazharcdn (Post 3775931)
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?

mazharcdn 12-02-2009 01:24 PM

HUszgmA8

dalai lama 12-03-2009 11:04 AM

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.

mazharcdn 12-05-2009 11:17 PM

this is done

mazharcdn 08-14-2010 08:06 AM

HUszgmA8

GrapefruiTgirl 08-14-2010 08:10 AM

mazharcdn,

You've been asked once in another thread, to STOP such nonsense posts. Please do so immediately.

mazharcdn 12-22-2010 02:06 AM

adfafasdfsdaf

J.W. 01-19-2011 12:39 AM

Closed. Please don't bother to post non-sensical comments


All times are GMT -5. The time now is 04:20 AM.