How to Create Bootable Linux CD

Q. I’m using CentOS Linux and I’d like to create bootable Linux CD for the same. How do I create an installation boot disk?

A. You need to find images/ directory located on CentOS / Fedora / RHEL or any other Linux distribution. This directory contains image files that can be used to create media capable of starting the Linux installation process.

More about images

  • boot.iso – The boot.iso file is an ISO 9660 image of a bootable CD-ROM. It is useful in cases where the CD-ROM installation method is not desired, but the CD-ROM’s boot speed would be an advantage. To use this image file, burn the file onto CD-R (or CD-RW) media as you normally would.
  • diskboot.img – The diskboot.img file is a VFAT filesystem image that can be written to a USB pendrive or other bootable media larger than a floppy. Note that booting via USB is dependent on your BIOS supporting this. It should be written to the device using dd.

Step # 1: Copy boot.iso to /tmp

Type the following command,
# cp boot.iso /tmp
Unmount cdrom
# cd; eject

Step # 2: Insert blank CD R/RW media

Find device name:
# cdrecord -scanbus
Write /tmp/boot.iso to blank cd, enter:
# cdrecord -v -dao dev=1,0,0 /tmp/boot.iso
Replace 1,0,0 with your actual device name obtained using cdrecord -scanbus command. See how to burn ISO images to Cds and CD-RWs under Linux for more information.

Write diskboot.img to floppy

This is optional and use the dd command to copy the image to the floppy / usb pen:
# dd if=diskboot.img of=/dev/fd0 bs=1440k


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 2 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
2 comments… add one
  • sankar.p Sep 6, 2009 @ 10:41

    hi i am sankar. i am running rhel 5 version. i put the command cdrecord -scanbus . then result was this version is an unofficial with dvd suport.

    how can i rectify?

  • santhan Mar 22, 2014 @ 10:06

    Hi, I am Sanathan and Iam a windows user. Can U tell me how to create a bootable CD/DVD for linux redhat from windows os

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum