Crmgo Blog

Writing an ISO file to a USB flash drive

Writing an ISO file to a USB flash drive

Method 1: Find the USB drive using the dmesg command. sd 6:0:0:0: [sdb] Attached SCSI removable disk Write the image to the USB drive /dev/sdb: sudo dd if=debian-live-8.5.0-amd64-xfce-desktop.iso of=/dev/sdb bs=4096; sync Method 2: sudo mkdir /media/iso sudo mount windows7.iso /media/iso -t udf -o loop All that remains is to copy all the files…

Writing an ISO file to a USB flash drive

Method 1:

Find the USB drive using the dmesg command

sd 6:0:0:0: [sdb] Attached SCSI removable disk

Write the image to the USB drive /dev/sdb

sudo dd if=debian-live-8.5.0-amd64-xfce-desktop.iso of=/dev/sdb bs=4096; sync

 

Method 2:

sudo mkdir /media/iso
sudo mount windows7.iso /media/iso -t udf -o loop

All that remains is to copy all files from the image to the USB drive:
cp -R /media/iso/* /media/MyFlashDrive

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.