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).
Go to file
Brice Waegeneire 8864ee6a9a add OVH-SYS_Soft_RAID1_BackupServer_EFI_SATA.sh 2024-02-21 13:56:58 +01:00
OVH-RISE-3.sh Ajouter scripts pour RISE-3 OVH 2021-11-15 16:23:54 +01:00
OVH-STOR-1-gen2.sh amélioration pour fstab 2022-04-26 11:23:02 +02:00
OVH-STOR-1.sh RISE-STOR-1 OK 2022-09-01 11:23:19 +02:00
OVH-STOR-2.sh Procédure d'installation d'un OVH-STOR-2 en serveur de backup 2021-03-29 22:57:05 +02:00
OVH-SYS_Hard_RAID_KVMServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Hard_RAID_KVMServer_EFI.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Hard_RAID_SpecialServer_2VOLSRAID_GPT.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Hard_RAID_StandardServer.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2021-03-11 22:50:44 +01:00
OVH-SYS_Hard_RAID_StandardServer_EFI.sh OVH-SYS_Hard_RAID_StandardServer_EFI validé pour OVH INFRA-3 2021-07-20 11:09:20 +02:00
OVH-SYS_Soft_RAID1_BackupServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Soft_RAID1_BackupServer_EFI_SATA.sh add OVH-SYS_Soft_RAID1_BackupServer_EFI_SATA.sh 2024-02-21 13:56:58 +01:00
OVH-SYS_Soft_RAID1_KVMServer_EFI_NVMe.sh Ajout OVH-SYS_Soft_RAID1_KVMServer_EFI_NVMe.sh 2023-01-17 16:36:34 +01:00
OVH-SYS_Soft_RAID1_StandardServer_EFI_NVMe.sh Ajout commentaire pour serveurs RISE-1 2022-10-17 10:38:52 +02:00
OVH-SYS_Soft_RAID5_BackupServer.sh Correction construction configuration mdadm.conf 2021-06-15 12:01:09 +02:00
OVH-SYS_Soft_RAID5_StandardServer_EFI_NVMe.sh script pour OVH INFRA-2 2021-08-27 16:28:34 +02:00
OVH-SYS_Soft_RAID10_StandardServer_EFI.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Soft_RAID50_BackupServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Soft_RAID_StandardServer_EFI.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
OVH-SYS_Soft_RAID_StandardServer_EFI_NVMe.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
Online_Hard_RAID_BackupServer.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2021-03-11 22:50:44 +01:00
Online_Hard_RAID_BackupServer_EFI.sh Ajout de scripts pour serveurs de backup en RAID Hard chez Online 2021-03-11 22:50:44 +01:00
Online_Hard_RAID_KVMServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
Online_Hard_RAID_StandardServer.sh fix /usr en trop 2022-08-23 17:50:45 +02:00
Online_Soft_RAID1_BackupServer.sh whitespace 2021-06-14 17:35:19 +02:00
Online_Soft_RAID1_StandardServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
Online_Soft_RAID5_NVMEServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
Online_Soft_RAID5_StandardServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
Online_Soft_RAID10_NVMEServer.sh Mount /run on rootfs 2021-03-08 10:48:27 -05:00
README.md Initial scripts commit 2020-04-26 22:41:40 +02:00

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 ;)