1

I used dd to write the image to my flash drive (64M image). Real capacity of USB is 2G Works great. But when I tried to write Xubuntu img on it. There is no free space. I already tried fdisk, parted and others, but there is no result.

Please, help me. What may I do to recover USB capacity?

ps I can use only cli

2

1 Answer 1

1

That's right; when you use dd to image a USB drive, the source file is all you get. You will need to use fdisk or parted to delete the filesystem on the USB (erasing what you put there before) then create a FAT or FAT32 partition to make all the space usable.

Illustrations of how to use fdisk in general are shown here; examples of fdisk and parted are shown here.

2
  • is a way without gui? I can use only cli Oct 7, 2019 at 20:30
  • CLI apps to do that are linked in the revised answer.
    – K7AAY
    Oct 7, 2019 at 23:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .