PDA

View Full Version : [ubuntu] Mounting a second drive automatically/how does mount work under "places"?



protargol
June 30th, 2009, 09:01 PM
So I'm trying to have a second partition mount automatically upon bootup. Right now, I manually have to go to "Places" and then click on the drive for it to mount to it's location (/media/disk). My question is what is/are the commands that are run when I click on the unmounted drive under places?

/media/disk does not exist until I mount the drive this way, and so I'm not able to put
/dev/sde5 /media/disk ext3 0 2 into my fstab file. Also, after I mount the disk using places, the timestamp for the last edit of /media/disk is in the past, so I don't think that it's being created (as in mkdir disk) everytime. Any tips?

nandemonai
June 30th, 2009, 09:11 PM
So I'm trying to have a second partition mount automatically upon bootup. Right now, I manually have to go to "Places" and then click on the drive for it to mount to it's location (/media/disk). My question is what is/are the commands that are run when I click on the unmounted drive under places?

/media/disk does not exist until I mount the drive this way, and so I'm not able to put
/dev/sde5 /media/disk ext3 0 2 into my fstab file. Also, after I mount the disk using places, the timestamp for the last edit of /media/disk is in the past, so I don't think that it's being created (as in mkdir disk) everytime. Any tips?

You could manually create the mount point if that's where you want it, then add the /etc/fstab entry?


sudo mkdir /media/disk

Revolutionary101
June 30th, 2009, 09:12 PM
This link might help https://help.ubuntu.com/community/AutomaticallyMountPartitions