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

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • 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. How to use the “screen” command in Linux
  2. How to disable a specific command for a specific user in Linux
  3. Apache HTTP server – most commonly used containers (special configuration directives)
  4. Managing MySQL Using Systemd As A Non Root User
  5. How to configure postifx smtp relay in CentOS/RHEL 5 and 6
  6. Understanding OS load average and run queue/blocked queue in terms of CPU utilization in Linux
  7. How to automate sftp file transfers using expect utility
  8. /proc/cpuinfo file explained
  9. CentOS / RHEL 6,7 : Why the files in /tmp directory gets deleted periodically
  10. how to add a custom script to the systemd in CentOS/RHEL 7

You May Also Like

Primary Sidebar

Recent Posts

  • SQL script to find tables that are fragmented
  • TRUNCATE TABLE not releasing space from tablespace
  • How to reclaim entire space of an oracle database table with “Truncate Table” statement
  • Oracle SQL Script to Report Tablespace Free and Fragmentation
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary