Iso images

From regional-training
Revision as of 20:30, 9 August 2022 by Ralph (talk | contribs) (Created page with "=copying= Iso images can be written to block devices via dd see https://dev.arising.com.au:445/mediawiki/index.php/Kali_linux dd if=some.iso of=/dev/usb-dev bs=1M * copy from cdrom dd if=/dev/sr0 of=~/rip.iso bs=1M =making= * https://www.wikihow.com/Create-an-ISO-File-in-Linux mkisofs -o example.iso /source/directory/ =mounting= * make a mount point mkdir /mnt/iso * mount image e.g. mount -o loop an.iso /mnt/iso * list contents ls /mnt/iso/ * copy cp /mnt/iso/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

copying

Iso images can be written to block devices via dd see https://dev.arising.com.au:445/mediawiki/index.php/Kali_linux

dd if=some.iso of=/dev/usb-dev bs=1M
  • copy from cdrom
dd if=/dev/sr0 of=~/rip.iso bs=1M

making

mkisofs -o example.iso /source/directory/

mounting

  • make a mount point
mkdir /mnt/iso
  • mount image e.g.
mount -o loop an.iso /mnt/iso
  • list contents
ls /mnt/iso/
  • copy
cp /mnt/iso/ ...

using iso images as repositories

extracting

  • list
 isoinfo -i an.iso -l
  • extract
isoinfo -i an.iso -x MD5SUM.TXT > MD5SUM.TXT

References

categories