Last active
January 6, 2020 11:02
-
-
Save yossioo/b94bb008bd90f80f05ec53f62d64b483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script is not executable :) Use it only for reference | |
# 30 GB: | |
truncate -s $((1024*30))M image.img | |
/sbin/mkfs -t ext4 -q image.img | |
mkdir ~/image_contents | |
sudo mount -o loop image.img ~/image_contents | |
sudo chown -R $USER:$USER ~/image_contents | |
sudo umount ~/image_contents | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment