Ceci est une ancienne révision du document !


Installer GRUB en UEFI

# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Slackware

/boot/efi est la partition EF00 formaté en vfat. Slackware est le nom donné à l'entrée EFI.

Installer GRUB en Legacy-BIOS avec partitions GPT

Avec gdisk, il faut créer une partition sans système de fichiers (avant 2To) de type “EF02” avec le GUID 21686148-6449-6E6F-744E-656564454649 Puis lancer la commande :

# grub-install --target=i386-pc /dev/sdX

Configurer GRUB

# grub-mkconfig -o /boot/grub/grub.cfg

Personnellement je supprime les fichiers suivants :

# cd /etc/grub.d  
# rm 10_linux 20_linux_xen 41_custom  
# mv 40_custom 10_slackware  

Puis j'adapte /etc/grub.d/10_slackware grâce à /boot/grub/grub.cfg puis on relance à nouveau la commande :

# grub-mkconfig -o /boot/grub/grub.cfg

Merci à la documentation archlinux.

tuto/grub.1660494387.txt.gz · Dernière modification : 2022/08/14 18:26 de Thomas
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0