[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to resize the IMG USB Live-Debian pendrive ?



On 19/04/2010 19:37, yellow protoss wrote:
Thanks but that was not the question.

Is there someone that knows how to make this pendrive to the full
pendrive? (not making a new partition please)

Just put some empty file inside the binary_local-includes config directory, and that increases the size of binary.img:

dd if=/dev/zero of=empty bs=1000000 count=5

You should change the count to how much free space you want, depending on stick and binary size. You could also make a binary hook that calculates how much the empty size should be.
Then dd the binary.img to a stick and delete the file from your stick.

Best regards,
Tom,


Reply to: