Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lwc:misc [2021/09/20 15:20] – created John Harrison | lwc:misc [2026/02/27 19:03] (current) – John Harrison | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * [[http:// | + | * [[http:// |
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Resizing a microSD image ===== | ||
| + | < | ||
| + | $ sudo udisksctl loop-setup -f disk.img | ||
| + | Mapped file disk.img as / | ||
| + | $ gparted / | ||
| + | $ sudo udisksctl loop-delete -b / | ||
| + | </ | ||
| + | // from https:// | ||
| + | |||
| + | ===== resize the filesystem after growing the volume ===== | ||
| + | // | ||
| + | < | ||
| + | lsblk | ||
| + | df -h | ||
| + | sudo resize2fs /dev/sda # assuming ext4 | ||
| + | </ | ||