无法在 /dev/loop0 上安装 ubuntu mate arm

无法在 /dev/loop0 上安装 ubuntu mate arm

我正在尝试通过添加一些需要在操作系统安装时安装的软件来为树莓派定制 ubuntu mate 映像。

但是,尝试使用命令挂载时:

sudo mount -o loop ubuntu_mate_arm.img mnt/

(我也尝试了 -t 选项)

我收到一个错误:

wrong fs type, bad option, bad superblock on /dev/loop0,
   missing codepage or helper program, or other error

以下是输出

dmesg | tail


[ 7642.544485] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[ 7648.172015] fuse init (API version 7.23)
[ 7661.426211] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.426234] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 7661.426579] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.426592] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
[ 7661.426804] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.426815] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 7661.427013] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.427024] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock

另外,我在树莓派上尝试了这个,使用相同的操作系统。

如果我先运行 losetup 然后挂载

sudo losetup /dev/loop0 ubuntu_mate_arm.img
sudo mount /dev/loop0 mnt/

我仍然收到错误,但现在 dmesg 的输出是

[ 7661.426211] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.426234] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 7661.426579] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.426592] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
[ 7661.426804] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.426815] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 7661.427013] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 7661.427024] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock

我正在使用这张图片https://ubuntu-mate.r.worldssl.net/raspberry-pi/ubuntu-mate-16.04-desktop-armhf-raspberry-pi.img.xz

我究竟做错了什么?

相关内容