README.raid-1-for-efi-partion: further adjustment..
This commit is contained in:
parent
f98385fa82
commit
3c7531d016
@ -14,8 +14,12 @@ The steps are mainly:
|
|||||||
|
|
||||||
2.) Copie the contents of /boot/efi somewhere else (/boot/eficopy).
|
2.) Copie the contents of /boot/efi somewhere else (/boot/eficopy).
|
||||||
|
|
||||||
|
# cp -a /boot/efi /boot/eficopy
|
||||||
|
|
||||||
3.) umount /boot/efi
|
|
||||||
|
3.) Unmount EFI boot partition
|
||||||
|
|
||||||
|
# umount /boot/efi
|
||||||
|
|
||||||
|
|
||||||
4.) Create an array for use as EFI partion.
|
4.) Create an array for use as EFI partion.
|
||||||
@ -30,11 +34,14 @@ The steps are mainly:
|
|||||||
# mdadm --create --verbose /dev/md3 --level=1 --raid-devices=2 --metadata=1.0 /dev/sda1 /dev/sdb1
|
# mdadm --create --verbose /dev/md3 --level=1 --raid-devices=2 --metadata=1.0 /dev/sda1 /dev/sdb1
|
||||||
|
|
||||||
|
|
||||||
5.) mkfs.vfat /dev/md3
|
5.) Create vfat filesystem on created raid array
|
||||||
|
|
||||||
|
# mkfs.vfat /dev/md3
|
||||||
|
|
||||||
|
|
||||||
6.) found the UUID of the partition in /dev/disk/by-uuid:
|
6.) found the UUID of the partition in /dev/disk/by-uuid:
|
||||||
|
|
||||||
|
# blkid /dev/md3
|
||||||
# ls -al /dev/disk/by-uuid/
|
# ls -al /dev/disk/by-uuid/
|
||||||
|
|
||||||
|
|
||||||
@ -45,14 +52,20 @@ The steps are mainly:
|
|||||||
UUID=C354-2922 /boot/efi vfat umask=0077 0 1
|
UUID=C354-2922 /boot/efi vfat umask=0077 0 1
|
||||||
|
|
||||||
|
|
||||||
8.) systemctl daemon-reload
|
8.) Reload systemd
|
||||||
|
|
||||||
|
# systemctl daemon-reload
|
||||||
|
|
||||||
|
|
||||||
9.) mount /boot/efi
|
9.) Mount new EFI partition as configured in #/etc/fstab'
|
||||||
|
|
||||||
|
# mount /boot/efi
|
||||||
|
|
||||||
|
|
||||||
10.) Copy the data from the backup into /boot/efi again
|
10.) Copy the data from the backup into /boot/efi again
|
||||||
|
|
||||||
|
# cp -a /boot/eficopy/* /boot/efi/
|
||||||
|
|
||||||
|
|
||||||
11) mdadm: Scan config file or /proc/mdstat for missing information:
|
11) mdadm: Scan config file or /proc/mdstat for missing information:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user