From: thelma@sys-concept.com
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] resizing and moving home directory to new partition on save drive
Date: Sun, 10 Jan 2021 14:42:09 -0700 [thread overview]
Message-ID: <c25f22e2-739d-67a7-3cfb-9079970b3c6d@sys-concept.com> (raw)
I want to move /home directory to a new partition (save drive).
I have 1-SSD drive:
Filesystem Size Used Avail Use%
/dev/sda4 916G 405G 464G 47% /
Home directory is on it taking about 360GB
I was planning doing it in stages.
Stage-1
Using Gparted to resize "/" portion shirk it to about 450GB
create new ext4 partition for /home /dev/sda5
Boot-strap the PC with live-gentoo
mv /home /home.org
mkdir /home
mount ext4 /dev/sda5 /home/
cp -rp /home.org/* /home/
edit fstab:
/dev/sda5 /home ext4 default 0 0
reboot and test home
Am I missing something?
If everything works, remove /home.org
Stage-2:
With Gparted resize both root and home portion, giving root about 200GB and rest to /home (dev/sda5)
next reply other threads:[~2021-01-10 21:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-10 21:42 thelma [this message]
2021-01-10 22:46 ` [gentoo-user] resizing and moving home directory to new partition on save drive antlists
2021-01-11 0:31 ` thelma
2021-01-11 1:57 ` Wols Lists
2021-01-11 1:33 ` thelma
2021-01-11 13:51 ` Neil Bothwick
2021-01-11 4:06 ` [gentoo-user] resizing and moving home directory to new partition on same drive thelma
2021-01-11 4:26 ` Adam Carter
2021-01-11 5:13 ` thelma
2021-01-11 8:41 ` Adam Carter
2021-01-11 7:58 ` Raffaele BELARDI
2021-01-11 11:30 ` Wols Lists
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c25f22e2-739d-67a7-3cfb-9079970b3c6d@sys-concept.com \
--to=thelma@sys-concept.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox