Saturday, November 27, 2010

Mounting Hard drive via SSH

do following steps...

1. you should be sudo user.
         $ sudo su


2. displaying available hard drives in your system.
           fdisk -l


3. Suppose you want to mount /dev/sda1 drive, make some directory where do you want mount it.
        # mkdir /home/megh/HD1


4. mounting drive( assuming NTFS).
      #  sudo mount -t ntfs-3g /dev/sda1 /home/megh/HD1


5. done !!! browse directory HD1


(NOTE: if it's FAT32 swap out 'ntfs-3g' for 'vfat')

0 comments:

Post a Comment