Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
mkusb [Le 01/01/2024, 16:45] – [Installation] 91.161.152.215mkusb [Le 13/10/2025, 09:18] (Version actuelle) – [Duplication du fichier de boot] 78.242.243.249
Ligne 28: Ligne 28:
  
 Lancez l'application comme indiqué [[:tutoriel:comment_lancer_application|ici]] ou via le [[:terminal]] (toutes [[:versions]] ou [[:variantes]] d'Ubuntu) avec la [[:commande_shell|commande]] suivante : <code>mkusb</code>  Lancez l'application comme indiqué [[:tutoriel:comment_lancer_application|ici]] ou via le [[:terminal]] (toutes [[:versions]] ou [[:variantes]] d'Ubuntu) avec la [[:commande_shell|commande]] suivante : <code>mkusb</code> 
-Une grille (version 22.04) permet de faire des choix d'inbstallation+Une grille (version 22.04) permet de faire des choix d'installation
-<code bash>a@b:~$ mkusb+<code bash>mkusb
 --------------------------------------------------------------------- ---------------------------------------------------------------------
 Usage: mkusb [input-file]      # optional parameter Usage: mkusb [input-file]      # optional parameter
Ligne 42: Ligne 42:
 Select version of mkusb (d/p/n/b/e/q) </code> Select version of mkusb (d/p/n/b/e/q) </code>
  
 +{{:applications:mkusb:mkusb1.png?500}}{{:applications:mkusb2_trusty.png?500}}
  
-{{ :applications:mkusb2_trusty.png?500 }}+Puis beaucoup de boites de dialogues pour les choix.  
 + 
 + 
 +Initialement la clé USB ne doit pas être branchée. Il faut la brancher uniquement lorsque cela est expressément demandé.
  
 Pour créer une clé de démarrage, dans la fenêtre qui s'ouvre : Pour créer une clé de démarrage, dans la fenêtre qui s'ouvre :
Ligne 100: Ligne 104:
                  
                  
 +
 +
 +===== Un compte-rendu d'exécution avec installation de persistance =====
 +<code bash>a@b:~$ mkusb
 +---------------------------------------------------------------------
 +Usage: mkusb [input-file]      # optional parameter
 +---------------------------------------------------------------------
 +d:  dus , guidus, mkusb-dus    - Classic, easy to use
 +p: Plug,   mkusb-plug          - New, easy to use
 +n: NoX,    sudo mkusb-nox      - original text mode
 +b: Bas,    sudo mkusb-bas      - basic text mode for old/basic linux
 +e: Eleven, sudo -H mkusb-11    - Old user interface
 +q: Quit
 +---------------------------------------------------------------------
 +Select version of mkusb (d/p/n/b/e/q) p
 +live system or temporary superuser permissions
 +source file: '/home/a/Téléchargements/noble-desktop-amd64.iso'
 +--{puer|pder}
 +*** srctst ***
 +mount: /tmp/tmp.FXZchlCroQ: WARNING: source write-protected, mounted read-only.
 +grep: /tmp/tmp.FXZchlCroQ/README.diskdefines: Aucun fichier ou dossier de ce type
 + Ubuntu or an Ubuntu family flavour 
 + Making persistent live drive of version 24.04 
 +
 +spawn bash -c xorriso-dd-target -plug_test -trust_lsblk_udev  | tee /tmp/tmp.AF2FsZnot5
 +
 +Caused by option -plug_test: Attempt to find the desired device
 +by watching it appear after being plugged in.
 +
 +Step 1:
 +Please make sure that the desired target device is plugged _out_ now.
 +If it is currently plugged in, make sure to unmount all its fileystems
 +and then unplug it.
 +Press the Enter key when ready.
 + 
 +Found and noted as _not_ desired:  sda sdb sdc  
 +
 +Step 2:
 +Please plug in the desired target device and then press the Enter key.
 + 
 +Waiting up to 10 seconds for a new device to be listed ... found: sdd
 +Now waiting 5 seconds to let it settle .........
 +Found and noted as desired device:  sdd
 +
 +sdd : YES : usb+ has_vfat+ : Kingston DataTraveler 3.0 
 +Repeating test of target device with elevated permissions:
 +Testing sudo to possibly get password prompting done now:
 +sudo /bin/lsblk seems ok.
 +
 +target device: /dev/sdd
 + sdd : YES : usb+ has_vfat+ : Kingston DataTraveler 3.0  
 +         task: '--puer'
 +  source file: '/home/a/Téléchargements/noble-desktop-amd64.iso'
 +target device:  /dev/sdd
 +
 +MODEL            NAME FSTYPE LABEL     SIZE
 +DataTraveler 3.0 sdd                  14,6G
 +                 sdd1 vfat   USBBOOT1  7,3G
 +                 sdd2 vfat   USBDATA1  7,3G
 +          ***** puer: Persistence for Ubuntu ***** 
 +Trying to unmount partitions if mounted on the target device
 +umount: /dev/sdd: non monté.
 +..... Check version of ubuntu ..................................................
 +mount: /tmp/tmp.1POp1kPxqx: WARNING: source write-protected, mounted read-only.
 +grep: /tmp/tmp.1POp1kPxqx/README.diskdefines: Aucun fichier ou dossier de ce type
 + Ubuntu or an Ubuntu family flavour 
 +*** Ubuntu version 24.04 ***
 +--------------------------------------------------------------------------------
 + Please wait until the process has finished and 'Done' is written 
 +..... Flash modified iso file to target ........................................
 +4,74GiB 0:06:00 [13,5MiB/s] [============================================================================================================================================================>] 100%            
 +
 +----- cleanup after sed -----------------------------------------
 +  52516 pts/2    00:00:00 watch-flush
 +
 + A partition for persistence with the label 'writable' will be
 + created automatically, when you boot into the target drive. 
 +Finally, please wait for a few more seconds ...
 +--------------------------------------------------------------------------------
 +NAME MODEL            FSTYPE  LABEL                  MOUNTPOINT  SIZE NAME
 +sdd  DataTraveler 3.0 iso9660 Ubuntu 24.04 LTS amd64            14,6G sdd
 +sdd1                  iso9660 Ubuntu 24.04 LTS amd64             4,7G sdd1
 +sdd2                  vfat    ESP                                4,9M sdd2
 +sdd3                                                             300K sdd3
 + Done :-)</code> 
 +