Skip to content

Instantly share code, notes, and snippets.

@StudioLE
Created October 2, 2024 21:57
Show Gist options
  • Save StudioLE/ebda0d4501fa98ce664fb9d47eb5fbec to your computer and use it in GitHub Desktop.
Save StudioLE/ebda0d4501fa98ce664fb9d47eb5fbec to your computer and use it in GitHub Desktop.

Revisions

  1. StudioLE created this gist Oct 2, 2024.
    135 changes: 135 additions & 0 deletions install-ubuntu-on-ovh.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,135 @@
    1. Boot into Rescue mode

    https://www.ovh.com/manager/

    2. Download and run the Remote KVM Java Applet

    3. Power Control > Set Power Reset

    If it doesn't boot into rescue mode you may need to press DEL to run setup and revise to boot order to make Network first.

    3. Mount the Ubuntu Server ISO as Virtual Storage

    Download the latest Ubuntu Server ISO https://ubuntu.com/download/server

    Virtual Media > Virtual Storage

    Set Logical Drive Type to ISO File

    Press "Open Image" to select the path to the ISO.

    Press "Plug in"

    Press "Ok"

    5. Restart the server

    Power Control > Set Power Reset

    6. Enter Setup

    Press DEL indicated to enter setup.

    Switch to the boot tab

    Set the first item in the boot order to "UEFI USB CD/DVD:UEFI: ATEN Virtual CDROM YSOJ"

    Press F4 to save and exit.

    Reboot again:

    Power Control > Set Power Reset

    7. Boot from the Virtual CDROM

    Press F11 to invoke Boot Menu.

    Select "UEFI: ATEN Virtual CDROM YSOJ"

    8. Install Ubuntu Server

    Select "Try or Install Ubuntu Server

    Make a cup of tea while the installer loads this will take around 5 minutes.

    Select the language

    Select Ubuntu Server

    Set the archive mirror address: http://gb.archive.ubuntu.com/ubuntu/

    Custom Storage Layout

    Select "Reset"

    Delete all volumes and paritions, reformat each disk.

    Create the boot partition:

    Add a new partition to the first drive with:
    ```yaml
    Size: 2G
    Format: fat32
    Mount: /boot/efi
    ```
    Create the swap partitions:
    Add a new partition to each drive with:
    ```yaml
    Size: 8G
    Format: swap
    Mount: -
    ```
    Create the root parition:
    Add a new partition to each drive with:
    ```yaml
    Size: 100G
    Format: Leave unformatted
    Mount: -
    ```
    Select "Create software raid (md)"
    Set Raid Level `10`
    Select each `100G` partition
    Select "Create"

    Create the RAID 10 LVM:

    Add a new partition to each drive with:

    ```yaml
    Size: 1T
    Format: Leave unformatted
    Mount: -
    ```
    Select "Create software raid (md)"
    Set Raid Level `10`
    Select each `1T` partition
    Select "Create"
    Select "Create volume group (LVM)"
    Select the parition

    Create the RAID 0 LVM:

    Add a new partition to each drive with:

    ```yaml
    Size: [Leave blank to use all remaining]
    Format: Leave unformatted
    Mount: -
    ```
    Select "Create software raid (md)"
    Set Raid Level `0`
    Select each partition
    Select "Create"
    Select "Create volume group (LVM)"
    Select the parition