Wednesday, October 25, 2023

Amazon firestick not recognizing a USB drive - issue was with partitioning

There was one drive which was being recognized, and another drive which was not. The drive which was being recognized had the original 16 GB FAT32 partition, while the one which was not being recognized had been used as a Linux Mint installation disk, and had been later reformatted as FAT32 using the "Disks" utility on Linux Mint.

Both show in "Disks" on Linux Mint the following info:
 
 

Suspecting that block size might be the issue, to show the block size,

 
stat -f shows  8192 for the non-working drive and 16384 for the working drive. Tried to see if reformatting would work -

(trying 32k size instead of 16k)
 sudo mkfs.fat /dev/(device name from above) -s 64 -F 16
 

Changed label using
Disks --> Edit Filesystem --> it prompts for the label.
 
But that didn't seem to work - copying a test file seemed to take ages. 

Then, tried GParted. GParted showed the partition to be of type iso9660! 

Unmounted, Deleted the partition, recreated partition table with device -> create partition table (msdos), formatted as msdos, then the Firestick recognizes it OK even though the block size is 8K as shown in 

 stat -f /media/mac/LM
  File: "/media/mac/LM"
    ID: 83100000000 Namelen: 1530    Type: msdos
Block size: 8192       Fundamental block size: 8192
Blocks: Total: 1951116    Free: 1318805    Available: 1318805
Inodes: Total: 0          Free: 0


 

No comments:

Post a Comment