在 2021/1/17 下午4:42, Stefan Schmiedl 写道:
"the...@sys-concept.com" <the...@sys-concept.com>, 17.01.2021, 09:34:

  On 1/17/21 1:22 AM, the...@sys-concept.com wrote:
On one of my system I have in fstab:
/dev/sda4             /home           ext4            noatime         0 1
and /home is mounted by default

On my new installation, I have in my fstab:
/dev/sda5             /home           ext4            noatime         0 1

but on new installation /home doesn't mount by default, why?

On new installation, I created a user without "-m"
useradd  -G users,wheel,audio -s /bin/bash thelma

added to fstab:
/dev/sda5             /home           ext4            noatime         0 1

but it doesn't mount by default.
xfce4 created new entry in /home  /thelma
so I deleted the entry /thelma but manual mounting:  mount /dev/sda5 /home
does not create directory /thelma manually under /home

When I mount manually /dev/sda5  /home all data is there but but trying login as user 
"X" gets a black screen now.
How to get back "X"

When I ssh and try to start it manually I get:
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
Spelling :-/
It should be:
dev/sda5                /home           ext4            defaults                
0 1
this line is missing a leading /, it should be the full path to the device:

/dev/sda5 ...

s.

1. You'd better use UUID instead of /dev/path
2. check your origin  ~/.config/user-dirs.dirs  and make dirs in you new home

--
bobwxc
F645 5C7A 08E8 A637 24C6  D59E 36E9 4EAB B53E 516B

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to