First, unmount the USB device and then use lsblk
to verify the device.
Sometimes (usually older iso files) dd is not sufficient and the pendrive will not boot. In this case, you may need to install syslinux:
sudo apt-get install syslinux
and then run the following commands:
sudo mkfs -t vfat -I /dev/sdX
You want to run that last command to /dev/sdX
and not /dev/sdX1
.
Then, proceed with the following commands:
isohybrid /path/to/file.iso --entry 4 --type 0x1c
dd if='/path/to/file.iso' of=/dev/sdX bs=8M
or, to see progress of image write:
pv -tpreb /path/to/file.iso | dd of=/dev/sdX bs=8M
or instead of dd
, you can use cat
instead:
sudo -s
cat /path/to/file.iso > /dev/sdX
Rememeber to issue sync command to flush write cache
sync
web.archive.org/web/20140327085331/https://tails.boum.org/doc/first_steps/installation/manual/linux/index.en.html
sudo umount /dev/sdb sudo dd if=/path/to/ubuntu.iso of=/dev/sdb bs=1M
creates.It doesn't create anyubninit,ldlinux.sys,etc
files which are mainly important a linux os to boot. – Avinash Raj Nov 8 '13 at 9:38dd
as described here. It works with all hybrid iso files. Butdd
is a dangerous tool because it does what you tell it to do without questions. So if you tell it to wipe the family pictures ... and it is a small typing error away. Many tools are more secure. They help you to identify and select the target drive, and provide a final checkpoint, where you can double-check, that you will be writing to the correct drive. Most of these are GUI tools, some can work in text mode too, e.g.mkusb-dus
. – sudodus Mar 26 at 18:16dd
it is important to identify the target drive, for example with the following command line:sudo lsblk -f
and to unmount all partitions on the target drive. The following command line will unmount all partitions on a USB drive:sudo umount /dev/sdx*
where x is the drive letter (identified for example with the previous lsblk command line). – sudodus Mar 27 at 4:42