Advertisement
shokti

ubuntu 12.04 server - connect a ntfs external usb drive

Dec 19th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. attached the USB drive and you will see a message in the commandline that it detected the drive:
  2.  
  3. check if the drive is detected by ubuntu and see the drive desgnation:
  4. sudo fdisk -l
  5.  
  6. assume that the USB drive in the list is /dev/sdc1(yours might be different):
  7.  
  8. create a mount point folder in /mnt or any folder you like:
  9. sudo mkdir /mnt/usbdrive
  10.  
  11. mount USB drive(/dev/sdc1) to the /mnt/usbdrive folder:
  12. sudo mount -t ntfs-3g /dev/sdc1 /mnt/usbdrive
  13.  
  14. -------------------------------------------------------------------------------------------
  15.  
  16. to copy a folder(ex. /home/user1/Downloads) the USB drive(/mnt/usbdrive):
  17. sudo cp -r /home/user1/Downloads/. /mnt/usbdrive/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement