[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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
talk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware [2023/12/17 11:51 (UTC)] – created zeebratalk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware [2023/12/17 11:58 (UTC)] (current) – [Installing GRUB2] zeebra
Line 2: Line 2:
 https://www.linuxquestions.org/questions/slackware-14/grub2-in-slackware-discussion-and-instruction-4175727986/#post6447855 \\ https://www.linuxquestions.org/questions/slackware-14/grub2-in-slackware-discussion-and-instruction-4175727986/#post6447855 \\
  
-I don't want to update this page, since I don't use UEFI and don't want to start changing the current content and adding the new content in the right places and so fourth. Here is the content of that post: \\+I don't want to update this page, since I don't use UEFI and don't want to start changing the current content and adding the new content in the right places and so fourth. Making it a bit more readable/simple wouldn't hurt either. Here is the content of that post: \\
  
  
Line 9: Line 9:
  
 ===== Installing GRUB2 ===== ===== Installing GRUB2 =====
- 
-IF you have a hardware with the legacy BIOS, you should execute this command: 
-Code: 
- 
-<code>grub-install --target=i386-pc --recheck /dev/sdX</code> 
  
 IF you have a hardware using UEFI, you should mount /boot/efi and execute this command: IF you have a hardware using UEFI, you should mount /boot/efi and execute this command:
-Code: 
  
 <code>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Slackware --recheck</code> <code>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Slackware --recheck</code>
Line 23: Line 17:
  
 All you have to do is to execute this command: All you have to do is to execute this command:
-Code: 
  
 <code>grub-mkconfig -o /boot/grub/grub.cfg</code> <code>grub-mkconfig -o /boot/grub/grub.cfg</code>
 talk:howtos:slackware_admin:set_up_grub_as_boot_loader_on_uefi_based_hardware ()