README.raid-1-for-efi-partion: add missing steps..

This commit is contained in:
Christoph 2024-02-06 03:12:04 +01:00
parent 4fc1a5ab54
commit 725341a24f
2 changed files with 18 additions and 7 deletions

BIN
.README.mdadm.swp Normal file

Binary file not shown.

View File

@ -11,10 +11,11 @@ The steps are mainly:
During the partitioning, I've already created two identical partitions
marked as ESP partitions. They were on /dev/sda1 and /dev/sdb1
2.) umount /boot/efi
2.) Copie the contents of /boot/efi somewhere else (/boot/eficopy).
3.) Copie the contents of /boot/efi somewhere else (/boot/eficopy).
3.) umount /boot/efi
4.) Create an array for use as EFI partion.
@ -34,7 +35,7 @@ The steps are mainly:
6.) found the UUID of the partition in /dev/disk/by-uuid:
# ls -al /dev/disk/by-uuid/
# ls -al /dev/disk/by-uuid/
7.) Changed the /boot/efi entry in /etc/fstab with the new UUID
@ -44,12 +45,22 @@ The steps are mainly:
UUID=C354-2922 /boot/efi vfat umask=0077 0 1
8.) mount /boot/efi
8.) systemctl daemon-reload
9.) Copy the data from the backup into /boot/efi again
9.) mount /boot/efi
10.) Update initramfs:
10.) Copy the data from the backup into /boot/efi again
# update-initramfs -u -k all
11) mdadm: Scan config file or /proc/mdstat for missing information:
# mdadm --examine --scan
add row for new array to file /etc/mdadm/mdadm.conf
12.) Update initramfs:
# update-initramfs -u -k all