Resizing mysterious partition written by DDing an ISO file

Posted by Jon on Super User See other posts from Super User or by Jon
Published on 2012-12-04T15:40:11Z Indexed on 2012/12/04 17:10 UTC
Read the original article Hit count: 256

Filed under:
|

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.

© Super User or respective owner

Related posts about linux

Related posts about partitioning