Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
documentation:informatique:linux:drive_images:index [2021/02/25 10:13] – créée f1sls | documentation:informatique:linux:drive_images:index [2021/11/24 14:48] (Version actuelle) – [DRIVE IMAGES - ISOS] f1sls | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== DRIVE IMAGES ====== | + | {{documentation: |
+ | ====== DRIVE IMAGES | ||
+ | |||
+ | ===== CREATE AN ISO FROM A CDROM ===== | ||
+ | <code bash> | ||
+ | #1. Reading the block size and the volume size: | ||
+ | $ isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size' | ||
+ | Logical block size is: 2048 | ||
+ | Volume size is: 327867 | ||
+ | #2. Running dd with the parameters for block size and volume size: | ||
+ | $ dd if=/ | ||
+ | </ | ||
+ | |||
+ | ===== CHECK CDROM AND ISO MD5 ===== | ||
+ | <code bash> | ||
+ | $ md5sum image.iso | ||
+ | $ md5sum /dev/sr0 #access to raw driver, not the mounted disk itself | ||
+ | </ | ||
===== CONVERT .BIN TO .ISO ===== | ===== CONVERT .BIN TO .ISO ===== |