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 8f20031bec amélioration pour fstab 4 weeks ago
OVH-RISE-3.sh Ajouter scripts pour RISE-3 OVH 6 months ago
OVH-STOR-1-gen2.sh amélioration pour fstab 4 weeks ago
OVH-STOR-1.sh Ajout du script pour STOR-1 7 months ago
OVH-STOR-2.sh Procédure d'installation d'un OVH-STOR-2 en serveur de backup 1 year ago
OVH-SYS_Hard_RAID_KVMServer.sh Mount /run on rootfs 1 year ago
OVH-SYS_Hard_RAID_KVMServer_EFI.sh Mount /run on rootfs 1 year ago
OVH-SYS_Hard_RAID_SpecialServer_2VOLSRAID_GPT.sh Mount /run on rootfs 1 year ago
OVH-SYS_Hard_RAID_StandardServer.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 1 year ago
OVH-SYS_Hard_RAID_StandardServer_EFI.sh OVH-SYS_Hard_RAID_StandardServer_EFI validé pour OVH INFRA-3 10 months ago
OVH-SYS_Soft_RAID1_BackupServer.sh Mount /run on rootfs 1 year ago
OVH-SYS_Soft_RAID1_StandardServer_EFI_NVMe.sh Mettre à jour OVH-SYS_Soft_RAID1_StandardServer_EFI_NVMe 6 months ago
OVH-SYS_Soft_RAID5_BackupServer.sh Correction construction configuration mdadm.conf 11 months ago
OVH-SYS_Soft_RAID5_StandardServer_EFI_NVMe.sh script pour OVH INFRA-2 9 months ago
OVH-SYS_Soft_RAID10_StandardServer_EFI.sh Mount /run on rootfs 1 year ago
OVH-SYS_Soft_RAID50_BackupServer.sh Mount /run on rootfs 1 year ago
OVH-SYS_Soft_RAID_StandardServer_EFI.sh Mount /run on rootfs 1 year ago
OVH-SYS_Soft_RAID_StandardServer_EFI_NVMe.sh Mount /run on rootfs 1 year ago
Online_Hard_RAID_BackupServer.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 1 year ago
Online_Hard_RAID_BackupServer_EFI.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 1 year ago
Online_Hard_RAID_KVMServer.sh Mount /run on rootfs 1 year ago
Online_Hard_RAID_StandardServer.sh Amélioration script Online_Hard_RAID_StandardServer.sh 11 months ago
Online_Soft_RAID1_BackupServer.sh whitespace 12 months ago
Online_Soft_RAID1_StandardServer.sh Mount /run on rootfs 1 year ago
Online_Soft_RAID5_NVMEServer.sh Mount /run on rootfs 1 year ago
Online_Soft_RAID5_StandardServer.sh Mount /run on rootfs 1 year ago
Online_Soft_RAID10_NVMEServer.sh Mount /run on rootfs 1 year ago
README.md Initial scripts commit 2 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 ;)