steps:

1.Boot up the Linux

2.Go to a terminal Screen.

3.Then type “dd if=/dev/cdrom of=~/cdrom_image.iso”.

4.Or type “mkisofs -o /tmp/cd.iso /tmp/directory/”.