[SOLVED] /home does not automount

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

[SOLVED] /home does not automount

Postby lloyd » May 31st, '17, 14:08

I have three drives on my machine - sda, sdb, and sdc. /home resides on sdb. I am running Mageia 6 RC. All the drives automount fine EXCEPT for /home.
I get a message saying "authentication required to mount (the actual Western Digital drive name)" I type in my user password and it's all OK at that point.
I think I am missing a line in fstab (there's no mention of sdb1)
What should go on that line?

Thank you!
Last edited by lloyd on Jun 2nd, '17, 02:47, edited 1 time in total.
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: /home does not automount

Postby doktor5000 » May 31st, '17, 19:24

How did you install that with /home not having an entry in fstab, did you set that up later? And what does your fstab contain currently?

In your case what you could do is add a polkit rule to not prompt for the password, as the default polkit rules request a password for all internal drives (which includes eSATA external drives)
But this would only mount /home pretty late, when your desktop environment is already partially loaded, which is a pretty bad idea in general if you ask me.

Best add an fstab entry for this one, default options should be fine for that.
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: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: /home does not automount

Postby lloyd » Jun 1st, '17, 03:07

I thought I added it. I Maybe I didn't. I tried adding what I thought it should be, and it wouldn't boot. Something about hold while booting cleans up. What should the line say?
/home is on sdb1....
something like UUID=xxxxxxxxxxxxxxx /home ext4 defaults,nofail 0 0

I know nothing about polkit. How do I change that?

Thank you.
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: /home does not automount

Postby doktor5000 » Jun 1st, '17, 09:30

lloyd wrote:Something about hold while booting cleans up.

Could you please post the actual part of the boot log? In doubt best attach the full
Code: Select all
journalctl -ab
log here. Also please post your complete fstab and the output of
Code: Select all
lsblk -fl
as root for comparison.

Can you test the fstab entry by doing
Code: Select all
mount /home
when booting in safe mode, does it work there ?
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: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

{SOLVED] }Re: /home does not automount

Postby lloyd » Jun 1st, '17, 17:25

[SOLVED] I just checked in Dolphin and it lists the drive as /run/media/lloyd instead of /home. I added a line to fstab which is similar to the other drives. Presto, it works! It may not be /home, but I may re-install everything once the final release is out.
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: /home does not automount

Postby doktor5000 » Jun 2nd, '17, 01:04

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: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest