Add Small Files to a Large ISO File Quickly in Windows 11 (NTFS Filesystem HDD/SSD)
In this article, we will cover the process of adding small files to a large ISO file quickly in Windows 11, specifically for ISO files stored on an NTFS filesystem HDD or SSD. ISO files are commonly used for distributing software, games, and operating systems. However, adding new files to an existing ISO file can be a time-consuming process. We will explore a method for quickly adding small files to a large ISO file without having to recreate the entire ISO file.
Why Quickly Adding Small Files to a Large ISO File is Important
Adding small files to a large ISO file can be useful in several scenarios. For instance, if you have an ISO file of an operating system and want to add some drivers or software packages to it, you can use this method instead of creating a new ISO file. Additionally, if you have an ISO file of a game and want to add some custom mods or save games, this method can save you a significant amount of time.
Preparing the ISO File and Files to be Added
Before we dive into the process of adding small files to a large ISO file, we need to make sure we have the necessary files prepared. First, we need to locate the large ISO file we want to modify. It is essential to confirm that the ISO file is not bootable, as we will be modifying its contents, which may render it unbootable.
Next, we need to select the small files we want to add to the ISO file. Ensure that these files are not already included in the ISO file and that they do not contain any viruses or malware. Once the files are selected, we are ready to proceed with the process.
Using the mkisofs Tool to Add Files to the ISO File
The mkisofs tool is a popular command-line utility used to create ISO files. However, it can also be used to add files to an existing ISO file. To accomplish this, we will use the -o (output) and -A (append) options as follows:
mkisofs -o output_file.iso -A append_volume_label large_iso_file.iso small_file_or_directory_to_add
In this command, replace output_file.iso with a new name for the ISO file or the same name if you want to overwrite the original ISO file. Replace append_volume_label with a volume label for the newly-added files, such as "Additions" or the current date. Replace large_iso_file.iso with the name of the existing ISO file, and replace small_file_or_directory_to_add with the name of the file(s) or directory you want to add.
Example Command to Add Files to an ISO File
Let's assume we have an ISO file named windows11.iso with a size of 200 GB, and we want to add a folder called drivers to it. The command would look like this:
mkisofs -o windows11.iso -A DriversAddition windows11.iso drivers
After executing this command, the drivers folder will be added to the windows11.iso file.
- Adding small files to a large ISO file can be useful for several scenarios, such as adding software packages, drivers, mods, and save games.
- The
mkisofstool can be used to add files to an existing ISO file using the-oand-Aoptions. - Ensure that the ISO file is not bootable, and that the files to be added are not already included in the ISO file and contain no viruses or malware.
- Replace the necessary parameters in the
mkisofscommand to suit your needs, such as the output file name, the append volume label, the ISO file name, and the small file or directory to add.