Arch Linux ARM上的树莓派从OSX



我正试图通过执行"安装"下的说明将Arch Linux ARM安装到我的RasPi 2上,但命令是Linux命令,我正试图用Mac格式化SD,因此我试图绕过的程序存在差异。例如,linux上的sudo fdisk /dev/sdX会导致交互式提示,而OSX上则不同,相反,我必须执行fdisk-ie/dev/sdX才能获得交互式提示,然后命令就不同了。

我想在我的mac上做的是在linux上的相同广告这个过程:

启动fdisk对SD卡进行分区:fdisk/dev/sdX在fdisk上提示,删除旧分区并创建新分区:

Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Type n, then p for primary, 1 for the first partition on the drive, press ENTER to accept the default first sector, then type +100M for the last sector.
Type t, then c to set the first partition to type W95 FAT32 (LBA).
Type n, then p for primary, 2 for the second partition on the drive, and then press ENTER twice to accept the default first and last sector.
Write the partition table and exit by typing w.

但我不确定如何用OSX的fdisk实现这一点。

恐怕这是不可能的:您必须使用linux来安装tarball,因为您必须创建一个OS X不支持的ext分区。

我不得不重新安装Arch,但我刚刚发现他们不再分发磁盘映像了。这个答案解释了一些可能的解决方案。

最新更新