Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
doc:install:refind-boot-uefi [14/08/2013 14:48] mytux [Installation] |
doc:install:refind-boot-uefi [14/08/2013 15:20] mytux |
||
---|---|---|---|
Ligne 162: | Ligne 162: | ||
=====Configuration===== | =====Configuration===== | ||
+ | |||
+ | On approche de la fin, et on entame la partir la plus marrante. | ||
+ | |||
+ | Toutes la configuration ce fait dans le fichier refind.conf. | ||
+ | |||
+ | Jeter un oeil sur la page de Roderick W. Smith, [[http://www.rodsbooks.com/refind/configfile.html|Configuring the Boot manager]]. | ||
+ | |||
+ | Et aussi, le fichier example.conf qu'on a rennomer tout à l'heure. | ||
+ | |||
+ | <code> | ||
+ | $ nano refind.conf | ||
+ | </code> | ||
+ | |||
+ | Mon fichier refind.conf: | ||
+ | |||
+ | <file> | ||
+ | # Comme pour Grub délais avant la sélection par défaut. | ||
+ | timeout 10 | ||
+ | |||
+ | # Chemin du répertoire de vos icons | ||
+ | icons_dir EFI/boot/icons | ||
+ | |||
+ | # Affichage en texte seulement, je trouve cela plus pratique. | ||
+ | textonly | ||
+ | |||
+ | Pour l'afichage graphic | ||
+ | #resolution 1024 768 | ||
+ | |||
+ | # Util pour Mac et Linux stub loader | ||
+ | #use_graphics_for osx | ||
+ | #use_graphics_for linux | ||
+ | |||
+ | # Pour avoir accès au Shell EFI, quitté etc ... | ||
+ | showtools shell, about, reboot, exit | ||
+ | |||
+ | |||
+ | # Chemin du répertoire de vos drivers (super important) | ||
+ | scan_driver_dirs EFI/boot/drivers_x64 | ||
+ | |||
+ | # Défaut sur PC | ||
+ | scanfor internal,external,optical,manual | ||
+ | |||
+ | # Temps du scan. | ||
+ | scan_delay 1 | ||
+ | |||
+ | # Pour filtrer la sortie du scan. | ||
+ | dont_scan_dirs EFI/linuxmint,boot | ||
+ | |||
+ | # Pour le mode grahics nombre d'étiquette sur l'écran. | ||
+ | #max_tags 0 | ||
+ | |||
+ | #Sélection par défault. | ||
+ | default_selection Crunch_Live | ||
+ | |||
+ | menuentry Crunch_Live { | ||
+ | icon /EFI/boot/icons/os_debian.icns | ||
+ | # "1:" Deuxième partion de votre clé USB, "O:" étant votre ESP. | ||
+ | volume 1: | ||
+ | #Chemin de votre kernel, regardez votre syslinux.cfg. | ||
+ | loader /live/vmlinuz | ||
+ | # Chemin de votre image RAM. | ||
+ | initrd /live/initrd.img | ||
+ | # UUID de /dev/sdx2 ( commande <blkid> ) | ||
+ | # add_efi_memmap ( à mettre dans tous les cas) | ||
+ | # Les autres options sont recopier du syslinux.cfg. | ||
+ | options "ro root=UUID=C847-7244 add_efi_memmap config boot=live" | ||
+ | osype Linux | ||
+ | graphics off | ||
+ | } | ||
+ | </file> | ||
+ | |||
+ | Pour vous aider vous aurez besoin du fichier syslinux.cfg générer par Unetbootin : | ||
+ | |||
+ | <code> | ||
+ | $ cd /media/usb1 | ||
+ | $ cat syslinux.cfg | ||
+ | default menu.c32 | ||
+ | prompt 0 | ||
+ | menu title UNetbootin | ||
+ | timeout 100 | ||
+ | |||
+ | label unetbootindefault | ||
+ | menu label Default | ||
+ | kernel /ubnkern | ||
+ | append initrd=/ubninit boot=live config quiet | ||
+ | |||
+ | label ubnentry0 | ||
+ | menu label Live Session | ||
+ | kernel /live/vmlinuz | ||
+ | append initrd=/live/initrd.img boot=live config quiet | ||
+ | |||
+ | label ubnentry1 | ||
+ | menu label Install | ||
+ | kernel /install/gtk/vmlinuz | ||
+ | append initrd=/install/gtk/initrd.gz video=vesa:ywrap,mtrr vga=788 quiet file=/cdrom/install/crunchbang.cfg | ||
+ | |||
+ | label ubnentry2 | ||
+ | menu label Memory Test | ||
+ | kernel /live/memtest | ||
+ | append initrd=/ubninit | ||
+ | |||
+ | $ | ||
+ | </code> | ||
+ | |||
+ | |||