Posts Tagged ‘iso file’

Quick items about repackaging Linux ISO

Thursday, October 28th, 2021

There are two topics I would like to describe here, for later reference (by myself, of course. This blog is my extended memory). The first is about how to create a bootable ISO out of RHEL extracted ISO, and the other is about how to download only specific update, or make your own RHEL updates on-prem mirror.

Bootable ISO

From within the (modified?) extracted ISO of RHEL7.x (in this example. Match settings to your needs), in order to be able to boot the ISO both in legacy and uEFI BIOS – you can run this command:

genisoimage -J -T -o ../RHEL-7.9_`date +%F_%H-%M-%S`.iso -b isolinux/isolinux.bin -J -R -l -c isolinux/ -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -graft-points -V "RHEL-7.9 Server.x86_64" .

Create a local mirror of RHEL packages

This is a long one, so I will leave only a link to RedHat’s article about it. I hope you have access (you should, if you want to mirror their repository). If you don’t – it’s easy and free to open an account (even without subscribed systems), so you’ll have access to their articles. The article can be found here

Linux – Burn DL DVD+R media with custom layer break

Thursday, February 12th, 2009

To burn Dual-Layer (or Double-Layer, of you stick to the official name for DVD+R) medias, I use growisofs.

The syntax is as follow:

growisofs -dvd-compat -use-the-force-luke=break:1913760 -Z /dev/scd0=file.iso

Change the break blocks to match your own values, and replace the file.iso with the actual name of your ISO file.

If you do not set layer break manually, it will be automatically selected, so if you don’t know why you want one, you probably don’t, and have nothing to fear.

I use growisofs version 7.0.1 with genisoimage version 1.1.9