LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 891|回复: 0

How do I make a Windows filesystem on Linux?(转载)

[复制链接]
发表于 2005-5-15 14:06:53 | 显示全部楼层 |阅读模式
http://www.cs.utexas.edu/users/walter/geek/linux-tips.html
How do I make a Windows filesystem on Linux?

You got yourself some nice shiny USB external storage device (for example) and you want to create a FAT32 filesystem on it so that Windows and Linux can read it. You've already allocated a partition (Windows FAT32 LBA, type 0C) and figured out that you need to do something involving mkfs to actually create the partition, but get the following error:

[root@persephone root]# mkfs.vfat /dev/sda1
mkfs.vfat 2.9 (15 May 2003)
mkfs.vfat: Attempting to create a too large file system

This occurs if the partition is too large for a FAT filesystem. Tell it to create a FAT32 filesystem instead: mkfs.vfat -F 32 /dev/sda1

Anecdotally, I've seen Windows create a FAT32 partition on a removable storage device that Linux couldn't read (lots of errors about reading beyond the end of the device); the problem went away when I created the partition from Linux. I haven't bothered to investigate further.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表