• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Generate An CentOS/RHEL 6 UEFI Bootable ISO Image

by admin

1. Mount CentOS/RHEL 6.9 installation iso into /media/RHEL6.9;

# mkdir /media/RHEL6.9
# mount -o ro /dev/cdrom /media/RHEL6.9

2. Create a new folder /opt/make_iso;

# mkdir /opt/make_iso

3. Copy all files of CentOS/RHEL 6.9 installation iso to /opt/make_iso;

# tar cf - /media/RHEL6.9 | ( cd /opt/make_iso/; tar xpvf - )

4. Copy uefi kickstart config file to the root directory of iso image:

# cp uefi_ks.cfg /opt/make_iso/ks.cfg

5. Copy efiboot.img to the root directory of iso image:

# cp /opt/make_iso/images/efiboot.img /opt/make_iso

6. Run below command to generate UEFI bootable iso image:

# mkisofs -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e efiboot.img -no-emul-boot -no-iso-translate -r -l -T -J -o /tmp/uefi_boot.iso /opt/make_iso

File /tmp/uefi_boot.iso is the UEFI-bootable ISO image.

Filed Under: CentOS/RHEL, CentOS/RHEL 6, Linux

Some more articles you might also be interested in …

  1. RHV – Understanding of Qemu Guest Agent
  2. Linux OS Service ‘sshd’
  3. What are “segfault” messages in /var/log/messages file
  4. CentOS / RHEL 7 : How to configure kdump using GUI
  5. How to run ssh on multiple ports
  6. “Logical volume vg/lv contains a filesystem in use” – while removing LVM filesystem
  7. How to monitor your CPU on debian or ubuntu systems
  8. UNIX / Linux : How to delete root equivalent user (Non-Root User with UID 0)
  9. How to Configure Persistent Names for Tape Devices in CentOS/RHEL
  10. How to set children-max for udev Service in CentOS/RHEL 7

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright