Saturday, May 15, 2010

Mount the new harddisk as local

Mount a hard disk as Local
==========================

Step 1 : fdisk -l

Device Boot Start End Blocks Id System
/dev/sda1 * 1 14057 112912821 83 Linux
/dev/sda2 14058 14592 4297387+ 82 Linux swap

Device Boot Start End Blocks Id System
/dev/hda1 1 14057 112912821 83 Linux

step 2 Now Let us assume the hda are the second hard disk to be mounted
step 3 mkdir /saravana
step 4 mount /dev/hda1 /saravana
step 5 Now we have mounted the external partition /dev/hda1 in out local hardisk partition where we have created /saravana.
step 6 Now we can see all the contents of /dev/hda1 in the /saravana mount point.

No comments: