Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] resizing and moving home directory to new partition on same drive
Date: Mon, 11 Jan 2021 04:06:59
Message-Id: 3529161f-2d6a-189a-cca1-c2d3ade8cafe@sys-concept.com
In Reply to: Re: [gentoo-user] resizing and moving home directory to new partition on save drive by antlists
1 On 1/10/21 3:46 PM, antlists wrote:
2 > And a little bit you might have missed - DON'T put root's home on a mounted disk - if it's currently in /home, move it to /. Don't forget to edit /etc/passwd if you have to move it.
3
4 Can I use "nano" to edit /etc/password file
5 all I need to change is the
6 user:x:1000:1000::/home/user:/bin/bash
7
8 to:
9 user:x:1000:1000::/mnt/home/user:/bin/bash
10
11 Or I need to use: "vipw -s"

Replies