Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| extlinux [Le 03/01/2014, 21:28] – [Cas où ma partition est bootable] albanmartel | extlinux [Le 03/03/2023, 19:00] (Version actuelle) – L'Africain | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag>TAGS}} | + | {{tag>live_usb}} |
| ====== Extlinux : Live-Usb sur une partition Ext2/ | ====== Extlinux : Live-Usb sur une partition Ext2/ | ||
| Ligne 12: | Ligne 12: | ||
| | | ||
| - | En mars 2013 il n'est plus capable de rendre | + | En mars 2013 il n'est plus capable de rendre |
| - | <note important> | + | <note important> |
| Elle est déconseillée sur un __Disque dur interne__ : elle peut en corrompre le démarrage . </ | Elle est déconseillée sur un __Disque dur interne__ : elle peut en corrompre le démarrage . </ | ||
| + | |||
| + | <note important> | ||
| =====Installer extlinux===== | =====Installer extlinux===== | ||
| Ligne 26: | Ligne 28: | ||
| Méthode graphique: [[gparted|gparted]] | Méthode graphique: [[gparted|gparted]] | ||
| - | Méthode en ligne de commande: | + | Méthode en ligne de commande: |
| Tuto Ubuntu [[tutoriel: | Tuto Ubuntu [[tutoriel: | ||
| Ligne 67: | Ligne 69: | ||
| ====Vérification des drapeaux :==== | ====Vérification des drapeaux :==== | ||
| < | < | ||
| - | Dans la réponse, se sont les lignes suivantes qui nous intéressent : | + | Dans la réponse, se sont les lignes suivantes qui nous intéressent : |
| < | < | ||
| Périphérique Amorce | Périphérique Amorce | ||
| Ligne 81: | Ligne 83: | ||
| === Fdisk === | === Fdisk === | ||
| < | < | ||
| - | **Entrer commande a ** | + | **Entrer commande a ** |
| la machine demande le numéro de partition à marque comme bootable: | la machine demande le numéro de partition à marque comme bootable: | ||
| Ligne 92: | Ligne 94: | ||
| ** Lancer ** [[:gparted |Gparted]] | ** Lancer ** [[:gparted |Gparted]] | ||
| - | Sélectionner la clef ou le DDExterne | + | Sélectionner la clef ou le DDExterne |
| - | Dans le menu se rendre à **Partitions** > **Gérer les drapeaux**. | + | Dans le menu se rendre à **Partitions** > **Gérer les drapeaux**. |
| **__Cocher la case en face de boot, comme l' | **__Cocher la case en face de boot, comme l' | ||
| Ligne 102: | Ligne 104: | ||
| - | =====Mise en place des menus du LIve-USB===== | + | =====Configurer le menu de démarrage extlinux.conf |
| - | ===Conditions démarrage d' | + | ===Conditions |
| - | - Le menu de démarrage doit s' | + | |
| - | - | + | |
| - | - Le répertoire de démarrage doit comporter un fichier // | + | |
| - | ==Si c' | + | ==Si ces conditions ne sont pas respectée votre Live-Usb ne démarrera pas ! == |
| - | ====Copier vesamenu.c32 dans le répertoire du menu démarrage de la clef USB==== | ||
| - | < | ||
| - | ====Exemple | + | |
| - | (Menu personnalisé d'un Live-Usb obtenu à partir | + | ====Exemple |
| - | < | + | |
| < | < | ||
| prompt 0 | prompt 0 | ||
| Ligne 142: | Ligne 142: | ||
| kernel / | kernel / | ||
| append | append | ||
| + | |||
| + | label memtest | ||
| + | menu label memtest - Run memtest | ||
| + | kernel / | ||
| + | append - | ||
| + | |||
| + | label hd | ||
| + | menu label hd - boot the first hard disk | ||
| + | localboot 0x80 | ||
| + | append - | ||
| + | </ | ||
| + | < | ||
| + | |||
| + | ====Exemple Menu extlinux.conf | ||
| + | < | ||
| + | label rescue64_bits direct Xorg | ||
| + | menu label rescue64_bits direct Xorg | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue32_bits direct Xorg | ||
| + | menu label rescue32_bits direct Xorg | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue64_bits Xorg RAM | ||
| + | menu label rescue64_bits Xorg RAM | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue32_bits Xorg RAM | ||
| + | menu label rescue32_bits Xorg RAM | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue64_bits direct altker Xorg | ||
| + | menu label rescue64_bits direct altker Xorg | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue32_bits direct altker Xorg | ||
| + | menu label rescue32_bits direct altker Xorg | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue64_bits console in high resolution | ||
| + | menu label SystemRescue-64bits console in high resolution | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | label rescue32_bits console in high resolution | ||
| + | menu label SystemRescue-32bits console in high resolution | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | MENU SEPARATOR | ||
| + | |||
| + | LABEL rescue64_6 | ||
| + | MENU LABEL Boot an exising Linux OS 64 bit installed on the disk | ||
| + | LINUX / | ||
| + | INITRD / | ||
| + | APPEND root=auto | ||
| + | TEXT HELP | ||
| + | Detect partition where linux is installed and boot from it. You can use | ||
| + | this to boot Linux if your boot loader (eg: Grub) is broken or has been | ||
| + | removed by another OS. | ||
| + | ENDTEXT | ||
| + | |||
| + | LABEL rescue32_6 | ||
| + | MENU LABEL Boot an exising Linux OS 32 bit installed on the disk | ||
| + | LINUX / | ||
| + | INITRD / | ||
| + | APPEND root=auto | ||
| + | TEXT HELP | ||
| + | Detect partition where linux is installed and boot from it. You can use | ||
| + | this to boot Linux if your boot loader (eg: Grub) is broken or has been | ||
| + | removed by another OS. | ||
| + | ENDTEXT | ||
| + | |||
| + | MENU SEPARATOR | ||
| + | |||
| + | LABEL Boot from first hard disk | ||
| + | MENU LABEL *) Boot from first hard disk | ||
| + | kernel | ||
| + | append hd0 | ||
| + | TEXT HELP | ||
| + | Boot local OS installed on first hard disk | ||
| + | ENDTEXT | ||
| + | |||
| + | LABEL Boot from second hard disk | ||
| + | MENU LABEL *) Boot from second hard disk | ||
| + | kernel | ||
| + | append hd1 | ||
| + | TEXT HELP | ||
| + | Boot local OS installed on second hard disk | ||
| + | ENDTEXT | ||
| + | |||
| + | MENU SEPARATOR | ||
| + | |||
| + | MENU TITLE A) Run system tools from floppy disk image... | ||
| + | |||
| + | LABEL memtest | ||
| + | MENU LABEL MEMTEST: Memory test using Memtest86+ | ||
| + | kernel / | ||
| + | append - | ||
| + | TEXT HELP | ||
| + | Use this tool if you suspect your RAM from being damaged. Damaged memory can | ||
| + | explain crashes or unexpected bahaviors on stable operating systems. | ||
| + | ENDTEXT | ||
| + | |||
| + | LABEL ntpass | ||
| + | MENU LABEL NTPASSWD: Reset or edit Windows passwords | ||
| + | kernel / | ||
| + | append rw vga=1 initrd=/ | ||
| + | TEXT HELP | ||
| + | This tool can be used to reset windows users accounts. It works with all | ||
| + | windows user accounts including the administrator. You can use this tool if | ||
| + | you forgot the administrator' | ||
| + | ENDTEXT | ||
| + | |||
| + | LABEL grubdisk | ||
| + | MENU LABEL SGD: Super Grub2 Disk | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | LABEL freedos | ||
| + | MENU LABEL FREEDOS: Clone of the MSDOS Operating System | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | TEXT HELP | ||
| + | FreeDOS can be used to execute DOS programs such as BIOS upgrade tools | ||
| + | ENDTEXT | ||
| + | |||
| + | LABEL netboot | ||
| + | MENU LABEL NETBOOT: Boot from the network | ||
| + | kernel / | ||
| + | append - | ||
| + | |||
| + | LABEL hdt | ||
| + | MENU LABEL HDT: recent hardware diagnostics tool | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | TEXT HELP | ||
| + | This diagnostic tool will give you information about your hardware | ||
| + | ENDTEXT | ||
| + | |||
| + | LABEL aida | ||
| + | MENU LABEL AIDA: old hardware diagnostics tool | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | LABEL gag | ||
| + | MENU LABEL GAG: Graphical Boot Manager | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | LABEL dban | ||
| + | MENU LABEL DBAN: erase all data from the disk | ||
| + | kernel / | ||
| + | append nuke=" | ||
| + | |||
| + | LABEL mhdd | ||
| + | MENU LABEL MHDD: Low-level Hard Drive diagnostic tool | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | ====Exemple Menu extlinux.conf permettant de lancer d' | ||
| + | < | ||
| + | prompt 0 | ||
| + | timeout 100 | ||
| + | |||
| + | menu title usb_disk | ||
| + | menu color title 1;37;44 #c0ffffff #00000000 std | ||
| + | |||
| + | menu separator | ||
| + | include AlbUbuntu.cfg | ||
| + | |||
| + | menu separator | ||
| + | include kubuntu_net.cfg | ||
| + | |||
| + | menu separator | ||
| + | include ubuntu_install_net.cfg | ||
| + | |||
| + | menu separator | ||
| + | include ubuntu_serveur.cfg | ||
| + | |||
| + | menu separator | ||
| + | include ../ | ||
| label memtest | label memtest | ||
| Ligne 155: | Ligne 343: | ||
| ====Pour démarrer Windows, depuis le Live-USB==== | ====Pour démarrer Windows, depuis le Live-USB==== | ||
| - | Copier **chain.c32** dans le répertoire de démarrage : | + | Editer le menu extlinux.conf et lui ajouter les lignes suivantes : |
| - | < | + | |
| - | Editer le menu extlinux.conf et lui ajouter les lignes suivantes : | + | |
| < | < | ||
| menu label windows -démarrer windows depuis le live-Usb | menu label windows -démarrer windows depuis le live-Usb | ||
| Ligne 165: | Ligne 351: | ||
| =====Personnaliser l' | =====Personnaliser l' | ||
| - | // | + | // |
| Il est conseillé de commencer par une résolution 640x480. (Attention: JPG progressif n'est pas pris en charge par **extlinux**) | Il est conseillé de commencer par une résolution 640x480. (Attention: JPG progressif n'est pas pris en charge par **extlinux**) | ||
| Ligne 171: | Ligne 357: | ||
| =====Démarrer le LIve-USB et tester===== | =====Démarrer le LIve-USB et tester===== | ||
| - | Il est nécessaire de savoir si son BIOS permet de démarrer des LIve-USB: | + | Il est nécessaire de savoir si son BIOS permet de démarrer des LIve-USB: |
| - | - (Si le BIOS de l'ordi ne le permet pas, il est possible de graver une ISO qui le permet depuis le CD/DVD rom [[http:// | + | - (Si le BIOS de l'ordi ne le permet pas, il est possible de graver une ISO qui le permet depuis le CD/DVD rom [[:disquette_boot_usb| PLoP]]). |
| - Sinon sélectionner le bon média de démarrage avec le BIOS au moment du boot de la machine. | - Sinon sélectionner le bon média de démarrage avec le BIOS au moment du boot de la machine. | ||
| Ligne 178: | Ligne 364: | ||
| Extlinux permet de créer un Live-USB. | Extlinux permet de créer un Live-USB. | ||
| - | Unetbootin | + | <note important> |
| + | Comparaison Extlinux | ||
| - | [[: | + | Comparer à Unetbootin, Extlinux "à la mano" est plus lent. Par contre les possibilités |
| + | |||
| + | **Comparaison Extlinux et Multisystem :** | ||
| + | |||
| + | Multisystem reste un outil très efficace dont le seul inconvénient est d' | ||
| + | |||
| + | **Comparaison | ||
| + | |||
| + | Ils sont assez similaires, la différence est d' | ||
| + | |||
| + | Fat32 est montable sur tous les systèmes | ||
| + | La taille des fichiers | ||
| + | |||
| + | Ext2,3,4 nécessite un montage et une modification des droits d' | ||
| =====Voir aussi===== | =====Voir aussi===== | ||
| - | En anglais: | + | En anglais: |
| - | - | + | - [[http:// |
| - | - Forum Ubuntu : [[http:// | + | - [[https:// |
| + | - Forum Ubuntu : [[https:// | ||
| + | - [[http:// | ||
| - [[: | - [[: | ||
| En français: | En français: | ||
| - [[:live_usb | diverses méthodes pour créer un Live-USB]] | - [[:live_usb | diverses méthodes pour créer un Live-USB]] | ||
| - [[: | - [[: | ||
| + | |||
| + | Documentation sur le sujet Live-USB: | ||
| + | - [[tutoriel: | ||
| + | |||
| + | |||
