Skip to content

Instantly share code, notes, and snippets.

@fevangelou
fevangelou / Software RAID 1 setup on Ubuntu Server 20.04.md
Last active March 1, 2024 01:02
Software RAID 1 setup on Ubuntu Server 20.04 (or newer)

Looking to create a Software RAID 1 setup for your 2-disk server on Ubuntu Server 20.04?

Screen Shot 2020-06-05 at 20 55 31

Let's start with the basics: the official guide by Ubuntu (https://ubuntu.com/server/docs/install/storage) is outdated/wrong. And as of March 2021 it's possible that there's a bug as well with how the bios_grub partitions are created when using multiple disks.

Now on to the solution:

  • Select "Custom storage layout" when you reach the storage configuration step of the installer.
  • If the disks have existing partitions, click on each disk under AVAILABLE DEVICES and then select REFORMAT. This will (temporarily) wipe out the partitions.
// ==UserScript==
// @name FullScreen grab keyboard.
// @version 0.1
// @description Let the html page get exclusive access to the keyboard when in full screen. This is handy for games or remote desktop.
// @match http://PUT_YOUR_WEBSITE_HERE/*
// @grant none
// @noframes
// @author toff
// ==/UserScript==