Create an installation on an SDCARD or copy the contents of the raspian image to a new directory. Both will be referred to as 'raspbian' as a mount point
#Mount img
mkdir -p tmp raspbian
sudo mount rasp.img tmp -o loop -o offset=$((122880*512))
sudo cp -rpv tmp/. raspbian/.