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 [10/08/2013 19:43] mytux |
doc:install:refind-boot-uefi [10/08/2013 20:37] mytux [UEFI & EFI] |
||
---|---|---|---|
Ligne 7: | Ligne 7: | ||
- | ====== UEFI & EFI ====== | + | ====== UEFI & EFI ( EN chantier )====== |
Toutes les versions 64bits des PC qui exécutent Windows certifié par le programme de certification Windows utilisent l’UEFI à la place du BIOS. | Toutes les versions 64bits des PC qui exécutent Windows certifié par le programme de certification Windows utilisent l’UEFI à la place du BIOS. | ||
Ligne 108: | Ligne 108: | ||
**Table 1 Commands from Default Build Shell** | **Table 1 Commands from Default Build Shell** | ||
- | ^ Commandes ^ Description | + | ^ Commandes ^ Description |
- | | alias | Displays, creates, or deletes aliases in the EFI Shell. | + | | alias | Displays, creates, or deletes aliases in the EFI Shell. | |
- | | attrib | Displays or changes the attributes of files or directories | + | | attrib | Displays or changes the attributes of files or directories | |
- | | cd | Displays or changes the current directory | + | | cd | Displays or changes the current directory | |
- | | cls | Clears the standard output and optionally changes the background color | + | | cls | Clears the standard output and optionally changes the background color | |
- | | connect | Binds a driver to a specific device and starts the driver | + | | connect | Binds a driver to a specific device and starts the driver | |
- | | cp | Copies one or more source files or directories to a destination | + | | cp | Copies one or more source files or directories to a destination | |
- | | date | Displays and sets the current date for the system | + | | date | Displays and sets the current date for the system | |
- | | del | Deletes one or more files or directories | + | | del | Deletes one or more files or directories | |
- | | dh | Displays the device handles in the EFI environment | + | | dh | Displays the device handles in the EFI environment | |
- | | dir | Lists directory contents or file information | + | | dir | Lists directory contents or file information | |
- | | disconnect | Disconnects one or more drivers from the specified devices | + | | disconnect | Disconnects one or more drivers from the specified devices | |
- | | drivers | Displays a list of information for drivers | + | | drivers | Displays a list of information for drivers | |
- | | drvcfg | Invokes the Driver Configuration Protocol | + | | drvcfg | Invokes the Driver Configuration Protocol | |
- | | drvdiag | Invokes the Driver Diagnostics Protocol | + | | drvdiag | Invokes the Driver Diagnostics Protocol | |
- | | echo | Displays messages or turns command echoing on or off | + | | echo | Displays messages or turns command echoing on or off | |
- | | exit | Exits the EFI Shell environment | + | | exit | Exits the EFI Shell environment | |
- | | help | Displays the list of commands that are built into the EFI Shell | + | | help | Displays the list of commands that are built into the EFI Shell | |
- | | load | Loads an EFI driver into memory | + | | load | Loads an EFI driver into memory | |
- | | ls | Lists a directory's contents or file information | + | | ls | Lists a directory's contents or file information | |
- | | map | Defines a mapping between a user-defined name and a device handle | + | | map | Defines a mapping between a user-defined name and a device handle | |
- | | mkdir | Creates one or more new directories | + | | mkdir | Creates one or more new directories | |
- | | mv | Moves one or more files to a destination within a file system | + | | mv | Moves one or more files to a destination within a file system | |
- | | reconnect | Reconnects drivers to the specific device | + | | reconnect | Reconnects drivers to the specific device | |
- | | reset | Resets the system | + | | reset | Resets the system | |
- | | rm | Deletes one or more files or directories | + | | rm | Deletes one or more files or directories | |
- | | set | Used to maintain the environment variables | + | | set | Used to maintain the environment variables | |
- | | time | Displays or sets the current time for the system | + | | time | Displays or sets the current time for the system | |
- | | touch | Updates the time and date on a file to the current time and date | + | | touch | Updates the time and date on a file to the current time and date | |
- | | type | Sends the contents of a file to the standard output device | + | | type | Sends the contents of a file to the standard output device | |
- | | unload | Unloads a driver image that was already loaded | + | | unload | Unloads a driver image that was already loaded | |
- | | ver | Displays the version information for this EFI firmware | + | | ver | Displays the version information for this EFI firmware | |
- | | vol | Displays the volume information for the file system | + | | vol | Displays the volume information for the file system | |
- | + | ||
- | **Table 2 Additional Commands from Full Build Shell** | + | |
- | + | ||
- | ^ Commandes ^ Description | + | |
- | *comp Compares the contents of two files on a byte for byte basis | + | |
- | *dblk Displays the contents of one or more blocks from a block device | + | |
- | *devices Displays the list of devices managed by EFI drivers | + | |
- | *devtree This command displays the tree of devices | + | |
- | *dmem Displays the contents of system or device memory | + | |
- | *dmpstore Manages all EFI NVRAM variables | + | |
- | *edit Full screen editor for ASCII or UNICODE files | + | |
- | *eficompress Compress a file | + | |
- | *efidecompress Decompress a file | + | |
- | *err Displays or changes the error level in the system | + | |
- | *guid Displays all registered EFI GUIDs | + | |
- | *hexedit Full screen hex editor for files, block devices, or memory | + | |
- | *ipconfig Displays or modifies the current IP configuration | + | |
- | *loadpcirom Loads a PCI Option ROM from the specified file | + | |
- | *mem Displays the contents of system or device memory | + | |
- | *memmap Displays the memory map maintained by the EFI environment | + | |
- | *mm Displays or modifies MEM/MMIO/IO/PCI/PCIE address space | + | |
- | *mode Displays or changes the console output device mode | + | |
- | *openinfo Displays the protocols and agents associated with a handle | + | |
- | *pci Displays PCI device list or PCI function configuration space | + | |
- | *sermode Sets serial port attributes | + | |
- | *smbiosview Displays SMBIOS information | + | |
- | *telnetmgmt Change terminal type | + | |
- | *timezone Displays or sets time zone information | + | |
- | + | ||
- | Autant dire qu' il y-a de quoi s'amuser. | + | |
| | ||
- | ===== A : Introduction ===== | + | ===== rEFIND ===== |
- | Depuis peu, certain ordinateurs achetés dans le commerce avec windows préinstallé sont équipés de ce nouveau firmware apppelé UEFI. | ||
- | |||
- | Qu'est ce que l'UEFI ? | ||
- | |||
- | //Citation Wipedia : | ||
- | "La norme Unified Extensible Firmware Interface (UEFI, « interface micro-logicielle extensible unifiée ») définit un logiciel intermédiaire entre le micrologiciel (firmware) et le système d'exploitation (OS) d'un ordinateur. Cette interface succède sur certaines cartes-mères au BIOS. Elle fait suite à EFI (Extensible Firmware Interface), conçue par Intel pour les processeurs Itanium."// | ||
- | |||
- | Malheureusement toutes les distributions ne sont pas équipées d' un bootloader capable de démarrer sur ce nouveau logiciel, heureusement un certain Roderick W.Smith à développer un fork de Refit. Refind un bootmanager qui donne la main à un bootloader traditionnel. | ||
Page officiel de Refind: http://www.rodsbooks.com/refind/ | Page officiel de Refind: http://www.rodsbooks.com/refind/ | ||
- | ===== Installation ===== | + | =====Installation===== |
- | ==== Prérequis : ==== | + | Si vous prenez ce Tuto, en cours de route, remontez un peu [[manuel:refind_boot_uefi#uefi_shell]] il faut que notre clef USB est un système de fichier GPT ainsi qu'une partition FAT32. |
- | - Un support usb (de 1 à 2 go minimum, selon la taille de votre iso) | + | On peut maintenant télécharger ce fameux bootmanager, rendez-vous sur [[http://sourceforge.net/projects/refind/|Sourceforge.net]] et télécharger la dernières version des binaires au formats zip. |
- | - Les droits root. | + | |
- | + | ||
- | === Téléchargement des binaires et création de l'arborescence du répertoire de boot. === | + | |
- | == Téléchargement == | + | <code> |
+ | $ unzip refind-bin-0.7.3.zip | ||
+ | $ cd refind-bin-0.7.3/refind/ | ||
+ | $ ls | ||
+ | drivers_ia32 drivers_x64 icons refind.conf-sample refind_ia32.efi refind_x64.efi tools_ia32 tools_x64 | ||
+ | </code> | ||
- | Commençons tout d'abord par télécharger ce fameux bootmanager, rendez vous à :http://sourceforge.net/projects/refind/ et télécharger le la dernière version en paquet debian enregistrer le par exemple dans **~/refind** | + | On renomme quelques fichiers |
+ | <code> | ||
+ | $ mv refind_x64.efi bootx64.efi | ||
+ | $ mv refind_ia32.efi bootia32.efi | ||
+ | $ ls | ||
+ | bootia32.efi bootx64.efi drivers_ia32 drivers_x64 icons refind.conf-sample tools_ia32 tools_x64 | ||
+ | </code> | ||
- | == Extraction des fichiers. == | + | Ensuite on doit déplacer tous ces petits fichiers dans le répertoire EFI/boot/ de notre clé USB. |
- | En ligne de commande on extrait cet archive à l'aide de dpkg. | + | <code> |
- | + | $ mv bootia32.efi boottX64.efi /media/EFI/EFI/boot/ | |
- | $ cd ~/refind | + | $ mv -r drivers_ia32 drivers_x64 icons refind.conf-sample tools_ia32 tools_x64 /media/EFI/EFI/ |
- | $ dpkg -x refind_0.7.3-1_amd64.deb ./ | + | </code> |
- | $ ls | + | |
- | etc/ usr/ | + | |
- | + | ||
- | Les fichiers qui nous intéresses sont situés dans **usr/share/refind-0.7.3/refind/** | + | |
- | + | ||
- | $ cd usr/share/refind-0.7.3/refind/ | + | |
- | $ls | + | |
- | drivers_x64 icons tools_x64 refind_x64.efi refind.conf-sample | + | |
- | + | ||
- | On renomme **refind_x64.efi** | + | |
- | $ mv refind_x64.efi bootx64.efi | + | Voila c'est presque près courage, nous enfin installer un boot manager digne de ce nom. |
+ | Vous avez surement une image iso sous la main, | ||
- | |||
- | Pour la seconde partitions nous allons utiliser Unetbootin. | ||
- | Télécharger une image iso, par exemple Crunbang ou LMDE, 64bit. | ||
- | Installer votre iso sur /dev/sdb2, avec Unetbootin. | ||
- | Une fois terminer éxécuter mount. | ||
- | Vous devriez avoir quelque chose comme ça en sortie. | ||
<code> | <code> | ||
$ mount | $ mount | ||
/dev/sdb1 on /media/refind type vfat (rw) | /dev/sdb1 on /media/refind type vfat (rw) | ||
- | /dev/sdb2 on /media/Debian-Live type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2) | + | /dev/sdb2 on /media/LMDE type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2) |
</code> | </code> | ||
- | ==== Configuration ==== | + | =====Configuration===== |
Pour cette seconde troisième partie nous allons nous attaquer le fichier de configuration **refind.conf** qui ce trouve sur notre clé usb. | Pour cette seconde troisième partie nous allons nous attaquer le fichier de configuration **refind.conf** qui ce trouve sur notre clé usb. | ||
Ligne 329: | Ligne 283: | ||
- | ==== Utilisation ==== | + | ===== Utilisation ===== |
Si les fichier de configuration sont niquels, et que vous les avez préparer au petits oignons. | Si les fichier de configuration sont niquels, et que vous les avez préparer au petits oignons. |