Я пытаюсь смонтировать пользовательское изображение карты памяти, созданное с fdisk
. Это - то, как я создал изображение:
dd if=/dev/zero of=image.img count=30712320
(размер: 15724707840 B
, 15.7 GB
) fdisk
: o
fdisk
: n
, p
, 1
, enter
, enter
W95 FAT 32 (LBA)
: в fdisk
: t
, c
fdisk
: a
, 1
fdisk
: w
Вывод fdisk -l image.img
:
Disk image.img: 15.7 GB, 15724707840 bytes
193 heads, 9 sectors/track, 17681 cylinders, total 30712320 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc8fac3e1
Device Boot Start End Blocks Id System
image.img1 * 2048 30712319 15355136 c W95 FAT32 (LBA)
Все кажется хорошо, но проблема, я не могу смонтировать изображение:
1) sudo mount image.img /media/image
:
mount: you must specify the filesystem type
2) sudo mount -t vfat image.img /media/image
:
mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error
In some cases useful info is found in syslog - try dmesg | tail or so
3) sudo mount -o offset=1048576 image.img /media/image
(1048576
Сектор =starting number*sector размер):
mount: you must specify the filesystem type
4) sudo mount -t vfat -o offset=1048576 image.img /media/image
(1048576
Сектор =starting number*sector размер):
mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error
In some cases useful info is found in syslog - try dmesg | tail or so
Почему это происходит?