On Fri, Aug 14, 2015 at 08:17:39PM +0200, aimless wrote:
> I can't create a FAT32 partition with this command dosfstools: mkfs.vfat -F32.
> 
> For example, you can try this :
> 
> $dd if=/dev/zero of=OSMC_TGT.img bs=1M count=256
> 256+0 enregistrements lus
> 256+0 enregistrements écrits
> 268435456 octets (268 MB) copiés, 1,05195 s, 255 MB/s
> $parted -s OSMC_TGT.img mklabel msdos
> $parted -s OSMC_TGT.img mkpart primary fat32 1M 256M
> $kpartx -a OSMC_TGT.img
> mkfs.fat 3.0.27 (2014-11-12)
> unable to get drive geometry, using default 255/63
> $mount /dev/mapper/loop0p1 /mnt
> $touch /mnt/file.txt
> $umount /mnt
> $sync
> $kpartx -d OSMC_TGT.img
> loop deleted : /dev/loop0

I tried this, and it works. Just like it appears to work for you.
What is the problem here exactly?

> Before, I don't have this message : unable to get drive geometry, using 
> default
> 255/63
> 
> Can you help me please ?

With suppressing an informational message? Your bug report doesn't point
to anything actually a bug, as far as I can see.

Please explain better, otherwise I can only close this bug report.

Reply via email to