They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
huyngochoang
Score: 13
votes: 40
Format: Article

 How to auto mount disk at start-up


In order to mount a partition at start-up that is not belong to Linux Mint, you have to use a package called PySDM (Python Storage Disk Manager). It would be helpful if you put your music or wallpaper in that disk and when you start your computer, all the music and picture are not played or displayed until the disk is mounted. With this package, you will enjoy all things immediately whenever you start your computer. To do this, follow the steps below:

1. Install the package 'pysdm' from Software Manager

2. Open Control Centre and find it 'Storage Disk Manager' in the System Tab. Click on it.

3. Choose which partition you want and set Default.

That's all. Now restart your computer and see the result.

wink


Tags: auto,mount,disk,start
Created: 3 years ago.
Last edited: 3 years ago.
Read 9121 times.

Comments
2 months ago

salehahmed985
how to this in petra kde?  
2 months ago

littledeer3
phd21 has the best advice if you have Petra (16) or later. I just want to note that under Accessories you want to select "Disks." Great advice phd21. I can work with the terminal but a GUI is always appreciated by all.

Thank you everyone, very helpful.
 
3 months ago

phd21
I could not find PySDM. I got my drives to automatically mount on boot in Linux Mint 16 Petra by going to Accessories, then selecting "Drives", clicking the drive partition, clicking the "more options gear icon" below, then clicking "edit mount options", and turning off the Automatic Mount button but leaving the checkbox checked for "mount at startup". I also left the check box for "show in interface checked", then just reboot, restart. Simple, Graphical, and it works. I got this from someone else in this forum. Thank you Huyngochoang and others.  
3 months ago

hurinth
Its easier to do the following:

- use the root command blkid to identify the partition/device mapping
- create a folder or mount point for the new partitions using mkdir /media/ command
- add an entry to the /etc/fstab file similar to the following

UUID=1CFC4ED83424EABB8 /media/partition1 ntfs relatime,rw,user,auto,exec,udi=777,gid=777 0 0

It's all 1 line and tab or space separated columns for each partition you wish to automount. The uid and gid options indicate your user's ID and Group ID, and are meant for you to be able to share folders through Samba, otherwise the contents of the partitions can be accessed, but the ownership is set to root.root, and you can only share opening a file explorer as root. HTH
 
9 months ago

rabotnick
Pysdm is dead. There is a tool called Disks that lets you edit fstab for automount thru a nice GUI for gnome desktop. It works without gnome too with some minor graphical issues.

Instructions: http://community.linuxmint.com/tutorial/view/1197

If you dont have it already, you can get it here: http://community.linuxmint.com/software/view/gnome-disk-utility

 
1 year ago

Elderry
I could not find PySDM in Software Manager, then I followed LinuxGreen's idea, downloaded NTFS-config. As last I was confused that does enable write support for device means I can auto mount it? For this is the only option I can find using NTFS-config.  
1 year ago

aegeas
The KDE spin, which I was using till about 3 days ago, has the mount option available in System Settings. Isn't there a way to have something similar in other Mint spins? Why do we need to take all these steps with program installation or edit files? USB drives are auto mounted, why can't internal HDD do the same thing?  
1 year ago

SpideyWebber
Thanks Ray Woods, the comment helped me on a different laptop.
 
2 years ago

LinuxGreen
I'm on Linux Debian. I downloaded NTFS Configuration Tool (from Software Manager). The icon appears in Administration. Easiest way to mount external or internal NTFS partitions  
2 years ago

blueXrider
I personally have a adversity to script. So if a GUI is available to do the job then so be it.

Now! It would be nice if the author would rewrite this little tutorial and include some settings and pics so the laymen could better understand.

Just a thought

X
 
2 years ago

wittyar
I have tried that applicatinon and since I am a noob on linux I had a lot of issues with that appication. It was great until I pluggd a USB drive.
Now I have learned about how the fstab file works.
For a noob on luinux thats an application that ca make lots of issues on how to OS works.
 
3 years ago

popcola
oops!
OK, I am a newbie to linux. But, I have been using Linux Mint since Helena. I have to say that this tutorial is not good for the n00bs. Why? Because I installed Julia and downloaded ntfs-config to auto mount partition at boot and it didn't work. The program just would not load. So I deleted ntfs-config and ntfs-3g (didn't know that was a separate program) and had a terrible time figuring out what went wrong. I could not mount my data partition with read/write access until looking at Ubuntu forums and saw that ntfs-3g was a program that gave read/write access to ntfs files. I have this partition so I can use files in Windows and Mint. If you use this program it will tick a checkbox that sets the drive/partition as read only. I could not get it to change no matter what I did. I love Linux Mint and I think I will use this OS for as long as it is stable.

So, a better way of doing an auto mount at boot is described here http://forums.linuxmint.com/viewtopic.php?f=90&t=60763 or better yet here http://forums.linuxmint.com/viewtopic.php?f=42&t=22093. Thanks Fred, you are the man, not dirt as you say. Although Man did come from dirt. I believe everyone should read as much as they can on the operation/use of the OS as they can. I also realise that some of us don't have time to do that and that's why Linux Mint is a good choice. It just works. Thank you for a great system that's not Microsoft and is as cool as OS X.
--
cola
 
3 years ago

duck
If you are using LMDE, install the package disk-manager from the debian repo's.  
3 years ago

Oolong
I'm being picky here, but lest people get confused - it's 'Storage *Device* Manager' under *Administration*, and the thing to do appears to be to choose '*Set defaults*'.  
3 years ago

linXea
I don't see the point of using PySDM. Basically it's harder than actually do it the correct way by adding mountpoint/disc etc in /etc/fstab.  
3 years ago

efe5
I would go further, palimpsest could come out of the box with pysdm option to automount builted-in!!!  
3 years ago

justin
@Lopau, that is why I did not disparage the tutorial - I simply said there is another way. That is not keeping "Linux closed."  
3 years ago

Lopau
@justin: I now know it's "just" an entry in the /etc/fstab file, but if you are a noobie these kind of automatisms are always welcome, unless you want to keep linux closed to the expert community.  
3 years ago

justin
Please note you don't "need: this software - all it is doing is making an entry into the /etc/fstab file. This can be done manually as well without much difficulty.  
3 years ago

Lopau
It's that easy? I have a NTFS partition auto-mounting on start-up, but I've gone another road.
Maybe some day I post the tutorial...

I agree with RayWoods, this should come with Mint.
 
3 years ago

RayWoods
Just one quick addition, I had to create a share on the drive as root before I could use it.

Open up the file system in Nautilus and right click on media - Open as Root. Right click on "the new drive" and create a share.
 
3 years ago

RayWoods
This application should be within the standard set up. For those of us who have multiple disk drives in our boxes it is just great. Automatic detection of disk drives in Windows is just taken for granted, so why not in Linux? This is a good first step along this road. Thanks!  

Other tutorials from huyngochoang

No other tutorials.