Estou tentando personalizar a imagem do mate do Ubuntu para o raspberry pi, adicionando algum software, que precisa ser instalado na instalação do SO.
No entanto, ao tentar montar com o comando:
sudo mount -o loop ubuntu_mate_arm.img mnt/
(eu tentei também com a opção -t)
Eu recebo um erro:
wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
Aqui está a saída de
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
Além disso, estou tentando isso no raspberry pi, usando o mesmo sistema operacional.
Se eu rodar o losetup primeiro e depois montar
sudo losetup /dev/loop0 ubuntu_mate_arm.img
sudo mount /dev/loop0 mnt/
Eu ainda recebo um erro, mas agora a saída do 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
Estou usando esta imagem link
O que estou fazendo de errado?