Automatically mount a ntfs hard disk at login in Ubuntu 8.04
Ubuntu 8.04 automatically detects connected hard drives (such as a second drive with an NTFS partition). NTFS hard drives are not mounted automatically by default in Ubuntu 8.04. Instead they need to be mounted manually e.g. via clicking onto them in Nautilus. Sometimes it is desirable that such a NTFS drive will be automatically mounted at login (e.g. when you want to run a script that uses these drives at startup). This can be done via:
1) Make a mounting point for that drive
Note: Replace "Backup_HD" with whatever name you like.
2) Edit /etc/fstab:
3) Add the following text in fstab:
Note: Replace "/media/Backup_HD" with the name you choose in the 1st step. Furthermore, replace "/dev/sdb1" with the actual value for the hard disk you want to mount automatically.
Note: If you don't know what value you should use instead of "/dev/sdb1" you can get a glue from:
1) Make a mounting point for that drive
sudo mkdir /media/Backup_HD
Note: Replace "Backup_HD" with whatever name you like.
2) Edit /etc/fstab:
sudo gedit /etc/fstab
3) Add the following text in fstab:
/dev/sdb1 /media/Backup_HD ntfs defaults,locale=en_US.UTF-8 0 1
Note: Replace "/media/Backup_HD" with the name you choose in the 1st step. Furthermore, replace "/dev/sdb1" with the actual value for the hard disk you want to mount automatically.
Note: If you don't know what value you should use instead of "/dev/sdb1" you can get a glue from:
sudo fdisk -l
Interesting topic about "Automatically mount a ntfs hard disk at login in Ubuntu 8.04" and i completely agree with your 3 points.
ReplyDeleteHard disk recovery
I was trying to mount NTFS drive.And I have done it quite easily with the help of these steps
ReplyDeleteData Recovery Delhi
Thanks for the feedback. Good to know that this post was helpful.
ReplyDelete