-   Linux - Newbie (
-   -   Automatic drive usability on startup (

zensunni 11-05-2010 02:01 PM

Automatic drive usability on startup
I'm using Ubuntu 10.04 and I have a 1TB NTFS (internal) hard drive where I put all my files.

The drive shows up in the "Places" menu, and if I select & open it, the drive and all the scripts & text files in it work.

But, if I go to run the scripts without opening the dive in the places menu first, it just gives an error.

So my 2 questions are:
1. What is being done when I select the drive in the places menu?
2. Can this be set up automatically, so I don't have to open the drive every time after I start up?

udaman 11-05-2010 02:16 PM

All disks are mounted at startup from info in the /etc/fstab file. You can place a line there to mount your disk at boot. The line will look like this, depending on which device number it is:

/dev/hda1 /media/windows ntfs-3g defaults 0 0

For info on this read: "man fstab", and "man mount"

More info here:

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