A collection of scripts to remodel partitions on a freshly installed server (Online/Scaleway or OVH/SoYouStart) with variants for boot types (BIOS or EFI) and RAID types (hard or soft).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jérémy Lecour 60f31b4cd4 Initial scripts commit 1 month ago
OVH-SYS_Hard_RAID_KVMServer.sh Initial scripts commit 1 month ago
OVH-SYS_Hard_RAID_KVMServer_EFI.sh Initial scripts commit 1 month ago
OVH-SYS_Hard_RAID_SpecialServer_2VOLSRAID_GPT.sh Initial scripts commit 1 month ago
OVH-SYS_Hard_RAID_StandardServer.sh Initial scripts commit 1 month ago
OVH-SYS_Hard_RAID_StandardServer_EFI.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID1_BackupServer.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID1_StandardServer_EFI_NVMe.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID5_StandardServer_EFI_NVMe.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID10_StandardServer_EFI.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID50_BackupServer.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID_StandardServer_EFI.sh Initial scripts commit 1 month ago
OVH-SYS_Soft_RAID_StandardServer_EFI_NVMe.sh Initial scripts commit 1 month ago
Online_Hard_RAID_KVMServer.sh Initial scripts commit 1 month ago
Online_Hard_RAID_StandardServer.sh Initial scripts commit 1 month ago
Online_Soft_RAID1_BackupServer.sh Initial scripts commit 1 month ago
Online_Soft_RAID5_NVMEServer.sh Initial scripts commit 1 month ago
Online_Soft_RAIDx_StandardServer.sh Initial scripts commit 1 month ago
README.md Initial scripts commit 1 month ago

README.md

Rescue Install

A collection of scripts to remodel partitions on a freshly installed server (Online/Scaleway or OVH/SoYouStart).

It includes many variants of boot types (BIOS or EFI) and RAID types (hard or soft).

Those scripts and their main structure come from an original implementation by Benoit Serie.

Usage

You should first determine if the server is installed by Online/Scaleway or OVH/SoYouStart. Then if it has soft RAID or hardware RAID capabilities. And finaly if th eboot is BIOS or EFI.

Boot your server in rescue mode.

The scripts are not exactly meant to be executed from top to bottom in one go. They are not smart and the slighest change can break you server.

You should copy/past sections of the script and carefully look for errors in commands output.

Some scripts tend to reuse some partitions (/boot and /boot/efi) but the more recent ones tend to rebuild everything.

The scripts for soft RAID are easily adapted to various RAID configurations.

The scripts for hard RAID are independent of the RAID configuration. The OS doesn't see the physical disks.

FAQ

Why sleep after nearly every command?

Some commands are really fast but the kernel needs a moment to commit the changes. By adding a second of sleep time between commands, we make sure that noone steps on anyone's toe.

Why remove os-prober?

It messes with the Grub configuration.

Why does parted give errors about alignment?

No idea! Please investigate and come back with improvments ;)