Btrfs before install notes

From ZENotes
(Difference between revisions)
Jump to: navigation, search
(Before Pacstrap)
Line 1: Line 1:
Set up BTRFS before install, according to [https://www.youtube.com/watch?v=maIu1d2lAiI this guide]
+
Set up BTRFS ''before install'', according to [https://www.youtube.com/watch?v=maIu1d2lAiI this guide]
 +
 
 +
(You are booted in the Arch Live environment meant to install Arch on your machine or VM)
  
 
==Before Pacstrap==
 
==Before Pacstrap==
Line 8: Line 10:
  
 
==Partitionning==
 
==Partitionning==
 +
 
  fdisk /dev/vda
 
  fdisk /dev/vda
  
* Use '''g''' to create a GPT partition table
+
* Use '''g''' to create a GPT partition table on /dev/vda1
  
* Use '''n''' to create a frist EFI partition
+
* Use '''n''' to create a first EFI partition
  
 
* Use +300M to make it 300M in size
 
* Use +300M to make it 300M in size
Line 25: Line 28:
  
 
==Formatting==
 
==Formatting==
 +
 +
* mkfs.fat -F 32 /dev/vda1
 +
* mkfs.btrfs /dev/vda2
 +
 +
==Start mounting an dplaying with BTRFS (04:50)==
 +
 +
* mount /dev/vda2 /mnt
 +
 +
* create subvolumes with
 +
 +
btrfs subvolume create /mnt/@
 +
btrfs subvolume create /mnt/@home
 +
btrfs subvolume create /mnt/@snapshots
 +
 +
(Reminder : subvolumes don't create snapshots of nested subvolumes ; here @ won't contain @home or @snapshots data)

Revision as of 16:03, 29 November 2023

Set up BTRFS before install, according to this guide

(You are booted in the Arch Live environment meant to install Arch on your machine or VM)

Contents

Before Pacstrap

loadkeys for your keyboard
Select device with fdisk -l ; VM devices starts with V here, as in /dev/vda1 et

Partitionning

fdisk /dev/vda

Formatting

Start mounting an dplaying with BTRFS (04:50)

btrfs subvolume create /mnt/@
btrfs subvolume create /mnt/@home
btrfs subvolume create /mnt/@snapshots

(Reminder : subvolumes don't create snapshots of nested subvolumes ; here @ won't contain @home or @snapshots data)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox