Monday, November 28, 2011

Auto mount in Mint 12 / load Ntfs/Windows drive automatically

Howdy guys,,

Now Its the turn of Mint 12..So new Tips and Tricks should come to help the new comers. So Here is some thing which will help the beginners and some professionals to over come the mounting confusion .To auto mount a device u need to follow the following steps

Step 1:

U need to create a directory where you will mount the drive .Use the following command :
sudo mkdir /media/WinDriveD

Step 2:
Go To file system in the menu ,then go to /etc/fstab

Step 3:
then paste the below code in the bottom of the page ,
/dev/sda5 /media/WinDriveD ntfs defaults,nls=utf8,umask=007,uid=1000,gid=46 0 0

Step 4:
By doing the above step, you will be able to mount the sda5 drive to the windrived
now start terminal and type
sudo mount –a

This is how my /etc/fstab look like -----------------------------------------
# /etc/fstab: static file system information. 
# Use 'blkid' to print the universally unique identifier for a 
# device; this may be used with UUID= as a more robust way to name devices 
# that works even if disks are added and removed. See fstab(5). 
proc            /proc           proc    nodev,noexec,nosuid 0       0 
# / was on /dev/sda7 during installation 
UUID=0b610bc2-f07f-43b4-b5b3-61e3efcfb453 /               ext4    errors=remount-ro 0       1 
# /boot was on /dev/sda8 during installation 
UUID=fd15c0f5-df12-47eb-a620-7e160abd6071 /boot           ext4    defaults        0       2 

/dev/sda4 /media/WinBackUp ntfs defaults,nls=utf8,umask=007,uid=1000,gid=46 
/dev/sda5 /media/WinBackUpGentle ntfs defaults,nls=utf8,umask=007,uid=1000,gid=46

Tip: Now its all done and you can add other drive by selecting an another backup drive and selecting another sda drive. Thank you

No comments:

Post a Comment