[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
Наступна ревізія | Попередня ревізія | ||
uk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware [2016/03/25 13:23 (UTC)] – створено streamthreader | uk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware [2016/03/27 06:31 (UTC)] (поточний) – streamthreader | ||
---|---|---|---|
Рядок 1: | Рядок 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== | + | ====== |
- | ====== Set up Grub as boot loader on UEFI hardware ====== | + | Встановлення та запуск Slackware на комп’ютер який використовує (Уніфікований Розширювальний Інтерфейс Прошивок Unified Extensible Firmware Interface (UEFI)) складніше, |
+ | Не можливо завантажити офіційний диск встановлювача напряму через UEFI, так як той не містить завантажувача UEFI. | ||
- | Installation and running of Slackware | + | Процес встановлення |
+ | На тій сторінці описано процес створення USB носія, який буде у в змозі завантажити slackware. | ||
- | Installation of Slackware on UEFI systems is described in the page [[http:// | + | На цій сторінці описано встановлення завантажувача Grub2 для систем базованих на UEFI. Grub2 має перевагу, |
- | That page describes production of a USB disk which can used to boot slackware. | + | Наступна послідовність складається з |
- | This page describe installation of Grub2 as bootloader for UEFI based systems. | + | - Встановлення |
+ | - Як тільки завантаження з USB флешки працює, | ||
+ | - Модифікація завантажувального меню | ||
- | The sequence followed is that of | + | ===== Встановлення Grub2-efi ===== |
- | - Installation of Grub2-efi to a USB boot stick (This stage can be bypassed but it might be safer to check carry out the installation to a USB stick first) | + | Встановіть |
- | - Once booting from the USB stick is working Grub2-efi is installed on the hard drive | + | |
- | - Modification of the UEFI boot menu | + | |
- | + | ||
- | + | ||
- | ===== Install Grub2-efi ===== | + | |
- | + | ||
- | + | ||
- | Install | + | |
< | < | ||
Рядок 29: | Рядок 25: | ||
</ | </ | ||
- | to ./configure | + | у ./configure |
+ | Потім дотримуйтесь інструкції з [[https:// | ||
- | + | Починаючи з монтування USB флеш носія у /boot/efi | |
- | Then follow some of the instructions at [[https:// | + | |
- | + | ||
- | starting with mounting the usb stick at /boot/efi | + | |
< | < | ||
#mount /dev/sdc1 -t vfat /boot/efi (where sdc1 is your USB stick) | #mount /dev/sdc1 -t vfat /boot/efi (where sdc1 is your USB stick) | ||
Рядок 47: | Рядок 41: | ||
- | Configure | + | Налаштуйте |
< | < | ||
# | # | ||
</ | </ | ||
- | This process should have created a file on the USB stick | + | Цей процес повинен створити файл на USB носії |
/ | / | ||
- | At this point it is advisable that to check that it is possible to boot from the USB stick with grubx64.efi. | + | З цієї миті рекомендовано перевірити, |
- | ==== Installation of grubx64.efi | + | ==== Встановлення |
- | The EFI partition on the hard drive should be mounted. The partition will have a structure like this: | + | Розділ |
/ | / | ||
- | There may be a folder | + | Там може бути директорія |
- | + | ||
- | The safest way of proceeding at this stage is to create a new folder, for example /EFI/Linux/ and place grubx64.EFI in there. | + | |
- | + | ||
- | At this point it may be worth testing if the UEFI system is able to see the new Linux boot option or not, usually by pressing F8 on booting the computer. If it does then it should be straightforward to set this as a default option. It is also likely that it is not seen. If that is the case the choice it to either replace the working .efi (for example / | + | |
- | === Modifying the UEFI boot menu === | + | Кращим шляхом зараз, це створити окрему нову директорію, |
+ | З цієї миті, варто перевірити, | ||
+ | === Редагування меню завантаження UEFI === | ||
- | Download | + | Завантажте |
- | untar it, change into the folder and run make | + | розпакуйте його, увійдіть у нову директорію, |
- | Copy src/ | + | Скопіюйте |
- | Mount the efi partition of the hard drive to /boot/efi | + | Змонтуйте розділ |
< | < | ||
# mount /dev/sdXy -t vfat / | # mount /dev/sdXy -t vfat / | ||
- | where X = drive and y = partition | + | де X = диск, та y = розділ |
# modprobe efivars | # modprobe efivars | ||
# efibootmgr -c -g -d /dev/sdX -p Y -w -L " | # efibootmgr -c -g -d /dev/sdX -p Y -w -L " | ||
- | assuming that the grubx64.efi | + | припускається що файл |
</ | </ | ||
- | On next reboot | + | Під час наступного перезавантаження |
- | ====== | + | ====== |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | + | * Автор статті |
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||