MacOS Mojave、ISO 映像和“无法安装的文件系统”错误

mcg*_*glk 3 linux iso-image disk-utility freebsd macos

我有一个小型 Gigabyte BRIX,我正在尝试在其上安装 Linux。然而,我的 Mac 似乎对我下载的每个 ISO 映像都感到厌烦。到目前为止,我已经尝试过 Mint 和 Ubuntu(出于好奇甚至尝试了 FreeBSD),并且我已经验证了它们的校验和(所以没有损坏),但到目前为止,MacOS 对它们中的每一个都犹豫不决,因为“没有可安装的文件系统” ”。

到目前为止,我尝试将其中一个放到拇指驱动器上以便我可以将其实际安装在 BRIX 上,但失败了。是的,我尝试过 Etcher,但到目前为止已经完全变砖了两个 USB 驱动器;磁盘工具的急救立即放弃(与分区问题有关)。

这是莫哈韦沙漠的新事物吗?我以前在使用 ISO 映像时从未遇到过这么大的麻烦。

我尝试了各种hdiutil attach -noverify -nomount技巧,但似乎仍然无法对 ISO 映像执行任何操作。是的,我曾经hdiutil convert将其转变为 DMG,但我仍然得到“无法安装的文件系统”。

任何人?一周来我一直在努力反对这个问题。

Ale*_*x W 9

尝试在 MacOS Mojave 上安装 Ubuntu Server ISO 映像并遇到了此问题。

找到了一个适用于 Unix Stack Exchange 的答案:

https://unix.stackexchange.com/questions/298685/can-a-mac-mount-a-debian-install-cd

步骤 1. 作为块设备附加

# the '-nomount' option avoids the 'mount failed' error
$ hdiutil attach -nomount debian-8.5.0-amd64-CD-1.iso 
/dev/disk2              Apple_partition_scheme          
/dev/disk2s1            Apple_partition_map             
/dev/disk2s2            Apple_HFS   

# verify disk is a block device (indicated by 'b' at line start)
$ ls -l /dev/disk2
br--r-----  1 amorphid  staff    1,   5 Jul 27 19:41 /dev/disk2
Run Code Online (Sandbox Code Playgroud)

步骤 2. 使用 cd9660(又名 ISO9660)文件系统挂载磁盘

# create mount point
$ mkdir -p /tmp/debian-installer

# mount the disk
$ mount -t cd9660 /dev/disk2 /tmp/debian-installer

# see da filez!
$ ls -l /tmp/debian-installer
total 2296
-r--r--r--  1 root  wheel    9468 Jun  4 09:24 README.html
-r--r--r--  1 root  wheel  185525 Jun  1 00:52 README.mirrors.html
-r--r--r--  1 root  wheel  100349 Jun  1 00:52 README.mirrors.txt
-r--r--r--  1 root  wheel     461 Jun  4 08:37 README.source
-r--r--r--  1 root  wheel    6000 Jun  4 09:24 README.txt
-r--r--r--  1 root  wheel     146 Jun  4 08:37 autorun.inf
dr-xr-xr-x  1 root  wheel    2048 Jun  4 08:37 boot
...
Run Code Online (Sandbox Code Playgroud)

步骤 3. 卸载磁盘

# this will fail if the disk is being used
$ umount /dev/disk2
Run Code Online (Sandbox Code Playgroud)

步骤 4. 分离磁盘

$ hdiutil detach /dev/disk2
"disk2" unmounted.
"disk2" ejected.
Run Code Online (Sandbox Code Playgroud)