how can I open / modify a (linux) ISO?
If I try to open it via DiskUtility it says The disk you attached was not readable by this computer
.
The image is the current release of ArchLinux: https://www.archlinux.de/download
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityhow can I open / modify a (linux) ISO?
If I try to open it via DiskUtility it says The disk you attached was not readable by this computer
.
The image is the current release of ArchLinux: https://www.archlinux.de/download
On my M1 Mac with macOS 12.3 (Monterey), double-clicking the ISO produces no result. You have to use the terminal to attach the image, (optionally) create a mount point and mount the filesystem.
Attach the ISO to a loop device:
$ hdiutil attach -nomount ubuntu-22.04-live-server-amd64.img
/dev/disk4 GUID_partition_scheme
/dev/disk4s1 Microsoft Basic Data
/dev/disk4s2 EFI
/dev/disk4s3 Microsoft Basic Data
Then arrange the mount:
$ mkdir -p ubuntu
$ mount -t cd9660 /dev/disk4s1 ./ubuntu
$ ls -l ubuntu
If you use a multipart ISO, you can concatenate the files together (this may or may not work):
$ cat part1.iso part2.iso > merged.iso