-
-
Save rsyuzyov/cf62370c5acaf6f8af8e4c913ecb816e to your computer and use it in GitHub Desktop.
uefi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Диск должен иметь разметку gpt | |
| Создать раздел на 512M (cfdisk или cgdisk, порядок расположения разделов неважен), тип - EFI (EFI SYSTEM | EFISYS | ESP) | |
| Отформатировать в FAT: mkfs.vfat /dev/sdX, смонтировать например в /mnt/boot | |
| Создать каталог /efi/boot | |
| Взять любой загрузчик в /efi/boot, переименовать в bootx64.efi. | |
| - в случае grub: cp /boot/efi/EFI/debian/grubx64.efi /mnt/boot/bootx64.efi | |
| - в случае rfind: cp /boot/efi/EFI/refind/* /mnt/boot | |
| mv /mnt/boot/refind_x64.efi /mnt/boot/bootx64.efi | |
| Положить рядом конфиг для загрузчика (в случае grub: cp /boot/grub/grub.cfg /mnt/boot/, в случае refind уже скопировали вместе с загрузчиком) | |
| В конфиге прописать меню загрузки |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment