Outils pour utilisateurs

Outils du site


issue166:critique2

When I set out to do a review of a new release of an Ubuntu flavor, I download the ISO file, do a SHA256 check on it, and then write it to a USB stick so it can be booted up and tested. Normally, I use Ubuntu’s Startup Disk Creator to write the ISO to the USB. Startup Disk Creator comes already installed on all the Ubuntu flavors, it is easy to use and generally works fine on ISOs for Ubuntu, Kubuntu, Lubuntu and Xubuntu. When I did my previous review of Ubuntu Unity 20.04 LTS, Startup Disk Creator was able to write that distribution, but I ran into an impasse with Ubuntu Unity 20.10. Startup Disk Creator would not accept the ISO file for writing.

Quand je vais faire la critique d’une nouvelle publication d’une saveur d’Ubuntu, je télécharge le fichier ISO, fais une vérification SHA256, puis le mets sur une clé USB pour pouvoir démarrer dessus et l’essayer.

Habituellement, je me sers du Startup Disk Creator d’Ubuntu pour écrire l’ISO sur la clé USB. Startup Disk Creator est livré déjà installé sur toutes les saveurs d’Ubuntu ; il est facile à utiliser et fonctionne généralement très bien sur des ISO d’Ubuntu, Kubuntu, Lubuntu et Xubuntu.

Quand j’ai fait la critique d’Ubuntu Unity 20.04 LTS, Startup Disk Creator a pu écrire cette publication sur la clé, mais j’ai rencontré un problème avec Ubuntu Unity 20.10, car Startup Disk Creator n’acceptait pas d’écrire le fichier ISO sur une clé USB.

My first attempt at a work-around was to use “dd” from the command-line. It sort of worked, as it wrote Ubuntu Unity 20.10 to the stick, but it would not boot. I needed something better. These days, lots of free software applications designed to write ISOs to USBs are available, including BalenaEtcher, Ventoy, and MultibootUSB, but I decided to try an old favorite, UNetbootin. Background UNetbootin, short for “Universal Netboot Installer”, has been around for a while; its first release was in April 2007. It is developed by Geza Kovacs and released under a GPL version 2 (or later) free software license.

Ma première tentative de contournement a été d’utiliser « dd » en ligne de commande. Ça a fonctionné à moitié, car Ubuntu Unity 20.10 a été écrit sur le disque, mais refusait de démarrer. J’avais besoin de quelque chose de meilleur.

Aujourd’hui, beaucoup d’applications gratuites qui écrivent des ISO sur des clés USB sont disponibles, dont BalenaEtcher, Ventoy et MultibootUSB, mais j’ai décidé d’essayer un vieux favori, Unetbootin.

Contexte

Unetbootin, l’abréviation de « Universal Netboot Installer » existe depuis pas mal de temps, sa première publication est d’avril 2007. Développé par Geza Kovacs, il est publié sous une licence libre, la GPL version 2 (ou ultérieure).

I first used UNetbootin in December 2010 to install Lubuntu 10.10 on a netbook, one of those mini-sized laptops that were popular back then. In a way, netbooks were ahead of their time, not only small and light, they came without a CD/DVD optical drive which was how most Linux distributions were installed at that time. Back then, the Ubuntu Startup Disk Creator couldn’t write Lubuntu (it can today), so UNetbootin was the answer and it did the job perfectly. UNetbootin can be used to install a large number of Linux and BSD distributions, including rescue disks too. Only a single installation can be written on each USB stick, though, as it does not support multiple installations. Other than being able to write many more Linux distributions than the Startup Disk Creator, UNetbootin also leaves the USB stick in its native FAT32 format (File Allocation Table, 32-bit). Startup Disk Creator formats it in ISO format, meaning that to use it again for general file use, the user must reformat the stick with Gparted or similar.

J’ai utilisé Unetbootin pour la première fois en décembre 2010, pour installer Lubuntu 10.10 sur un netbook, un de ces ordinateurs portables miniatures qui étaient populaires à l’époque. Dans un sens, les netbooks étaient visionnaires : non seulement petits et légers, mais aussi livrés sans lecteur optique CD/DVD, qui était utilisé à l'époque pour installer la plupart des distributions Linux. En ce temps-là, le Startup Disk Creator d’Ubuntu ne pouvait pas écrire Lubuntu (il le peut aujourd’hui) ; aussi, UNetbootin, qui fonctionnait parfaitement, était la solution.

Unetbootin peut installer de très nombreuses distributions Linux et BSD, y compris des disques de récupération. Toutefois, une seule installation peut être écrite sur chaque clé USB, car il ne prend pas en charge les installations multiples.

Outre pouvoir écrire beaucoup plus de distributions Linux que le Startup Disk Creator, UNetbootin laisse la clé USB dans son format natif, FAT32 (File Allocation Table, 32-bit). Startup Disk Creator la formate en ISO, ce qui signifie que, pour l’utiliser à nouveau pour des fichiers, l’utilisateur est obligé de reformater la clé avec Gparted ou similaire.

Getting UNetbootin UNetbootin used to be available in the Ubuntu repositories, making it very easy to install. Sadly, the package maintainer, Laszlo Boszormenyi, has not updated the package, and the last version available is for Ubuntu 16.04 LTS Xenial Xerus. The good news is that Kovacs has his own Personal Package Archive (PPA) on LaunchPad and that makes it fairly easy to add the PPA and then install the application on any Ubuntu flavor from a terminal with: sudo add-apt-repository ppa:gezakovacs/ppa sudo apt-get update sudo apt-get install unetbootin

Obtenir UNetbootin

Auparavant, UNetbootin était disponible dans les dépôts Ubuntu, facilitant son installation. Malheureusement, le mainteneur du paquet, Laszlo Boszormenyi, n’a pas mis le paquet à jour et la dernière version disponible est pour Ubuntu 16.04 LTS Xenial Xerus.

La bonne nouvelle est que, puisque Kovacs a sa propre Personal Package Archive (PPA) sur LaunchPad, il est assez facile d’ajouter la PPA, puis d’installer l’application sur toute saveur d’Ubuntu à partir d’un terminal avec :

sudo add-apt-repository ppa:gezakovacs/ppa sudo apt-get update sudo apt-get install unetbootin

There are also installation packages in the repositories for several other Linux distributions including Arch, Debian, Fedora, Gentoo and SUSE Linux, plus Windows .exe and Mac .dmg files. There are also 32-bit and 64-bit binaries.bin files available, as well as source code for compiling. For the Ubuntu installation, UNetbootin is a small package, just 224 kB to download, although it has the following dependencies: libc6, libgcc-s1, libqt4-network, libqtcore4, libqtgui4, libstdc++6, mtools, p7zip-full, syslinux, syslinux-common and udev. It will retrieve these on installation, if not already there. Using UNetbootin Opening UNetbootin from the system tools menu shows a really simple interface. It does look a bit dated, though, like something from Windows 98.

Il existe également des paquets d’installation dans les dépôts de plusieurs autres distributions Linux, parmi lesquelles Arch, Debian, Fedora, Gentoo et SUSE Linux, plus des fichiers Windows .exe et Mac .dmg. Des fichiers binaires .bin en 32- et 64-bit, sont également disponibles, ainsi que le code source pour la compilation.

Pour l’installation sous Ubuntu, UNetbootin est un petit paquet (juste 224 Ko à télécharger), bien qu’il ait les dépendances suivantes : libc6, libgcc-s1, libqt4-network, libqtcore4, libqtgui4, libstdc++6, mtools, p7zip-full, syslinux, syslinux-common et udev. Il les récupérera lors de son installation, si elles n’y sont pas déjà.

Utiliser UNetbootin

Lors de l’ouverture de UNetbootin à partir du menu système, une très simple interface s'affiche. C’est vrai que son apparence est un peu obsolète, comme un truc venant de Windows 98.

For writing, the target USB needs to be formatted to FAT32, which is the way almost all USB drives come out-of-the-box. The Linux or BSD distribution can be chosen from a list at the top of the interface in the “Distribution” section, and UNetbootin will actually go and retrieve it. Alternatively, an ISO file already downloaded to the user’s local computer and designated under “Diskimage” can be used. All that remains is to select the USB stick, click “OK” and UNetbootin does the rest automatically. UNetbootin gives progress indications while writing, and then a completion screen when done. From there, the stick will work the same as if it had been written with Startup Disk Creator, booting up normally to run a live session or used to install the operating system.

Pour pouvoir écrire dessus, la clé USB cible doit être formatée en FAT32, et la plupart des clés USB le sont dès l’achat.

La distribution Linux ou BSD peut être choisie à partir de la liste en haut de l’interface dans la section « Sélectionner la distribution » et UNetbootin ira la récupérer ! Autrement, un fichier ISO qui a déjà été téléchargé sur l’ordinateur de l’utilisateur et désigné sous « DisqueImage » peut être utilisé. Tout ce qu’il reste à faire est de sélectionner la clé USB, cliquez sur « OK » et UNetbootin fait son travail automatiquement.

UNetbootin fournit des indications de son progrès pendant l’écriture, puis un écran d’achèvement à la fin. La clé USB fonctionnera maintenant de la même façon que si elle avait été écrite avec Startup Disk Creator, en démarrant normalement pour une session Live ou pour installer le système d’exploitation.

To return to using the USB stick for storing files, etc, just delete the files from the USB stick, as it will still be in FAT32 format. Conclusions Despite the rather dated-looking interface, UNetbootin works perfectly, allowing the writing of almost any Linux or BSD distribution to a USB stick for testing or installation. It is a great example of the Unix philosophy: an application that does one thing and does it well. External links Official website: https://unetbootin.github.io/

Pour revenir à l’utilisation de la clé USB pour le stockage de fichiers, etc., il suffit tout simplement d’y supprimer les fichiers, car elle sera toujours en format FAT32.

Conclusions

Malgré l’interface à l’apparence plutôt obsolète, UNetbootin, fonctionne parfaitement et permet l’écriture de presque toute distribution Linux ou BSD sur une clé USB pour un essai ou une installation. C’est un merveilleux exemple de la philosophie Unix : une application qui fait une seule chose et la fait très bien.

Lien externe Site Web officiel : https://unetbootin.github.io/

issue166/critique2.txt · Dernière modification : 2021/03/03 18:53 de andre_domenech