[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.

Welcome to the Slackware Documentation Project

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Порівняння попередніх версійПопередня ревізія
Наступна ревізія
Попередня ревізія
uk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware [2016/03/26 21:06 (UTC)] – [Встановлення завантажувача Grub на UEFI обладнання] streamthreaderuk: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). -->
- 
-====== Йде переклад, зачекайте... ====== 
  
 ====== Встановлення завантажувача Grub на UEFI обладнання ====== ====== Встановлення завантажувача Grub на UEFI обладнання ======
Рядок 15: Рядок 13:
 Наступна послідовність складається з Наступна послідовність складається з
  
-  - Встановлення Grub2-efi на завантажувальну USB флешку (Цей крок можна обійти, але безпечніше перевірити спочатку встановлення на флешку)+  - Встановлення Grub2-efi на завантажувальну USB флешку (Цей крок можна пропустити, але безпечніше перевірити спочатку встановлення на флешку)
   - Як тільки завантаження з USB флешки працює, Grub2-efi встановлюється на жорсткий диск   - Як тільки завантаження з USB флешки працює, Grub2-efi встановлюється на жорсткий диск
   - Модифікація завантажувального меню UEFI   - Модифікація завантажувального меню UEFI
  
-===== Install Grub2-efi =====+===== Встановлення Grub2-efi =====
  
- +Встановіть grub2 використовуючи slackbuild, але відредагуйте налаштування додавши
-Install grub2 using the slackbuild but modifying it by adding+
  
 <code> <code>
Рядок 28: Рядок 25:
 </code> </code>
  
-to ./configure+у ./configure
  
  
 +Потім дотримуйтесь інструкції з [[https://wiki.archlinux.org/index.php/Grub#UEFI_systems_2]]
  
- +Починаючи з монтування USB флеш носія у /boot/efi
-Then follow some of the instructions at [[https://wiki.archlinux.org/index.php/Grub#UEFI_systems_2]] +
- +
-starting with mounting the usb stick at /boot/efi+
 <code> <code>
 #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)
Рядок 46: Рядок 41:
  
  
-Configure grub.cfg with+Налаштуйте grub.cfg командою
  
 <code> <code>
 #grub-mkconfig -o /boot/grub/grub.cfg #grub-mkconfig -o /boot/grub/grub.cfg
 </code> </code>
-This process should have created a file on the USB stick+Цей процес повинен створити файл на USB носії
  
 /EFI/grub/grubx64.efi.  /EFI/grub/grubx64.efi. 
  
-At this point it is advisable that to check that it is possible to boot from the USB stick with grubx64.efi. If the UEFI system does not see it copy it to /EFI/BOOT/bootx64.efi+З цієї миті рекомендовано перевірити, чи можливо завантажити USB флеш носій з grubx64.efi. Якщо система UEFI не бачить ії, скопіюйте файл у /EFI/BOOT/bootx64.efi
  
-==== Installation of grubx64.efi to the hard drive ====+==== Встановлення grubx64.efi на жорсткий диск ====
  
-The EFI partition on the hard drive should be mountedThe partition will have a structure like this:+Розділ EFI жорсткого диску, повинен бути смонтованийЦей розділ повинен мати структуру як наприклад:
  
 /EFI/Boot/bootx64.efi /EFI/Boot/bootx64.efi
  
-There may be a folder /EFI/Microsoft/Boot and the efi file booting windows may be bootmgr.efi +Там може бути директорія /EFI/Microsoft/Boot та файл для завантаження windows bootmgr.efi
- +
-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 /EFI/Boot/bootx64.efi or /EFI/Microsoft/Bootbootmgr.efi) or to modify the UEFI boot menu. Replacing the existing file is likely to make it impossible to boot into Windows. If the intention is to set up a dual boot system then the UEFI boot menu has to be modified. +
  
-=== Modifying the UEFI boot menu ===+Кращим шляхом зараз, це створити окрему нову директорію, наприклад /EFI/Linux/ та покласти в неї grubx64.EFI.
  
 +З цієї миті, варто перевірити, чи бачить система UEFI новий пункт завантаження Linux, зазвичай це можна зробити натиснувши клавішу F8 під час завантаження комп'ютера. Якщо система UEFI бачить новий пункт, далі буде не складно встановити Linux як варіант за замовченням. Також якщо нового пункту немає, то потрібно замінити пацюючий файл .efi (наприклад /EFI/Boot/bootx64.efi чи /EFI/Microsoft/Bootbootmgr.efi) чи відредагувати меню завантаження UEFI. Заміна існуючого файлу призведе к неможливості завантажувати Windows. Якщо ви маєте намір зробити подвійне завантажування, то потрібно відредагувати меню завантаження UEFI.
  
 +=== Редагування меню завантаження UEFI ===
  
-Download efibootmger from [[http://linux.dell.com/efibootmgr/]]+Завантажте efibootmger з [[http://linux.dell.com/efibootmgr/]]
  
-untar itchange into the folder and run make+розпакуйте йогоувійдіть у нову директорію, та запустіть make
  
-Copy src/efibootmgr/efibootmgr into /usr/sbin and chown it to root.+Скопіюйте src/efibootmgr/efibootmgr у /usr/sbin та виконайте chown для root.
  
-Mount the efi partition of the hard drive to /boot/efi+Змонтуйте розділ efi жорсткого диску у директорію /boot/efi
 <code> <code>
 # mount /dev/sdXy -t vfat /boot/efi  # mount /dev/sdXy -t vfat /boot/efi 
-where X = drive and y = partition+де X = диск, та y = розділ
 # modprobe efivars # modprobe efivars
 # efibootmgr -c -g -d /dev/sdX -p Y -w -L "Linux" -l '\EFI\Linux\bootx64.efi'  # efibootmgr -c -g -d /dev/sdX -p Y -w -L "Linux" -l '\EFI\Linux\bootx64.efi' 
-assuming that the grubx64.efi file had been copied to \EFI\Linux\bootx64.efi+припускається що файл grubx64.efi скопійовано до \EFI\Linux\bootx64.efi
 </code> </code>
  
-On next reboot Linux with Grub comes up as an option on the boot menu+Під час наступного перезавантаження Linux з Grub, з'явиться меню у завантажувачі
-====== Sources ======+====== Джерела ======
 <!-- 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://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-Originally written by [[wiki:user:arubin | arubin]]+Автор статті [[wiki:user:arubin | arubin]]
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 uk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware ()