0

I have a Usb drive and that is connected to a laptop running Linux (Mint).

As soon as I install some software in it (USB memory) seems like it recognizes it as a windows partition and doesn't install it properly, or more particularly finishes the installation but there are essential Linux based scripts missing.

How can I format my USB to be recognized as Linux partition?

Anthon
  • 78,313
  • 42
  • 165
  • 222
Rizias
  • 121
  • 1
  • 4
  • 1
    Possible duplicate of http://unix.stackexchange.com/questions/45051/format-external-hard-drive-to-linux-compatible-file-system – Munir Mar 09 '16 at 16:47
  • 1
    Check `parted` or `gparted`. `ext4` will be better if it is a logical partition. – Thushi Mar 09 '16 at 17:09

1 Answers1

3
  1. Insert USB drive.
  2. lsblk and find your drive.
  3. If mounted then umount it.
  4. fdisk device and create new Linux partition.
  5. Format new partition with mkfs.ext4 or 3 depending on your needs.
  6. mount drive somewhere in your file-system.

Note: Backup your data if you have any before executing mkfs.ext4

Thushi
  • 9,388
  • 4
  • 29
  • 43
wesley
  • 67
  • 4