Basic Linux Installation Guide: Difference between revisions

From My Homelab
Created page with "The installation process for the Ubuntu virtual machines is pretty straight forward. The idea is to get a vanilla basic installation that can be built from. This should be templated. ===Create a VM from the Proxmox console=== Pretty much stick to the defaults. Make sure to create the disk on fast1 or fast2. The distribution ISO files are on local. The usual candidate is Ubuntu 22.04, but other distributions are available. The system will boot after confirmation. Go to t..."
 
No edit summary
Line 1: Line 1:
The installation process for the Ubuntu virtual machines is pretty straight forward. The idea is to get a vanilla basic installation that can be built from. This should be templated.
The installation process for the Ubuntu virtual machines is pretty straight forward. The idea is to get a vanilla basic installation that can be built from. This should be templated.
===Create a VM from the Proxmox console===
=Create a VM from the Proxmox console=
Pretty much stick to the defaults. Make sure to create the disk on fast1 or fast2. The distribution ISO files are on local. The usual candidate is Ubuntu 22.04, but other distributions are available.
Pretty much stick to the defaults. Make sure to create the disk on fast1 or fast2. The distribution ISO files are on local. The usual candidate is Ubuntu 22.04, but other distributions are available.


The system will boot after confirmation. Go to the console for the machine to install the OS.
The system will boot after confirmation. Go to the console for the machine to install the OS.


===Install Ubuntu===
=Install Ubuntu=
The main decision is whether to do a limited or full installation. I am finding that limited is sufficient since I don't use the desktop all that much and certainly not all or the user tools.
The main decision is whether to do a limited or full installation. I am finding that limited is sufficient since I don't use the desktop all that much and certainly not all or the user tools.


DO NOT install with the ZFS option.
DO NOT install with the ZFS option.


===Install the Zabbly Kernel===
=[[Post Ubuntu Install]]=
I am keeping this here, but I only use this for some testing.
 
The zabbly kernel is described here: https://github.com/zabbly/linux?tab=readme-ov-file
 
This is why it is not a good idea to install ZFS. The zabbly kernel will not load the zfs modules and fail to boot.
 
Start by clonecting the needed pieces.
<syntaxhighlight lang=shell line>
apt install lsb-release software-properties-common apt-transport-https ca-certificates curl neofetch -y
curl -fSsL https://pkgs.zabbly.com/key.asc | gpg --dearmor | sudo tee /usr/share/keyrings/linux-zabbly.gpg > /dev/null
codename=$(lsb_release -sc) && echo deb [arch=amd64 signed-by=/usr/share/keyrings/linux-zabbly.gpg] https://pkgs.zabbly.com/kernel/stable $codename main | sudo tee /etc/apt/sources.list.d/linux-zabbly.list
</syntaxhighlight>
Ok, the preliminaries are complete. Now install the new kernel and reboot. If it doesn't work, this section will never be seen again.
<syntaxhighlight lang=shell line>
apt update
apt install linux-zabbly
</syntaxhighlight>
Cross your fingers and reboot.
 
Test that the new kernel is in:
<syntaxhighlight lang=shell>
uname -r
</syntaxhighlight>
The result should be someting ending in zabbly+. Running:
 
neofetch should yield something like: 
            .-/+oossssoo+/-.              root@rufus
        `:+ssssssssssssssssss+:`          ----------
      -+ssssssssssssssssssyyssss+-        OS: Ubuntu 22.04.3 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.      Host: KVM/QEMU (Standard PC (i440FX + PIIX, 1996) pc-i440fx-7.2)
    /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.7.1-zabbly+
  +ssssssssshmydMMMMMMMNddddyssssssss+    Uptime: 3 mins
  /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 1618 (dpkg), 9 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.  Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+  Resolution: 1280x800
ossyNMMMNyMMhsssssssssssssshmmmhssssssso  Terminal: cockpit-bridge
ossyNMMMNyMMhsssssssssssssshmmmhssssssso  CPU: 11th Gen Intel i9-11900KB (2) @ 3.302GHz
+sssshhhyNMMNyssssssssssssyNMMMysssssss+  GPU: 00:02.0 Vendor 1234 Device 1111
.ssssssssdMMMNhsssssssssshNMMMdssssssss.  Memory: 919MiB / 3919MiB
  /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+                           
    /ssssssssssshdmNNNNmyNMMMMhssssss/                             
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.
 
See Also: [https://www.linuxcapable.com/how-to-install-zabbly-kernel-on-ubuntu-linux/ Full zabbly Install/Remove Instructions]
 
 
[[Post Ubuntu Install]]

Revision as of 18:37, 13 August 2026

The installation process for the Ubuntu virtual machines is pretty straight forward. The idea is to get a vanilla basic installation that can be built from. This should be templated.

Create a VM from the Proxmox console

Pretty much stick to the defaults. Make sure to create the disk on fast1 or fast2. The distribution ISO files are on local. The usual candidate is Ubuntu 22.04, but other distributions are available.

The system will boot after confirmation. Go to the console for the machine to install the OS.

Install Ubuntu

The main decision is whether to do a limited or full installation. I am finding that limited is sufficient since I don't use the desktop all that much and certainly not all or the user tools.

DO NOT install with the ZFS option.