How to create an ISO image from a CD or DVD
This article describes how to create an ISO image file from a CD or DVD. As usual with linux, there is more than one way
to accomplish a task. But as we are all big fans of the linux command line, we will be using the command line tool dd
.
But first we need to know the device our optical drive is assigned to. We can use lsblk
to figure that out.
In our case it seems to be /dev/sr0
. Often there are also some symbolic links pointing to the optical drive. We can use them too,
of course.
After we made sure that the device is not mounted anywhere, we can actually start the copy process using dd
.
Depending on the drive’s speed and the size of the image, the copy process might take some time. We can gain insight into
the program’s progress by sending the USR1
signal to the dd
process. In a separate shell we can find out the pid of the
running dd
process and send it the USR1
signal.
Sending dd
the USR1
signal will make it print the current copy progress on the original shell, e.g.: