Re: need help on vfat partition

2017-12-16 Thread Pascal Hambourg

Le 16/12/2017 à 17:55, Eike Lantzsch a écrit :


Long Wind's partition has type b, that is FAT32.
Now making a filesystem with mkfs.vfat /dev/sda7 should make it readable and
writable for WinXP.


Note that Linux and mkfs.vfat do not care about the partition type id.
Also mkfs.vfat is the same as mkfs.msdos and mkdosfs. By default, when 
not forcing the FAT type with -F, it will select the type depending on 
the volume size. Of course it will select FAT32 for a 50 GB partition.




Re: need help on vfat partition

2017-12-16 Thread Eike Lantzsch
On Saturday, December 16, 2017 5:13:20 PM -03 Pascal Hambourg wrote:
> Le 16/12/2017 à 11:45, Eike Lantzsch a écrit :
> > On Saturday, December 16, 2017 10:10:08 AM -03 Long Wind wrote:
> >> maybe the reason is the partition is too big
> > 
> > for FAT16 or vfat yes. You need to format it as FAT32 or NTFS.
> 
> (...)
> 
> >> PS: the choice of vfat is that IMO vfat is more cross-platform
> > 
> > not really. VFAT allows long filenames - otherwise it is not better than
> > FAT16. That means it allows only partitions up to 2GB.
> 
> FWIW, vfat is not a filesystem layout type, so it has no size limitation
> per se. It is only a way to use long filenames with any FAT type, FAT12,
> FAT16 or FAT32. So vfat on FAT32 has the limits of FAT32.
That is interesting. Any references? The documents I found seem to tell only 
part of the story then.

OK, I found this:
https://en.wikipedia.org/wiki/File_Allocation_Table

"Further, the term "VFAT" has led to various misconceptions as well,[nb 1] as 
it is sometimes erroneously used as if it would describe another variant of 
FAT file system to be distinguished from the FAT12, FAT16 and FAT32 file 
systems, while in reality it does not specify another file system, but an 
optional extension, which can work on top of any FAT file system, FAT12, FAT16 
or FAT32. Volumes utilizing VFAT long-filenames can be read also by operating 
systems not supporting the VFAT extension, as long any operating systems that 
support the underlying file system (FAT12, FAT16, or FAT32)."

Conclusion:
Long Wind's partition has type b, that is FAT32.
Now making a filesystem with mkfs.vfat /dev/sda7 should make it readable and 
writable for WinXP.



Re: need help on vfat partition

2017-12-16 Thread Pascal Hambourg

Le 16/12/2017 à 11:45, Eike Lantzsch a écrit :

On Saturday, December 16, 2017 10:10:08 AM -03 Long Wind wrote:


maybe the reason is the partition is too big

for FAT16 or vfat yes. You need to format it as FAT32 or NTFS.

(...)

PS: the choice of vfat is that IMO vfat is more cross-platform

not really. VFAT allows long filenames - otherwise it is not better than FAT16.
That means it allows only partitions up to 2GB.


FWIW, vfat is not a filesystem layout type, so it has no size limitation 
per se. It is only a way to use long filenames with any FAT type, FAT12, 
FAT16 or FAT32. So vfat on FAT32 has the limits of FAT32.




Re: need help on vfat partition

2017-12-16 Thread Eduardo M KALINOWSKI
On 16-12-2017 08:10, Long Wind wrote:
> i create a vfat partition at sda7 using fdisk of linux
> 
> partition id is set to b
> 
> then i go to XP and format it but fail

Why boot Windows when Linux can create fat partitions? Install
dosfstools and use the mkfs.vfat command.

BTW, Windows XP is unsupported and thus a security risk, as bugs are not
patched by MS anymore.


-- 
Everyone's in a high place when you're on your knees.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: need help on vfat partition

2017-12-16 Thread Eike Lantzsch
On Saturday, December 16, 2017 11:47:07 AM -03 Long Wind wrote:
>  Thank Eike Lantzsch!but I can't find disk manager in Windows XPmy CDROM/DVD
> doesn't work the cause of failure is size too big.
Sent you a link with a screenshot of WinXP with Disk Management in
Administrative Tools / Computer Management

Have fun!



Re: need help on vfat partition

2017-12-16 Thread Georgi Naplatanov
On 12/16/2017 12:10 PM, Long Wind wrote:
> i create a vfat partition at sda7 using fdisk of linux
> 
> partition id is set to b
> 
> then i go to XP and format it but fail
> 
> maybe the reason is the partition is too big
> 
> it's more than 50G

https://technet.microsoft.com/en-us/library/cc938432.aspx

There is mentioned 32GB volume size limit for Windows' 2000 utility
program but that might be valid for Windows XP too.

> What should I do? Thanks!
> 
> PS: the choice of vfat is that IMO vfat is more cross-platform

Linux supports read and write operations for NTFS. I'm not sure if macOS
and *BSDs support NTFS.

Kind regards
Georgi



Re: need help on vfat partition

2017-12-16 Thread Eike Lantzsch
On Saturday, December 16, 2017 10:10:08 AM -03 Long Wind wrote:
> i create a vfat partition at sda7 using fdisk of linux
> 
> partition id is set to b
It might be best to leave the partition untouched and set it up from WXP disk 
manager and then formatting it. WXP disk manager recognizes the partition as 
unused and allows to format as FAT32 or NTFS.
> 
> then i go to XP and format it but fail
hard to say anything without the error message.
> 
> maybe the reason is the partition is too big
for FAT16 or vfat yes. You need to format it as FAT32 or NTFS.
> 
> it's more than 50G
> 
> What should I do? Thanks!

> 
> PS: the choice of vfat is that IMO vfat is more cross-platform
not really. VFAT allows long filenames - otherwise it is not better than FAT16.
That means it allows only partitions up to 2GB.
FAT32:
Partition max size for FAT32: 2TB
allows only files < 4GB
https://www.partitionwizard.com/convertpartition/fat32-partition-size-limit.html

All the best to you
Eike



need help on vfat partition

2017-12-16 Thread Long Wind
i create a vfat partition at sda7 using fdisk of linux

partition id is set to b

then i go to XP and format it but fail

maybe the reason is the partition is too big

it's more than 50G

What should I do? Thanks!

PS: the choice of vfat is that IMO vfat is more cross-platform