« ISO, CD, DVD » : différence entre les versions
Apparence
(6 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 4 : | Ligne 4 : | ||
== Ripper un DVD == | == Ripper un DVD == | ||
* Asunder | |||
* [[Logiciels_ArchLinux#Ripper_un_DVD|Handbrake]] | * [[Logiciels_ArchLinux#Ripper_un_DVD|Handbrake]] | ||
* [http://ogmrip.sourceforge.net/fr/manual.html OGMRip] (problème d'aspect ratio) | * [http://ogmrip.sourceforge.net/fr/manual.html OGMRip] (problème d'aspect ratio) | ||
Ligne 34 : | Ligne 35 : | ||
== [https://wiki.archlinux.org/title/USB_flash_installation_medium Copier un fichier ISO sur une clé USB] == | == [https://wiki.archlinux.org/title/USB_flash_installation_medium Copier un fichier ISO sur une clé USB] == | ||
<kode lang="bash"> | <kode lang="bash"> | ||
# get path to the usb drive | |||
ls -l /dev/disk/by-id/usb-* | |||
# copy the iso image to the usb drive | |||
# use the drive, not the partition | |||
sudo cp /path/image.iso /dev/disk/by-id/usb-My_flash_drive | |||
sudo sync | |||
# restore the USB drive | |||
sudo wipefs --all /dev/disk/by-id/usb-My_flash_drive | |||
</kode> | |||
<kode lang="bash" collapsed> | |||
# OLD way | |||
sudo dd if=/home/xxx/image.iso of=/dev/sdX | sudo dd if=/home/xxx/image.iso of=/dev/sdX | ||
# attention utilisez bien sdX et non sdX1 | # attention utilisez bien sdX et non sdX1 | ||
Ligne 44 : | Ligne 59 : | ||
{{info | [https://github.com/WoeUSB/WoeUSB WoeUSB]: a Microsoft Windows® USB installation media preparer for GNU+Linux}} | {{info | [https://github.com/WoeUSB/WoeUSB WoeUSB]: a Microsoft Windows® USB installation media preparer for GNU+Linux}} | ||
* [[Logiciels_Windows#Cr.C3.A9er_une_cl.C3.A9_USB_bootable|Créer une clé USB bootable sous Windows]] | * [[Logiciels_Windows#Cr.C3.A9er_une_cl.C3.A9_USB_bootable|Créer une clé USB bootable sous Windows]] | ||
Dernière version du 8 septembre 2023 à 11:02
Ripper un CD audio
- Clementine: Tools → Rip audio CD
- Banshee
Ripper un DVD
Monter fichier ISO
# créer le dossier ou l'on veut monter le fichier ISO
sudo mkdir /media/iso
# monter le fichier ISO
sudo mount -o loop -t iso9660 /home/fichier.iso /media/iso
|
Failed to set up a loop device
Vous avez récemment mis à jour le noyau sans encore redémarrer le système.
Redémarrer le système corrigera le problème.
Créer un fichier ISO
# à partir d'un CD/DVD
cat /dev/cdrom > /home/xxx/cdimage.iso
dd if=/dev/cdrom of=/home/xxx/cdimage.iso
# depuis un dossier
mkisofs -V mon_label -r mon_dossier > mon_image.iso
|
![]() |
À partir d'un fichier mdf: utilisez acetoneiso2 |
Copier un fichier ISO sur une clé USB
# get path to the usb drive
ls -l /dev/disk/by-id/usb-*
# copy the iso image to the usb drive
# use the drive, not the partition
sudo cp /path/image.iso /dev/disk/by-id/usb-My_flash_drive
sudo sync
# restore the USB drive
sudo wipefs --all /dev/disk/by-id/usb-My_flash_drive
|
|
![]() |
WoeUSB: a Microsoft Windows® USB installation media preparer for GNU+Linux |
Sauvegarder / restaurer une partition
# Sauvegarder la partition sdb1 vers un fichier
sudo dd if=/dev/sdb1 | gzip | dd of=/chemin/vers/sauvegarde.gz
# Restaurer la partition
gzip -dc /chemin/vers/sauvegarde.gz | dd of=/dev/sdb1
# -d décompresse le fichier avec gzip
# -c envoie le résultat à stdout
# le pipe redirige stdout vers dd qui l'écrit sur /dev/sdb1
|
![]() |
Pour sauvegarder le disque dur complet au lieu d'une partition, utilisez sdb au lieu de sdb1 |
SD card backup
sudo dd if=/dev/sdx of=/path/sd-card.img
sudo umount /dev/sdx1
sudo dd bs=4M if=/path/sd-card.img of=/dev/sdx
sudo sync
|
Effacer un disque
sudo dd if=/dev/zero of=/dev/sdX bs=4096
# The process is finished when dd reports, No space left on device:
# dd: writing to ‘/dev/sdX’: No space left on device
# affiche l'état de la progression de la commande dd
sudo killall -USR1 dd
|