From 0c5d05efbcb76d12f63f0adac39be357cd162a40 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 13 Jul 2019 16:56:06 +0200 Subject: [PATCH] mkdir,mkstandalone,scp --- in/private/server/index.rst | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/in/private/server/index.rst b/in/private/server/index.rst index c58e11d..e1030a1 100644 --- a/in/private/server/index.rst +++ b/in/private/server/index.rst @@ -57,6 +57,15 @@ Partitions mkfs.vfat -n boot /dev/sda2 mkfs.vfat -n boot /dev/sdb2 +.. code:: shell + + cd /mnt + mkdir a2 b2 + mount /dev/sda2 a2 + mount /dev/sdb2 b2 + mkdir --parents a2/efi/boot + mkdir --parents b2/efi/boot + Boot ---- @@ -89,4 +98,15 @@ Prepare a grub.cfg .. code:: shell - grub-mkstandalone + grub-mkstandalone \ + --verbose \ + --compress xz \ + --format x86_64-efi \ + --output bootx64.efi \ + --themes "" \ + boot/grub/grub.cfg=grub.cfg + +.. code:: shell + + scp bootx64.efi root@rwx.work:/mnt/a2/efi/boot/ + scp bootx64.efi root@rwx.work:/mnt/b2/efi/boot/