Use Wodim to write an ISO image to a compatible blank CD and CD writer. Check the image size and drive before starting. Many recent Ubuntu installation images are too large for CD media. Use the medium and writing method documented for your ISO if it does not fit. Wodim writes optical media. Use an appropriate image writer for a USB stick.
Check the image and target drive
Compare the result of sha256sum image.iso with the checksum published by the image provider. Confirm the exact filename and version, then inspect the optical devices listed by lsblk -o NAME,TYPE,SIZE,MODEL,MOUNTPOINTS. Insert a blank writable disc and check the device reported by wodim --devices. If you have more than one drive, match the model before choosing the target. A mounted data disc is a cue to check that you inserted the intended blank media.
Check the ISO size with stat -c %s image.iso and compare it with the capacity of the inserted disc. Choose a speed supported by the drive and media. The Ubuntu Wodim manual describes how to select a device and inspect supported options.
Burn the image and read the resulting disc
After confirming the target, run the command below with your actual ISO and device, using quoted paths for names containing spaces.
wodim dev=/dev/sr0 -v -data ./image.iso
Let writing and finalisation finish. A failed write can leave a write-once disc unusable. Reinsert the disc and open it. You should see the files or directories from the image. A disc containing only the ISO file itself was written as a file instead of as an image. If you are preparing boot media, test the firmware boot menu before relying on the disc. For stronger verification, use the image provider’s documented media check where available.
This guide retains the original 2012 article address. Confirm package availability and supported media on the system you are using now.
