Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
documentation:informatique:linux:drive_images:index [2021/11/24 13:43] – f1sls | documentation:informatique:linux:drive_images:index [2021/11/24 14:48] (Version actuelle) – [DRIVE IMAGES - ISOS] f1sls | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | {{documentation: | ||
====== DRIVE IMAGES - ISOS ====== | ====== DRIVE IMAGES - ISOS ====== | ||
- | ===== | + | ===== CREATE AN ISO FROM A CDROM ===== |
<code bash> | <code bash> | ||
#1. Reading the block size and the volume size: | #1. Reading the block size and the volume size: | ||
- | [root@testserver ~]# isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size' | + | $ isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size' |
Logical block size is: 2048 | Logical block size is: 2048 | ||
Volume size is: 327867 | Volume size is: 327867 | ||
#2. Running dd with the parameters for block size and volume size: | #2. Running dd with the parameters for block size and volume size: | ||
- | [root@testserver ~]# dd if=/ | + | $ 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 ===== |