{{tag>Brouillon ISO}}
= Live-usb
md5sum $(find ! -name "md5sum.txt" ! -path "./isolinux/*" -follow -type f) > md5sum.txt
[[http://ubuntuforums.org/showthread.php?t=1980215]]
xorriso -as mkisofs -D -r -J -joliet-long -l -V jibedeb-$(date -u +%m%d%H%M%S) -b isolinux/isolinux.bin -c isolinux/boot.cat -iso-level 3 -no-emul-boot -partition_offset 16 -boot-load-size 4 -boot-info-table -isohybrid-mbr /home/jibe/Téléchargements/debian-live-7.5.0-amd64-rescue.iso -o jibedeb.iso ./iso
xorriso -as mkisofs -D -r -l -V jibedeb-$(date -u +%m%d%H%M%S) -b isolinux/isolinux.bin -c isolinux/boot.cat -iso-level 3 -no-emul-boot -partition_offset 16 -boot-load-size 4 -boot-info-table -isohybrid-mbr /home/jibe/Téléchargements/debian-live-7.5.0-amd64-rescue.iso -o jibedeb.iso ./iso
Pour les options **-b** et **-c** le chemin est relatif au CD
**Attention à la commande ddrescue** \\
ici /dev/sdb sera écrasé. Vous risquez de perdre des données !
# dd if=jibedeb.iso of=/dev/sdb conv=fsync
ddrescue -y jibedeb.iso /dev/sdb --force
== Iso Hybrid (CD + Clef USB)
Il peut arriver que l'iso généré ne soit que pour CD.
Pour le rendre compatible USB
sudo apt-get install syslinux-utils
isohybrid jibedeb.iso
Reste plus qu'à utiliser dd ou ddrescue
== Info sur l'iso
apt-get install dumpet
dumpet -i plop.iso
----------
https://wiki.debian.org/DebianInstaller/Preseed/EditIso