Xorriso is a command-line tool included with libburnia, a project that develops various pieces of disk recording software. It is used to create, load, manipulate, and write ISO 9660 filesystem images with Rock Ridge extensions. Xorriso copies file objects from POSIX compliant filesystems into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise manipulation of such filesystems. It can load the management information of existing ISO images and write the session results to optical media or to filesystem objects. Vice versa, xorriso is also able to copy file objects out of ISO 9660 filesystems. Xorriso can be used both as a single command-line interface and with GNU Readline and Dialog-based interfaces.
The xorriso tool provides commands that are either actions or settings that influence following actions. Their sequence matters, unless they are given as program arguments and command -x is among them. Commands consist of a command word, followed by zero or more parameter words. If the list of parameter words is of variable length, it must be terminated by either the list delimiter, occur at the end of the argument list, or occur at the end of an input line. At program start, the list delimiter is the string "--". Pattern expansion converts a list of pattern words into a list of existing file addresses. Unmatched pattern words will appear unaltered in that result list. Pattern matching supports the usual shell parser wildcards '*' '?' '[xyz]' and respects '/' as the path separator, which may only be matched literally.
Xorriso is a program that can create, load, manipulate, and write ISO 9660 filesystem images with Rock Ridge extensions. It can also copy file objects out of ISO 9660 filesystems. A special property of xorriso is that it needs neither an external ISO 9660 formatter program nor an external burn program for CD, DVD, or BD but rather incorporates the libraries of libburnia-project.org.
To install xorriso, there are a few methods to choose from depending on your operating system. Here are some steps to install xorriso on Ubuntu:
- Open the terminal and run the following command to add the universe repository:
sudo apt-add-repository universe
- Install xorriso by running the following command:
sudo apt-get install xorriso
- Check whether xorriso has been installed correctly by running the following command:
xorriso --version
This should display the version number of xorriso installed on your system.
If your operating system does not offer a package "xorriso" or "libisoburn", or if they are older than version 1.2.9 (1.3.0 was released in 2013), then you can download and compile GNU xorriso. Here are the steps to compile GNU xorriso:
- Download the latest version of xorriso from the official website:
wget https://www.gnu.org/software/xorriso/xorriso-1.5.0.tar.gz
- Extract the downloaded file:
tar xzf xorriso-1.5.0.tar.gz
- Change to the extracted directory:
cd xorriso-1.5.0
- Configure and compile xorriso:
./configure && make
- Check whether the compiled version of xorriso is willing to work:
xorriso/xorriso
This should display the version number of the compiled xorriso.
You can use the compiled version of xorriso with the grub-mkrescue option "–xorriso=". Obtain its absolute address with the following command:
ls $(pwd)/xorriso/xorriso
Then use it with the grub-mkrescue option:
grub-mkrescue --xorriso=...absolute.address.of.xorriso...
Note: The above instructions are specific to Ubuntu and may not be applicable to other operating systems. It is always a good practice to refer to the official documentation of the operating system or software for specific instructions on installation and usage.