Next: Chroot, Up: Installation [Contents]
To install Carbs Linux, you will need a Live Linux ISO. For that purpose, you can obtain a Gentoo or Void Linux live image. You can follow their instructions to boot and setup your network.
You will need the following programs in order to install Carbs Linux:
Rest of these instructions will assume that you have set all of these up, and will continue on that point.
First, we need to download the rootfs tarball. You can do the following in order
to obtain the rootfs. If you are using an i686 machine, replace the
x86_64
with i686
. We are setting this in a URL variable so that we
don’t have to write it every time.
$ URL=https://dl.carbslinux.org/releases/x86_64 $ wget $URL/carbs-rootfs.tar.xz
We can then check the integrity of the tarball and do a signature verification. Even thought these are optional, they are highly recommended.
All of the releases are saved in a single file named sha256sums.txt, but the latest release is saved on carbs-rootfs.tar.xz.sha256. You can acquire and verify the tarball.
$ wget $URL/carbs-rootfs.tar.xz.sha256 $ sha256sum -c carbs-rootfs.tar.xz.sha256
It is highly recommended to verify the signature of the tarball. You will need GPG for this.
$ wget $URL/carbs-rootfs.tar.xz.sig $ gpg --recv-keys FF484BDFEFCEF8FF $ gpg --verify carbs-rootfs.tar.xz.sig
You will need to extract the tarball to your desired location. For partitioning, you can follow this guide. This will assume that you will be mounting your root partition to /mnt.
$ mount /dev/sdx1 /mnt $ tar xf carbs-rootfs.tar.xz -C /mnt
You can obtain the cpt-chroot
script in order to do a simple chroot into
your new root filesystem.
$ wget https://dl.carbslinux.org/distfiles/cpt-chroot $ chmod a+x cpt-chroot
Next: Chroot, Up: Installation [Contents]