Gentoo Archives: gentoo-user

From: Stefan Schmiedl <s@×××.de>
To: thelma@×××××××××××.com, gentoo-user@l.g.o
Subject: Re: [gentoo-user] fstab mount /home by default
Date: Sun, 17 Jan 2021 08:42:46
Message-Id: 13210151439.20210117094236@xss.de
In Reply to: Re: [gentoo-user] fstab mount /home by default by thelma@sys-concept.com
1 "thelma@×××××××××××.com" <thelma@×××××××××××.com>, 17.01.2021, 09:34:
2
3 > On 1/17/21 1:22 AM, thelma@×××××××××××.com wrote:
4 >> On one of my system I have in fstab:
5 >> /dev/sda4             /home           ext4            noatime         0 1
6 >> and /home is mounted by default
7 >>
8 >> On my new installation, I have in my fstab:
9 >> /dev/sda5             /home           ext4            noatime         0 1
10 >>
11 >> but on new installation /home doesn't mount by default, why?
12 >>
13 >> On new installation, I created a user without "-m"
14 >> useradd  -G users,wheel,audio -s /bin/bash thelma
15 >>
16 >> added to fstab:
17 >> /dev/sda5             /home           ext4            noatime         0 1
18 >>
19 >> but it doesn't mount by default.
20 >> xfce4 created new entry in /home  /thelma
21 >> so I deleted the entry /thelma but manual mounting:  mount /dev/sda5 /home
22 >> does not create directory /thelma manually under /home
23 >>
24 >> When I mount manually /dev/sda5  /home all data is there but but trying login as user "X" gets a black screen now.
25 >> How to get back "X"
26 >>
27 >> When I ssh and try to start it manually I get:
28 >> Fatal server error:
29 >> (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
30
31 > Spelling :-/
32 > It should be:
33 > dev/sda5                /home           ext4            defaults                0 1
34 >  
35
36 this line is missing a leading /, it should be the full path to the device:
37
38 /dev/sda5 ...
39
40 s.

Replies

Subject Author
Re: [gentoo-user] fstab mount /home by default bobwxc <bobwxc@××.com>