Openzfs linux distribution12/29/2023 On real hardware, your devices will probably be called sda and sdb (if they’re SATA), or nvme0n1 and nvme1n1 (if they’re nvme): My output (on a virtual machine) looks like the following. This will list all of your drives (also called block devices), any partitions on them, and where those partitions are mounted. Press Control-Alt-F3 to get to a terminal window then log in as yourself if you made your account an administrator, or ‘root’ if you did not. Your computer will get grumpy if you’re logged into a desktop environment while swapping out your home directory. Once you’ve installed your new distro, reboot into it, but don’t log in. Just make sure that you create yourself as an administrator or have a root password set. I find it’s much easier to have the distribution do it’s typical install, then go back and mount your new /home. You cannot change this password and you’ll be asked to enter this password every time you boot your computer, so make sure you do not forget it!ĭon’t worry about configuring your 2nd drive with your home folder during the installation. You’ll be asked to set a password that’s used to encrypt your root drive. It will look like this in Fedora: Encrypted root drive in FedoraĪnd like this in Ubuntu: Encrypted root drive in Kubuntu Make sure when you install Linux you tell the installer to use drive encryption. This is only secure if the root drive is also encrypted. I’ll be configuring ZFS to use an encryption key stored on the root drive. If you are on a RAM-limited system, you can do something similar with encrypted XFS or EXT4. One quick note: ZFS works best with plenty of RAM (it will use everything available to keep data cached). Here’s a handy guide on how to do just that! I’ll be showing the steps for Fedora and Kubuntu, but they should generally apply to other distros as well.ĭisclaimer: I’ve not a ZFS expert, but these steps have worked very well for me on multiple systems. That means jumping through a few extra hoops to setup ZFS on a separate drive as well as re-importing the zpool every time I swap distributions, but I find it’s well worth it. I’m also a big fan of ZFS ( ZFS on Ubuntu Server). That way I can re-install distributions to my heart’s content without fear of losing my files and settings. One of the things that makes doing so much easier is keeping my home folder on a separate disk. I tend to hop from Linux distro to Linux distro.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |