how to shrink Raspberry image

See the following youtube video :-

you will need following software:-


Linux Mint:

Virtual Clone Drive:…

Pishrink Script:

Virtual Machine:


Share the folder in virtual box, run the VM.

First time open the shared folder, it may say ‘you do not have permission’. Do following in this case.


Run sudo adduser <usrname> vboxsf

restart the VM. Now it should work.

open the shared folder say ‘pi’. Right click and open terminal. then execute the script


Alternate methods (mounting sdcard as disk in vbox/linux mint)

Refer to following link:-

how access sd card on Virtualbox