mkdir,mkstandalone,scp
This commit is contained in:
parent
d725b7ad0d
commit
0c5d05efbc
1 changed files with 21 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue