Auto mount Hard drive

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Auto mount Hard drive

Postby made_in_womb » Feb 8th, '14, 18:41

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 ?.
made_in_womb
 
Posts: 32
Joined: Mar 8th, '13, 02:53

Re: Auto mount Hard drive

Postby jkerr82508 » Feb 8th, '14, 19:13

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Auto mount Hard drive

Postby doktor5000 » Feb 8th, '14, 19:51

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Auto mount Hard drive

Postby made_in_womb » Feb 8th, '14, 21:28

Thanks guys :-)
made_in_womb
 
Posts: 32
Joined: Mar 8th, '13, 02:53

Re: Auto mount Hard drive

Postby doktor5000 » Feb 8th, '14, 23:09

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Auto mount Hard drive

Postby yankee495 » Feb 9th, '14, 06:06

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.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: Auto mount Hard drive

Postby made_in_womb » Feb 14th, '14, 18:03

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?
made_in_womb
 
Posts: 32
Joined: Mar 8th, '13, 02:53

Re: Auto mount Hard drive

Postby made_in_womb » Feb 14th, '14, 18:18

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?
made_in_womb
 
Posts: 32
Joined: Mar 8th, '13, 02:53

Re: Auto mount Hard drive

Postby yankee495 » Feb 14th, '14, 18:41

Install a package called kde-rootactions-servicemenu.

Then you can right click a folder and select Root Actions> Open in File Manager.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA


Return to Basic support

Who is online

Users browsing this forum: laidlaws and 1 guest