<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://doc.lesmorin.fr/index.php?action=history&amp;feed=atom&amp;title=Installation_slax_-_UEFI_64bits</id>
	<title>Installation slax - UEFI 64bits - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://doc.lesmorin.fr/index.php?action=history&amp;feed=atom&amp;title=Installation_slax_-_UEFI_64bits"/>
	<link rel="alternate" type="text/html" href="https://doc.lesmorin.fr/index.php?title=Installation_slax_-_UEFI_64bits&amp;action=history"/>
	<updated>2026-05-01T22:34:15Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://doc.lesmorin.fr/index.php?title=Installation_slax_-_UEFI_64bits&amp;diff=1255&amp;oldid=prev</id>
		<title>Ycharbi : Page créée avec « Category:slax Ce document décrit les étapes permettant l'installation d'une distribution ''Linux'' Slax avec amorçage ''UEFI 64bits''.  =Installa... »</title>
		<link rel="alternate" type="text/html" href="https://doc.lesmorin.fr/index.php?title=Installation_slax_-_UEFI_64bits&amp;diff=1255&amp;oldid=prev"/>
		<updated>2021-05-02T11:45:53Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &lt;a href=&quot;/index.php/Cat%C3%A9gorie:Slax&quot; title=&quot;Catégorie:Slax&quot;&gt;Category:slax&lt;/a&gt; Ce document décrit les étapes permettant l&amp;#039;installation d&amp;#039;une distribution &amp;#039;&amp;#039;Linux&amp;#039;&amp;#039; &lt;a href=&quot;/index.php/Cat%C3%A9gorie:Slax&quot; title=&quot;Catégorie:Slax&quot;&gt;Slax&lt;/a&gt; avec amorçage &amp;#039;&amp;#039;UEFI 64bits&amp;#039;&amp;#039;.  =Installa... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:slax]]&lt;br /&gt;
