kpartx
Create device maps from partition tables. More information: <https://manned.org/kpartx>.
Install
- All systems
-
curl cmd.cat/kpartx.sh
- Debian
-
apt-get install kpartx - Ubuntu
-
apt-get install kpartx - Arch Linux
-
pacman -S kpartx - Kali Linux
-
apt-get install kpartx - CentOS
-
yum install kpartx - Fedora
-
dnf install kpartx - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install kpartx - Raspbian
-
apt-get install kpartx
Create device maps from partition tables. More information: <https://manned.org/kpartx>.
-
Add partition mappings:
kpartx -a whole_disk.img -
Delete partition mappings:
kpartx -d whole_disk.img -
List partition mappings:
kpartx -l whole_disk.img
© tl;dr; authors and contributors