Hacker News new | ask | show | jobs
by bcl 2959 days ago
You can run parted directly on the image file to make modifications.

    fallocate -l 1G disk.img
    parted ./disk.img