Ce document décrit les étapes permettant l'installation d'une distribution ''Linux'' [[:Category:slax|Slax]] avec amorçage ''UEFI 64bits''.&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
==Préparation de l'environnement hôte==&lt;br /&gt;
Nous aurons besoin de formater l{{'}}''ESP'' en ''FAT32''. Il nous faut donc le paquet suivant permettant cette opération&lt;br /&gt;
 apt install dosfstools&lt;br /&gt;
&lt;br /&gt;
Repérez le support qui vous servira de disque système et initialisez une variable avec son chemin&lt;br /&gt;
 export disque=/dev/sdb&lt;br /&gt;
&lt;br /&gt;
Téléchargement des ressources&lt;br /&gt;
 wget http://ftp.sh.cvut.cz/slax/Slax-9.x/slax-64bit-9.11.0.iso https://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.04/syslinux-6.04-pre1.tar.gz -P /tmp/&lt;br /&gt;
&lt;br /&gt;
Extraction des éléments de ''Syslinux''&lt;br /&gt;
 tar xzvf /tmp/syslinux-6.04-pre1.tar.gz -C /tmp/&lt;br /&gt;
&lt;br /&gt;
Création des répertoires de travail&lt;br /&gt;
 mkdir -p /tmp/slax/{source,cible}&lt;br /&gt;
&lt;br /&gt;
montage du cédérom de ''Slax''&lt;br /&gt;
 mount -o loop,ro -t iso9660 /tmp/slax-64bit-9.11.0.iso /tmp/slax/source/&lt;br /&gt;
&lt;br /&gt;
==Préparation de l'invité==&lt;br /&gt;
Partitionnement du disque système invité&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' &amp;lt;&amp;lt; &amp;quot;FDISK_CMDS&amp;quot;  | fdisk ${disque}&lt;br /&gt;
g       # création d'un schéma de partition GPT&lt;br /&gt;
n       # ajouter une nouvelle partition&lt;br /&gt;
1       # partition 1&lt;br /&gt;
        # par défaut - premier secteur &lt;br /&gt;
+512MiB # taille de la partition&lt;br /&gt;
n       # ajouter une nouvelle partition&lt;br /&gt;
2       # partition 2&lt;br /&gt;
        # par défaut - premier secteur  &lt;br /&gt;
        # par défaut - dernier secteur  &lt;br /&gt;
t       # changement du type de partition&lt;br /&gt;
1       # partition 1&lt;br /&gt;
1       # partition système EFI (ESP)&lt;br /&gt;
t       # changement du type de partition&lt;br /&gt;
2       # partition 2&lt;br /&gt;
20      # système de fichier linux&lt;br /&gt;
w       # écrire la table de partitions et quitter&lt;br /&gt;
FDISK_CMDS&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{info|Dans l'absolut, seul l{{'}}''ESP'' est nécessaire à l'usage du système (''Slax'' utilisant massivement des images [[squashfs]] couplées à des montages en [[Aufs|union]] stockées dans celui-ci). L'ajout d'une partition ''ext4'' apporte un espace persistant supplémentaire utilisant un système de fichier bien plus fiable que l'antique ''FAT32'' (qui n'hésitera pas à corrompre vos données à la première occasion). Celle-ci sera monté automatiquement avec la session.}}&lt;br /&gt;
&lt;br /&gt;
Formatage des partitions&lt;br /&gt;
 mkfs.vfat -F32 ${disque}1&lt;br /&gt;
 mkfs.ext4 ${disque}2&lt;br /&gt;
&lt;br /&gt;
Montage de l{{'}}''ESP''&lt;br /&gt;
 mount -t vfat ${disque}1 /tmp/slax/cible&lt;br /&gt;
&lt;br /&gt;
Copie des fichiers système&lt;br /&gt;
 cp -axv /tmp/slax/source/slax /tmp/slax/cible/slax&lt;br /&gt;
&lt;br /&gt;
Création du répertoire d'amorçage ''UEFI''&lt;br /&gt;
 mkdir -p /tmp/slax/cible/EFI/Boot&lt;br /&gt;
&lt;br /&gt;
Copie du binaire de démarrage ''UEFI'' de ''Syslinux''&lt;br /&gt;
 cp /tmp/syslinux-6.04-pre1/efi64/efi/syslinux.efi /tmp/slax/cible/EFI/Boot/bootx64.efi&lt;br /&gt;
&lt;br /&gt;
Copie des éléments du menu ''Syslinux''&lt;br /&gt;
 cp /tmp/syslinux-6.04-pre1/efi64/com32/elflink/ldlinux/ldlinux.e64 /tmp/syslinux-6.04-pre1/efi64/com32/menu/menu.c32 /tmp/syslinux-6.04-pre1/efi64/com32/lib/libcom32.c32 /tmp/syslinux-6.04-pre1/efi64/com32/libutil/libutil.c32 /tmp/syslinux-6.04-pre1/efi64/com32/menu/vesamenu.c32 /tmp/slax/cible/EFI/Boot/&lt;br /&gt;
&lt;br /&gt;
Création du menu ''Syslinux''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;gt; /tmp/slax/cible/EFI/Boot/syslinux.cfg &amp;lt;&amp;lt; &amp;quot;SYSLINUXCFG&amp;quot;&lt;br /&gt;
TIMEOUT 30&lt;br /&gt;
ONTIMEOUT slax&lt;br /&gt;
&lt;br /&gt;
UI vesamenu.c32&lt;br /&gt;
MENU TITLE Slax (UEFI)&lt;br /&gt;
&lt;br /&gt;
LABEL slax&lt;br /&gt;
      MENU LABEL Run Slax (Changements persistants)&lt;br /&gt;
      LINUX /slax/boot/vmlinuz&lt;br /&gt;
      INITRD /slax/boot/initrfs.img&lt;br /&gt;
      APPEND vga=normal load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=perch,automount&lt;br /&gt;
SYSLINUXCFG&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{astuce|L'usage de la disposition de clavier AZERTY se fait par la valeur &amp;quot;fr&amp;quot; du fichier &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;kblayout&amp;lt;/source&amp;gt; (définissable après démarrage de ''Slax''). Vous pouvez utiliser la commande &amp;lt;source lang=&amp;quot;bash&amp;quot; inline&amp;gt;echo &amp;quot;fr&amp;quot; &amp;gt; /root/.fluxbox/kblayout&amp;lt;/source&amp;gt; une fois dans le terminal de votre nouveau système.}}&lt;br /&gt;
&lt;br /&gt;
==Vérifications==&lt;br /&gt;
Voici les fichiers présents sur le support après réalisation des étapes décrites supra&lt;br /&gt;
 find /tmp/slax/cible/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/tmp/slax/cible/&lt;br /&gt;
/tmp/slax/cible/slax&lt;br /&gt;
/tmp/slax/cible/slax/01-core.sb&lt;br /&gt;
/tmp/slax/cible/slax/01-firmware.sb&lt;br /&gt;
/tmp/slax/cible/slax/02-xorg.sb&lt;br /&gt;
/tmp/slax/cible/slax/03-desktop.sb&lt;br /&gt;
/tmp/slax/cible/slax/04-apps.sb&lt;br /&gt;
/tmp/slax/cible/slax/05-chromium.sb&lt;br /&gt;
/tmp/slax/cible/slax/boot&lt;br /&gt;
/tmp/slax/cible/slax/boot/bootinst.bat&lt;br /&gt;
/tmp/slax/cible/slax/boot/bootinst.sh&lt;br /&gt;
/tmp/slax/cible/slax/boot/bootlogo.png&lt;br /&gt;
/tmp/slax/cible/slax/boot/extlinux.x32&lt;br /&gt;
/tmp/slax/cible/slax/boot/extlinux.x64&lt;br /&gt;
/tmp/slax/cible/slax/boot/help.txt&lt;br /&gt;
/tmp/slax/cible/slax/boot/initrfs.img&lt;br /&gt;
/tmp/slax/cible/slax/boot/isolinux.bin&lt;br /&gt;
/tmp/slax/cible/slax/boot/isolinux.boot&lt;br /&gt;
/tmp/slax/cible/slax/boot/ldlinux.c32&lt;br /&gt;
/tmp/slax/cible/slax/boot/libcom32.c32&lt;br /&gt;
/tmp/slax/cible/slax/boot/libutil.c32&lt;br /&gt;
/tmp/slax/cible/slax/boot/mbr.bin&lt;br /&gt;
/tmp/slax/cible/slax/boot/pxelinux.0&lt;br /&gt;
/tmp/slax/cible/slax/boot/runadmin.vbs&lt;br /&gt;
/tmp/slax/cible/slax/boot/samedisk.vbs&lt;br /&gt;
/tmp/slax/cible/slax/boot/syslinux.cfg&lt;br /&gt;
/tmp/slax/cible/slax/boot/syslinux.com&lt;br /&gt;
/tmp/slax/cible/slax/boot/syslinux.exe&lt;br /&gt;
/tmp/slax/cible/slax/boot/vesamenu.c32&lt;br /&gt;
/tmp/slax/cible/slax/boot/vmlinuz&lt;br /&gt;
/tmp/slax/cible/slax/boot/zblack.png&lt;br /&gt;
/tmp/slax/cible/slax/changes&lt;br /&gt;
/tmp/slax/cible/slax/modules&lt;br /&gt;
/tmp/slax/cible/EFI&lt;br /&gt;
/tmp/slax/cible/EFI/Boot&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/bootx64.efi&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/ldlinux.e64&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/menu.c32&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/libcom32.c32&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/libutil.c32&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/vesamenu.c32&lt;br /&gt;
/tmp/slax/cible/EFI/Boot/syslinux.cfg&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Votre système est prêt à démarraer en ''UEFI 64bits''.&lt;br /&gt;
&lt;br /&gt;
=Sources=&lt;br /&gt;
* https://github.com/rrottmann/slax-efi&lt;br /&gt;
* https://stackpointer.io/unix/linux-script-to-partition-disk/632/&lt;/div&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
</feed>