From 099a90aea27ca1b0873963ec83e82b0cb657a0de Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 7 Nov 2019 09:37:34 +0100 Subject: [PATCH] relecture HowtoGParted --- HowtoGParted.md | 87 ++++++------------------------------------------- 1 file changed, 10 insertions(+), 77 deletions(-) diff --git a/HowtoGParted.md b/HowtoGParted.md index 54b32676..cc70c20a 100644 --- a/HowtoGParted.md +++ b/HowtoGParted.md @@ -1,88 +1,21 @@ -**Cette page a été importée automatiquement de notre ancien wiki mais n'a pas encore été révisée.** - # Howto GParted ## Créer un Live USB - +Prendre une clé USB vierge, par exemple /dev/sdz -1. Prendre une clé USB vierge, par exemple /dev/sdz - -Si elle n'est pas vierge, l'effacer en faisant quelques secondes : +Télécharger le dernier fichier .iso pour amd64 sur puis : ~~~ # dd if=/dev/zero of=/dev/sdz -^C -~~~ - -2. Formater la clé USB en dos et créer une partition FAT32 : - -~~~ -# parted /dev/sdz - -(parted) p -Error: /dev/sdz: unrecognised disk label - -(parted) mklabel msdos - -(parted) mkpart primary fat32 0% 100% - -# mkfs.vfat -F 32 /dev/sdz1 -~~~ - -3. Télécharger la dernière version (.zip en amd64) sur - -4. Deziper sur le point de montage : - -~~~ -# mount /dev/sdz1 /mnt -# unzip gparted-live-0.26.1-5-amd64.zip -d /mnt/ -~~~ - -5. Lancer le script suivant en root et suivre les instructions : - -~~~ -# apt install libc6-i386 -# bash /mnt/utils/linux/makeboot.sh /dev/sdz1 -This command will install MBR and syslinux bootloader on this machine --------------------------------------------- -Machine: 20BSCT42XY: -Model: SanDisk (scsi) -Disk /dev/sdc: 4005MB -Sector size (logical/physical): 512B/512B -Partition Table: msdos -Disk Flags: - -Number Start End Size Type File system Flags - 1 1049kB 4005MB 4003MB primary fat32 boot, hidden, lba - --------------------------------------------- -Are you sure you want to continue? -[y/n] y -OK! Let's do it! --------------------------------------------- -File system of /dev/sdc1: vfat --------------------------------------------- -Do you want to install mbr on /dev/sdc on this machine "20BSCT42XY" ? -[y/n] y -OK! Let's do it! --------------------------------------------- -Do you want to install the SYSLINUX bootloader on /dev/sdc1 on this machine "20BSCT42XY" ? -[y/n] y -OK! Let's do it! -A filesystem supporting Unix file mode for syslinux is required. Copying syslinux from FAT to /tmp/... -'/mnt/utils/linux/syslinux' -> '/tmp/syslinux_tmp.ZISOfr/syslinux' -Running: /tmp/syslinux_tmp.ZISOfr/syslinux -d syslinux -f -i /dev/sdc1 -done! -//NOTE// If your USB flash drive fails to boot (maybe buggy BIOS), try to use "syslinux -d syslinux -fs /dev/sdc1", i.e. running with "-fs". - -~~~ - -6. umount et c'est prêt ! - -~~~ -# umount /mnt +# cp gparted-live-1.0.0-5-amd64.iso /dev/sdz # sync -~~~ \ No newline at end of file +~~~ + +## FAQ + +Que faire pour faire « oublier » une clé USB en type iso9660 ? + +formater en fat32, puis supprimer la partition, puis dd /dev/zero