LINUX.ORG.RU

История изменений

Исправление vodz, (текущая версия) :

fdisk -lu disk.img
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
...
  Device Boot      Start         End      Blocks   Id  System
  disk.img   *          56     6400000     3199972+   c  W95 FAT32 (LBA)

Sector size * Start = (in the case) 512 * 56 = 28672

sudo mkdir /d1
sudo losetup -o 28672 /dev/loop0 disk.img
sudo mount /dev/loop0 /d1

Исходная версия vodz, :

fdisk -lu disk.img
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
...
  Device Boot      Start         End      Blocks   Id  System
  disk.img   *          56     6400000     3199972+   c  W95 FAT32 (LBA)

Sector size * Start = (in the case) 512 * 56 = 28672

sudo mkdir /d1
sudo losetup -o 28672 /dev/loop0 disk.img /d1