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 cannot 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 bcb38d49db Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2 years ago
OVH-SYS_Hard_RAID_KVMServer.sh Mount /run on rootfs 2 years ago
OVH-SYS_Hard_RAID_KVMServer_EFI.sh Mount /run on rootfs 2 years ago
OVH-SYS_Hard_RAID_SpecialServer_2VOLSRAID_GPT.sh Mount /run on rootfs 2 years ago
OVH-SYS_Hard_RAID_StandardServer.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2 years ago
OVH-SYS_Hard_RAID_StandardServer_EFI.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID1_BackupServer.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID1_StandardServer_EFI_NVMe.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID5_StandardServer_EFI_NVMe.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID10_StandardServer_EFI.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID50_BackupServer.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID_StandardServer_EFI.sh Mount /run on rootfs 2 years ago
OVH-SYS_Soft_RAID_StandardServer_EFI_NVMe.sh Mount /run on rootfs 2 years ago
Online_Hard_RAID_BackupServer.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2 years ago
Online_Hard_RAID_BackupServer_EFI.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2 years ago
Online_Hard_RAID_KVMServer.sh Mount /run on rootfs 2 years ago
Online_Hard_RAID_StandardServer.sh Mount /run on rootfs 2 years ago
Online_Soft_RAID1_BackupServer.sh Mount /run on rootfs 2 years ago
Online_Soft_RAID1_StandardServer.sh Mount /run on rootfs 2 years ago
Online_Soft_RAID5_NVMEServer.sh Mount /run on rootfs 2 years ago
Online_Soft_RAID5_StandardServer.sh Mount /run on rootfs 2 years ago
Online_Soft_RAID10_NVMEServer.sh Mount /run on rootfs 2 years ago
README.md Initial scripts commit 3 years 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 ;)