Persistent Home Directory

From Sabayon Wiki
Revision as of 11:25, 14 November 2013 by Lxnay (Talk | contribs) (Created page with "Starting from Sabayon 13.12, or any other Sabayon release featuring >=app-misc/sabayon-live-10, it's very easy to setup a persistent ${HOME} directory, or better, a persistent...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Starting from Sabayon 13.12, or any other Sabayon release featuring >=app-misc/sabayon-live-10, it's very easy to setup a persistent ${HOME} directory, or better, a persistent /home (thus, not just /home/sabayonuser). You only need to setup a filesystem on any partition you like, featuring the following label: "live:/home", without quotes. You can use a USB memory stick and format it using the ext4 filesystem. Let's assume that the memory stick is available at device /dev/sdf.

Partitioning

Just create a partition, say /dev/sdf1, using your favorite partition editor. GParted is fine, but you can just use cfdisk, fdisk or parted.

Formatting

Let's use ext4 as filesystem and label it with "live:/home" as written above.

 # mkfs.ext4 -L "live:/home" /dev/sdf1

Booting

You don't need to do anything, just boot with the USB memory stick inserted and your filesystem will be mounted on /home.