Skip to content
Snippets Groups Projects
user avatar
JokerGermany authored
cd133af4
History
Name Last commit Last update
20.04-live.sh
README.md

Ubuntu-Installation - Partitioning

Why

This shell script is for partitioning of LVM Installations. The Ubuntu Installer didn't allow self-partitioning of LVM Installations. But i want to split some things like the home directory for easier changes afterwards.

What is the partitioning

Amount of Space Purpose
30 GB / (root)
10 GB /programs (For flatpak and snap)
other free space /home

How to Use

When you want to use this script you should choose LVM while Installing Ubuntu. After the Installation of Ubuntu execute the script in the Ubuntu Live Environment ( If you use a USB-Stick with Ventoy, you can Inject the script file in the Ubuntu Live Enviroment -> https://www.ventoy.net/en/doc_live_injection.html )

Ventoy Liveinjection

The partition-vX.tar.gz file is ready for use with ventoy. Just create on the ISO Partition a directory ventoy and create a File named ventoy.json with a content like this

{
    "injection": [
        {
            "image": "/nameofyouriso.iso",
            "archive": "/partition-vX.tar.gz"
        }
    ]
}

replace nameofyouriso with the name of your iso file and partition-vX with your actual version! Copy your iso and the partition-vX.tar.gz to the iso Partition.

TODO