I have an 32GiB USB flash drive.

I wrote Debian Live image to USB flash drive by "dd".

Now on USB flash drive 27 GiB free space.

I want to use this free space.

  • 1
    You have not been clear about the situation, so I can not tell you exactly. However try gparted. It should help. It can re-size and add partitions. – ctrl-alt-delor Dec 27 '18 at 13:22

Try using a partitioning tool like gparted, available on the excellent SystemRescueCd, to access your USB flash drive. Assuming your Debian installation is on the only partition on the flash drive (/dev/sdb1 or something similar - use lsblk and/or fdisk -l to check), you can use gparted to shrink the partition and create a second partition (or a number of them) in the 27GB of free space. Using lsblk and fdisk -l to find flash drive info

  • Welcome, could you explain how to use Gparted to make the USB usable again (important steps). The same for fdisk. – GAD3R Dec 27 '18 at 14:07
  • Using Gparted with a USB drive is explained in detail elsewhere. I'm entirely too unambitious to repeat the steps here. :-) But here is the link to one such page: [link]howtogeek.com/howt17001o//… Edited for clarity – 007 Dec 27 '18 at 17:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.