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.
install-ubuntu-on-ovh.md
  1. Boot into Rescue mode

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

  1. Download and run the Remote KVM Java Applet

  2. 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.

  1. 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"

  1. Restart the server

Power Control > Set Power Reset

  1. 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

  1. Boot from the Virtual CDROM

Press F11 to invoke Boot Menu.

Select "UEFI: ATEN Virtual CDROM YSOJ"

  1. 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:

Size: 2G
Format: fat32
Mount: /boot/efi

Create the swap partitions:

Add a new partition to each drive with:

Size: 8G
Format: swap
Mount: -

Create the root parition:

Add a new partition to each drive with:

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:

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:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment