Page 1 of 1

Auto mount Hard drive

PostPosted: Feb 8th, '14, 18:41
by made_in_womb
Hello fellow Mageian's :-) ,

I have installed a spare harddrive for storage etc . How do I make the harddrive auto mount when I log in .Without the need for having to apply my admin password ?.

Re: Auto mount Hard drive

PostPosted: Feb 8th, '14, 19:13
by jkerr82508
Set up the disk using MCC - Local disks - Manage disk partitions.
When finished, answer "Yes" when it asks to change fstab.
You may find it convenient to chown the mount point to your user, for example
Code: Select all
# chown -R user:user /mnt/extra
Replace user with your username and /mnt/extra with the mount point that you chose.

You may find this helpful:
http://doc.mageia.org/mcc/4/en/content/drakdisk.html

Jim

Re: Auto mount Hard drive

PostPosted: Feb 8th, '14, 19:51
by doktor5000
If you go that way, definitely don't forget to add nofail to the options of that fstab entry. Otherwise next boot will fail when
this drive is not accessible or cannot be mounted for whatever reason.

I'd prefer that way: viewtopic.php?f=41&t=5148
Simply add your overrides to polkit rules and mount them via your file manager,
or set them to auto-mount via your desktop environment means.

Re: Auto mount Hard drive

PostPosted: Feb 8th, '14, 21:28
by made_in_womb
Thanks guys :-)

Re: Auto mount Hard drive

PostPosted: Feb 8th, '14, 23:09
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: Auto mount Hard drive

PostPosted: Feb 9th, '14, 06:06
by yankee495
Funny, I just did this today, the hard way. I used blkid to find UUID="BE823D33823CF18F", edited fstab and went from there. It worked out great! I'm trying to learn things that Dok can do in his sleep! I read your bashrc Dok, I bet you have "productivity"!

Just loving Mageia 4! Thanks everyone...I've been trying to stop in and help any new people if I can.

Re: Auto mount Hard drive

PostPosted: Feb 14th, '14, 18:03
by made_in_womb
Ok So I finally had time to try and sort this out .

So I go into Mageia Control Centre - local disks - manage disk partitions .

When finished, answer "Yes" when it asks to change fstab.


When finished doing what?

I select my harddrive that I want to be automounted without admin password .I toggle expert mode and see quite a few options.There is a tb for mount point which brings up more options . And there is another option tab whcih brings up more options .I've tried clicking the option tab and then selecting 'ticking' allow an ordinary user to mount the filesystem ' .

But nothing changers and when I go back to this option it's been unselected .

When finished, answer "Yes" when it asks to change fstab.


What is it I am meant to be selecting in the MCC in order to be asked this?

Re: Auto mount Hard drive

PostPosted: Feb 14th, '14, 18:18
by made_in_womb
I also tried this https://wiki.mageia.org/en/Useful_polkit_policies method .

But I don't have permission on my own computer apparently to access that file . Even though I am set as the administrator .

On linux mint there was a option to open any folder as root .Is their a way to do this in megeia?

Re: Auto mount Hard drive

PostPosted: Feb 14th, '14, 18:41
by yankee495
Install a package called kde-rootactions-servicemenu.

Then you can right click a folder and select Root Actions> Open in File Manager.