CD/DVD to ISO and ISO to CD/DVD in Command Line
1. How To Create an ISO Image from a CD or DVD
1) Insert the CD or DVD that you want to make an ISO image of.
2) Open a terminal window.
3) Execute the following command:
cat /dev/scd0 > /home/your_username/image_file.iso
where /dev/scd0 is the device name for your drive (to find this, go to the Main Menu, click on System, mouseover Administration and select System Monitor. Click the File Systems tab. The device name will be listed in the Device column). Also make sure to change the path and iso filename to the desired path and filename.
The disc will begin to spin and the ISO image will start being constructed. Once it has completed, you have an ISO image of your CD. To verify that the image was properly created, mount the ISO file and check the contents.
2. How to burn ISO file to CD or DVD:
1) GUI: https://help.ubuntu.com/community/BurningIsoHowto
2) Command Line: https://help.ubuntu.com/community/CdDvd/Burning