How to make .iso from folder in openSUSE Linux

Written by Administrator on Wednesday April 1, 2020

Creating .iso file from several files (let's say folder) is very simple in Linux. First you have to install mkisofs utility:

$ sudo zypper install mkisofs

Then you will need put all your files you want to put in .iso file in a separate folder. In my case, I neede just to rebuild existing bootable .iso file. So, my folder with files is '/home/dima/yobanypizdec'.

Combining files into one .iso file

Then we will you mkisofs utility:

$ mkisofs -o ebatkolotit.iso /home/dima/yobanypizdec/

Where:

  • ebatkolotit.iso  - the name of future .iso file. You can just choose what you like/need
  • /home/dima/yobanypizdec  - full path to a folder (yobanypizdec), where are files are stored (and waiting for becoming proud .iso file)
  • -o (or -output can be used as well)  - is an option, which allows you to define name (and location) of output file. In my example you see the name of output .iso file after an -o option.

Category: linux Tags: mkisofs .iso zypper