Find the answer to your Linux question:
Results 1 to 2 of 2
I want to format a partition fat32 and I don't care if Windows can read it. I tried the "mkdosfs" command but it doesn't work for me: [royeo@localhost ~]$ su ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    92

    Trying to format fat32


    I want to format a partition fat32 and I don't care if Windows can read it. I tried the "mkdosfs" command but it doesn't work for me:

    [royeo@localhost ~]$ su
    Password:
    [root@localhost royeo]# mkdosfs -c -F 32 -v /dev/sda2
    bash: mkdosfs: command not found
    [root@localhost royeo]# mkdosfs -c -F32 -v /dev/sda2
    \bash: mkdosfs: command not found
    [root@localhost royeo]#

    I have no idea why it isn't working. "mkdosfs" is in /sbin.

    If anybody has knowledge that would help me I'd sure appreciate it.

    Thanks,

    royeo

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    I have no idea why it isn't working. "mkdosfs" is in /sbin.
    Apparently /sbin isn't on your PATH. Issue the command
    by stating the full pathname /sbin/mkdosfs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •