Проверить

# fdisk -l disk.img

Подключить

# losetup -f -P disk.img

The -f option will search for the next free loop device to attach the image to. The -P option will trigger a scan for partitions on the attached image and create devices for each partition detected.

Обзор

# losetup -l

Монтируем нужные разделы, работаем с ними, отмонтируем разделы.

Отключить

# losetup -d /dev/loopXXX

Небольшая инструкция, чтобы самому не забыть и другим помочь.

Оригинал: https://blog.tinned-software.net/mount-raw-image-of-entire-disc/








 , , ,






URL записи