Of - output file target device (figured out in step 1).īs - bytes to read and write at a time (10M was suggested, I use 1M, default is 512, I believe) If - input file name of the ISO file with full path Issue the needed commands (dd and its friends)all in one go, individual commands separated by a semicolon: $ sudo dd if=/home/username/Downloads/example.iso of=/dev/sdc bs=1M status=progress conv=fdatasync sudo eject /dev/sdc Make sure the USB stick is unmounted (ignore the possible error messages for individual partitions): $ umount /dev/sdc* In this example output you can see which means it’s /dev/sdc. Look for line “Attached … removable disk” close to the end of the listing. Check dmesg output to find out the device assignment (or check with sudo fdisk -l). Do not trust “it’s always been /dev/sdc”.ĬREATING A BOOTABLE USB STICK FROM AN ISO FILE USING dd IN TERMINAL Always check the drive assignment with dmesg or fdisk -l. ![]() ![]() Do it wrong and you just borked your hard disk! ![]()
0 Comments
Leave a Reply. |