At the current stage Split Linux is still bare bones. This guides walk you from the initial hard disk preparation all the way through to starting your first container session.
At the beginning of every essential section there's a link to a screencast that may help spot potential errors in your process.
If you're running into any issues come and ask your questions over at our Reddit r/splitlinux.
cfdisk /dev/<DEVICE>). The first is reserved for a decoy OS. This guide uses the second for Split.
cryptsetup luksFormat /dev/<DEVICE>).
cryptsetup open /dev/<DEVICE> split).
vgcreate split /dev/mapper/split).
lvcreate -L 8GB -n swap split).
lvcreate -l 100%FREE -n horde split).
<DEVICE> with the path to your disk.
Boot your system from the Split Linux pendrive. Split will detect the partition you just created, ask for its password and mount it.
mount | grep split-horde) and that you're connected to the Internet (
ping -c1 splitlinux.org).
lxc-create --config /usr/share/splitlinux/config/splitlinux-default.conf \ --name v --template download -- \ --release current --dist voidlinux --arch amd64 --variant musl
sed 's#^lxc.*lxc/config.*##g' /var/lib/lxc/v/config).
sed -i 's#100#122#g' /var/lib/lxc/v/config).
lxc-start v) and step into it (
useradd --create-home v).
We named the container v as in Void Linux. Using single letters for container- and user names is generally a great way to save time typing.
echo 'repository=http://lysator7eknrfl47rlyxvgeamrv7ucefgrrlhk7rouv3sna25asetwid.onion/pub/voidlinux/current/musl' > /etc/xbps.d/00-repository-main.conf).
SOCKS_PROXY="socks5://172.18.0.2:9050" xbps-install -Su).
SOCKS_PROXY="socks5://172.18.0.2:9050" xbps-install -S dwm st xorg-minimal xorg-fonts monero curl torsocks).
echo 'exec dwm' >> /home/v/.xinitrc).
exit) and verify that you're back in the host system (
DISPLAYnot being set.
After restarting the host system once again when you log in as v on the host you should end up within the container's graphical environment.
If your host is correctly connected to the Internet you should be able to access it via Tor. Try it:
curlto use the Tor router as proxy:
curl --proxy socks5h://172.18.0.2:9050 https://check.torproject.org/api/ip
torsocks -a 172.18.0.2 -P 9050 --isolate curl https://check.torproject.org/api/ip
Note that your IP displays differently on every invocation as every connection establishes a new Tor circuit.
And this is where the journey begins.
Continue at Configuration: Internet for Applications to learn how to connect your applications through Tor.