GNU/Linux >> Tutoriels Linux >  >> Cent OS

Comment générer une image ISO amorçable CentOS/RHEL 6 UEFI

1. Montez l'iso d'installation de CentOS/RHEL 6.9 dans /media/RHEL6.9 ;

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

2. Créez un nouveau dossier /opt/make_iso;

# mkdir /opt/make_iso

3. Copiez tous les fichiers de l'iso d'installation de CentOS/RHEL 6.9 dans /opt/make_iso ;

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

4. Copiez le fichier de configuration uefi kickstart dans le répertoire racine de l'image iso :

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

5. Copiez efiboot.img dans le répertoire racine de l'image iso :

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

6. Exécutez la commande ci-dessous pour générer une image iso amorçable UEFI :

# 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

Fichier /tmp/uefi_boot.iso est l'image ISO amorçable par UEFI.


Cent OS
  1. Comment installer phpMyAdmin sur RHEL 8 / CentOS 8

  2. Comment installer P7Zip sur RHEL 8 / CentOS 8

  3. Comment créer une image bootable de Windows 10 dans Debian ?

  4. CentOS / RHEL 7 :Comment supprimer une image de secours à l'aide de grubby

  5. CentOS / RHEL 5 :Comment reconstruire l'image initiale du disque RAM

Comment installer mongodb sur RHEL 8 / CentOS 8

Comment installer maven sur RHEL 8 / CentOS 8

Comment installer cpan sur RHEL 8 / CentOS 8

Comment installer ruby ​​sur RHEL 8 / CentOS 8

Comment installer Docker CE sur RHEL 8 / CentOS 8

Comment installer VirtualBox 6.0 sur CentOS 8 / RHEL 8