Page 1 of 1
[SOLVED] /home does not automount

Posted:
May 31st, '17, 14:08
by lloyd
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!
Re: /home does not automount

Posted:
May 31st, '17, 19:24
by doktor5000
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.
Re: /home does not automount

Posted:
Jun 1st, '17, 03:07
by lloyd
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.
Re: /home does not automount

Posted:
Jun 1st, '17, 09:30
by doktor5000
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 ?
{SOLVED] }Re: /home does not automount

Posted:
Jun 1st, '17, 17:25
by lloyd
[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.
Re: /home does not automount

Posted:
Jun 2nd, '17, 01:04
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks