I follow the instruction in this post, using the command
dd if=/dev/sda1 | gzip > disk.img.gz
but the imaging does not seem to stop. Is it because the disk.img is being put (as default) in my Home folder, which is on the same /dev/sda1 partition that I am imaging? (The size of /dev/sda1 is 24GB, but the img file is 32 GB and counting)
Device Boot Start End Blocks Id System /dev/sda1 * 2048 484491263 242244608 83 Linux /dev/sda2 484493310 488396799 1951745 5 Extended /dev/sda5 484493312 488396799 1951744 82 Linux swap / Solaris
If so, given my partition scheme, to solution is to
cd to an external hard drive then use the above command?
EDIT: Added the output of
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 231G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 1.9G 0 part [SWAP]