Hi all,
Now that SerpentOS has a "usable" ISO available, I have created a guide on how to install it in a VM. With some knowledge and adaption you should also be able to install SerpentOS on bare metal although it is 100% not ready for production use. This guide is for virt-manager but users have been able to install in VirtualBox, Boxes & QEMU. I'm not sure on any other virtualisation software but I don't see any reason why with the same principles, you wouldn't be able to get it working.
Serpent OS Status: pre-alpha0 (technical preview)
@ermo asked me to put this here:
DISCLAIMER
Serpent OS is currently in heavy development. It is not feature complete, may contain known and unknown bugs and is supplied "as-is".
If it breaks your computer or your existing operating system install, you get to keep both pieces.
No warranty (express or implied) is given, and we offer no guarantee of support for Serpent OS in its current state.
Serpent OS is currently targeted at developers who don't flinch at being very early adopters of emerging, pre-alpha technology, who are experienced enough with Linux to be able to help themselves, and who might enjoy contributing to Serpent OS.
We also do not take package requests at this early stage, as we're mainly in discovery mode for deciding where to put our development focus next.
Prep
Download the latest iso from click here. It's easiest to sort by most recent date.
Note on installs to bare iron
The only "supported" bare iron install method is to give Serpent OS a dedicated disk with its own ESP and format the ESP as FAT32 (or FAT16 if your UEFI is old or weird) and your root partition as ext4.
Every other combination of filesystems is unsupported.
For bare iron installs, you can follow the guide below from the header In Serpent Live Environment.
Install Serpent OS live ISO to a virt-manager VM
Prepare virt-manager
Open virt-manager, go to Edit, Preferences
New VM and for x86 Firmware select UEFI and then close.
Create Virtual Machine
Then select file, new virtual machine.
Go forward with Local install media
Browse and select the iso you've just downloaded and unselect "Automatically detect from the installation media / source
For the choice of operating system you are installing, I selected "Generic Linux 2020"
Select the amount of Memory and CPU cores you want to allocate to your Serpent VM. Don't select values too high as you need your main PC to still function. 4gb and 2 cores will be fine but the more you can allocate, the better the system will perform.
Similarly for storage, I selected 40gb to allow some space after the install for additional packages and files. This will depend on how much spare storage you have available in your system and how much you're willing to commit to this VM.
Name your VM and select Finish. It should boot up into the live gnome environment for SerpentOS.
Notes on required 3D acceleration
The Cosmic and GNOME editions both expect a working 3D accelerated OpenGL setup.
This is how you configure virt-manager to support 3D accelerated OpenGL. Note: This will likely only work on open source drivers provided by the Mesa 3D library.
In Serpent Live Environment
Open console:
sudo fdisk -l #My example would have "/dev/vda" as a 40gb drive
sudo fdisk /dev/vda
Inside fdisk:
g # Create a new GPT partition table
n # Add a new partition
1 # Partition number 1
<Enter> # Default - start at the beginning of the disk
+1G # 1gb size
t # Change partition type
1 # EFI partition
n # Add a new partition
2 # Partition number 2
<Enter> # Default - start at the beginning of the available space
<Enter> # Default - start at the end of the disk
w # write the changes
sudo mkfs.fat -F32 /dev/vda1
sudo mkfs.ext4 /dev/vda2
sudo fdisk -l # This will help you confirm that the changes have been made
You should now see
dev/vda1 (1GB EFI partition)
dev/vda2 (39GB Linux Filesystem)
Now you are ready to install SerpentOS
sudo lichen
Select your english of choice
Select your timezone # You can type your city and it should come up
Enter your root password twice
Enter your preferred username
Enter your preferred user password twice
Next you will be given the option to select your ESP. You should only have the one option you just created so you can select Enter
Same thing for installing your main disk. you should only have the 39GB Linux File system so just hit Enter
You will be asked to check and confirm everything is correct and if it is, just type "Y" and it will start installing.
Once it's done, type reboot
and the system should reboot into the main Serpent Gnome environment
Useful stuff to do when booting up Serpent OS for the first time
Once you're in Serpent, there's a few things to do:
Add the flathub flatpak repository
To keep the Serpent OS software repository manageable while we refine our tooling and workflows, we have decided that the best approach for us is to rely mainly on flatpak software for user-facing GUI applications for the time being.
Open up console and set up flathub:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Then relog (log out and log back into your session).
(optional) Install COSMIC Desktop
If you want to install the COSMIC Desktop Environment:
sudo moss install cosmic-desktop
then reboot your system.
From here on out, you can use moss or flathub (via the Gnome Softare application or the CLI) to install whatever you want.