From 23606aa1bd7f81883fdde8e30d2a65863e2b3086 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 5 Oct 2023 15:10:06 +0200 Subject: [PATCH] linux: added iso guide --- wiki/games/lutris.md | 5 +---- wiki/linux/disk-management.md | 4 ++++ wiki/linux/iso_image.md | 27 +++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 wiki/linux/iso_image.md diff --git a/wiki/games/lutris.md b/wiki/games/lutris.md index e935a17..90b7656 100644 --- a/wiki/games/lutris.md +++ b/wiki/games/lutris.md @@ -21,10 +21,7 @@ For running both Windows applications aswell as games By clicking on the `+` in the left upper corner of the Lutris application a new game can be manually added. -Mount `.iso` files first using the `mount -o loop ` -command. -Check the directory the media was mounted to afterwards to select the appropiate -Option. +Mount `.iso` files as explained in the [ISO image entry](/wiki/linux/iso_image.md#mounting). If a setup executable is available select `Install a Windows game from media`. Then select the setup executable from the mounted path. diff --git a/wiki/linux/disk-management.md b/wiki/linux/disk-management.md index 233ff24..ffe12ae 100644 --- a/wiki/linux/disk-management.md +++ b/wiki/linux/disk-management.md @@ -49,6 +49,10 @@ The following is a command to unmount a device from a specified directory. umount ``` +A special case is the `.iso` format. +It can be mounted too. +A guide on how this is done can be found in the [ISO entry](/wiki/linux/iso_image.md#mounting). + ## Create Partition In the following it is assumed that the disk is `/dev/sda` diff --git a/wiki/linux/iso_image.md b/wiki/linux/iso_image.md new file mode 100644 index 0000000..8590f7c --- /dev/null +++ b/wiki/linux/iso_image.md @@ -0,0 +1,27 @@ +# ISO Image + +An ISO image is a image of a disk that contains everything that would be written to an optical disc +or disk sector. + +## Usage + +### Mounting + +ISO images can be mounted like [file systems](/wiki/linux/disk-management.md#mounting). +This is done with the following command. + +```sh +mount -o loop +``` + +### Creating an ISO Image from CUE and BIN Files + +Given a `.cue` and a `.bin` file an ISO image can be created. +This is done with the utility [bchunk](https://github.com/extramaster/bchunk) as explained by +[J. M. Becker on StackExchange](https://unix.stackexchange.com/questions/29671/how-can-i-convert-a-cue-bin-with-cdr-tracks-image-into-a-single-iso-file). +For this the following command is used. +The file names have to be changed according to the situation. + +```sh +bchunk IMAGE.bin IMAGE.cue IMAGE.iso +```