• 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. ss: command not found
  2. apt-key: command not found
  3. How to set children-max for udev Service in CentOS/RHEL 7
  4. ip Command Examples to Manage Networking in Linux
  5. cpufreq-aperf Command Examples in Linux
  6. Patch Management of Linux Servers Using Spacewalk
  7. nordvpn Command Examples in Linux
  8. bpftrace Command Examples in Linux
  9. asterisk Command Example
  10. “lsb_release: command not found” – Fix in CentOS/RHEL

You May Also Like

Primary Sidebar

Recent Posts

  • pw-cat Command Examples in Linux
  • pvs: command not found
  • pulseaudio: command not found
  • pulseaudio Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright