Working with disk images: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 January 2023

  • curprev 16:0416:04, 12 January 2023Mike talk contribs 364 bytes +364 Created page with "=== mounting a full disk === ==== list available deices ==== $ losetup -f ==== setup a file as a disk. ==== $ losetup -P /dev/loop0 ./myimage.img $ ls -l /dev/loop0* /dev/loop0 /dev/loop0p1 /dev/loop0p2 ==== mount partition ==== $ mount /dev/loop0p1 /mnt/disk ==== umount partition ==== $ umount /mnt/disk ==== delete the mount ==== $ losetup -d /dev/loop0" Tag: Visual edit