LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I mount an internal hard drive on startup? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-mount-an-internal-hard-drive-on-startup-883254/)

Tomorrows_Gone 05-28-2011 06:59 PM

How do I mount an internal hard drive on startup?
 
I have an internal hard drive which is NTFS that I have some of my windows stuff on.
Ubuntu seems to mount it only after I choose to open it from the places menu.
I would love it if it mounted automatically on startup but I can't work out how to do this...

Help?

frankbell 05-28-2011 07:15 PM

Put it your fstab (File System TABle) and set the mount to "auto."

Here's a good description of fstab:

http://www.tuxfiles.org/linuxhelp/fstab.html

Note: In Ubuntu, you will likely see devices identified by Unique Identifiers (UIDs). You can use the tradition mount point lingo /dev/sdb1) along side the UIDs with no problems.

If you mess up the new entry, not to worry, the old ones will still work, so you can test. But it would be a good idea to make a backup first. It's always a good idea to back up a configuration file before editing it.

Edit: After mounting the external drive and before doing any editing, you can use the command cat /etc/mtab to see how Ubuntu identifies that drive.


All times are GMT -5. The time now is 08:06 AM.