Resizing mysterious partition written by DDing an ISO file
I downloaded clonezilla and then wrote it to a USB flash drive with this:
dd if=clonezilla.iso of=/dev/sdb
I've confirmed that the system boots and clonezilla runs from the flash drive.
I want to store a clonezilla backup on the same flash drive clonezilla is running on, but I tried it and ran out of space, so I started looking at how to resize the mysterious partition type that was generated from the ISO.
fdisk -l /dev/sdb
....
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 111 113664 17 Hidden HPFS/NTFS
....
I've tried using ntfsresize
from the Debian ntfsprogs
package.
I'm trying gparted next, but thought I'd ask here if anyone knows a neat way to resize a partition created on flash from a liveCD image.
Thanks in advance
Jon
ps. Assume Debian 6 please.
Solution 1:
Old thread...Kali in my case, but I used Etcher to write the ISO to one thumb drive, then cloned it onto the media I wanted, which resulted in no iso9660 filesystem, so I could use the extra space for my own persistent partition.