2

My USB drive has two partitions as shown by Nautilus File Manager. Gparted, however, only displays one. Moreover, $ sudo fdisk -l only shows my internal drive (sda) but not my USB drive (which should be sdb).

How can I merge these two partitions back into just one?

enter image description here

3
  • 1
    As far as I can see, Gparted show no partition on you /dev/sdb. But the "Ubuntu 14.04.03..." volume is supposedly on the drive? What is the type of USB drive? Sometimes they have fancy features, with hidden partitions, for apps, crypto, or so. Jan 29, 2016 at 6:46
  • Format my USB drive, it will create a new partition table and a filesystem. Jan 29, 2016 at 6:57
  • Dear @AndersOlsson, thank you very much for your comment! The drive is a normal USB stick that I previously used as a Windows 10 boot disk. How would you advise me to proceed?
    – orschiro
    Jan 29, 2016 at 11:43

1 Answer 1

2

Try clearing the whole drive(please triple check that the sdb is really the USB stick first):

sudo dd if=/dev/zero of=/dev/sdb bs=1M

Then use Gparted to create a new partition table, and add one primary partition of FAT32 type to it. Don't forget to apply the operations.

Remove and re-insert the stick, and see if you can mount it and it's the expected size.

You must log in to answer this question.

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