public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] resizing and moving home directory to new partition on save drive
@ 2021-01-10 21:42 thelma
  2021-01-10 22:46 ` antlists
  0 siblings, 1 reply; 12+ messages in thread
From: thelma @ 2021-01-10 21:42 UTC (permalink / raw
  To: Gentoo mailing list

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)



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-01-11 13:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-10 21:42 [gentoo-user] resizing and moving home directory to new partition on save drive thelma
2021-01-10 22:46 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox