mkfs.vfat unable create file partition












0















I am trying to create a file system partition using mkfs.vfat uitility.
Below are the command i'm using:



mkfs.vfat -F 32 -n program /dev/sdb1
mkfs.vfat -F 32 -n init /dev/sdb2


I'm getting below warring without creating any partition on disk:



mkfs.fat 3.0.26 (2014-03-07)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.vfat: failed whilst writing FAT
mkfs.fat 3.0.26 (2014-03-07)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.vfat: failed whilst writing FAT


Please share your views to resolve this problem.



Thanks










share|improve this question





























    0















    I am trying to create a file system partition using mkfs.vfat uitility.
    Below are the command i'm using:



    mkfs.vfat -F 32 -n program /dev/sdb1
    mkfs.vfat -F 32 -n init /dev/sdb2


    I'm getting below warring without creating any partition on disk:



    mkfs.fat 3.0.26 (2014-03-07)
    mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
    mkfs.vfat: failed whilst writing FAT
    mkfs.fat 3.0.26 (2014-03-07)
    mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
    mkfs.vfat: failed whilst writing FAT


    Please share your views to resolve this problem.



    Thanks










    share|improve this question



























      0












      0








      0








      I am trying to create a file system partition using mkfs.vfat uitility.
      Below are the command i'm using:



      mkfs.vfat -F 32 -n program /dev/sdb1
      mkfs.vfat -F 32 -n init /dev/sdb2


      I'm getting below warring without creating any partition on disk:



      mkfs.fat 3.0.26 (2014-03-07)
      mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
      mkfs.vfat: failed whilst writing FAT
      mkfs.fat 3.0.26 (2014-03-07)
      mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
      mkfs.vfat: failed whilst writing FAT


      Please share your views to resolve this problem.



      Thanks










      share|improve this question
















      I am trying to create a file system partition using mkfs.vfat uitility.
      Below are the command i'm using:



      mkfs.vfat -F 32 -n program /dev/sdb1
      mkfs.vfat -F 32 -n init /dev/sdb2


      I'm getting below warring without creating any partition on disk:



      mkfs.fat 3.0.26 (2014-03-07)
      mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
      mkfs.vfat: failed whilst writing FAT
      mkfs.fat 3.0.26 (2014-03-07)
      mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
      mkfs.vfat: failed whilst writing FAT


      Please share your views to resolve this problem.



      Thanks







      14.04 partitioning filesystem






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 8 '17 at 3:33









      d a i s y

      3,32282344




      3,32282344










      asked Oct 23 '15 at 16:29









      mrudulamrudula

      1172513




      1172513






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can ignore lowercase label warnink.



          You need to separate commands, e.g.
          mkfs.vfat -F 32 -n program /dev/sdb1
          mkfs.vfat -F 32 -n init /dev/sdb2
          If this is not the case, please provide dmesg output and fdisk -l
          /dev/sdb
          one.



          If your device have no partitions than you have to create new partition table, here is a good example: http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/






          share|improve this answer


























          • I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

            – mrudula
            Oct 23 '15 at 16:41













          • I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

            – mrudula
            Oct 23 '15 at 17:04











          • I gently ask you again for output of fdisk -l /dev/sdb and dmesg

            – Yurii Kolesnykov
            Oct 23 '15 at 17:24











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f688971%2fmkfs-vfat-unable-create-file-partition%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You can ignore lowercase label warnink.



          You need to separate commands, e.g.
          mkfs.vfat -F 32 -n program /dev/sdb1
          mkfs.vfat -F 32 -n init /dev/sdb2
          If this is not the case, please provide dmesg output and fdisk -l
          /dev/sdb
          one.



          If your device have no partitions than you have to create new partition table, here is a good example: http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/






          share|improve this answer


























          • I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

            – mrudula
            Oct 23 '15 at 16:41













          • I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

            – mrudula
            Oct 23 '15 at 17:04











          • I gently ask you again for output of fdisk -l /dev/sdb and dmesg

            – Yurii Kolesnykov
            Oct 23 '15 at 17:24
















          0














          You can ignore lowercase label warnink.



          You need to separate commands, e.g.
          mkfs.vfat -F 32 -n program /dev/sdb1
          mkfs.vfat -F 32 -n init /dev/sdb2
          If this is not the case, please provide dmesg output and fdisk -l
          /dev/sdb
          one.



          If your device have no partitions than you have to create new partition table, here is a good example: http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/






          share|improve this answer


























          • I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

            – mrudula
            Oct 23 '15 at 16:41













          • I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

            – mrudula
            Oct 23 '15 at 17:04











          • I gently ask you again for output of fdisk -l /dev/sdb and dmesg

            – Yurii Kolesnykov
            Oct 23 '15 at 17:24














          0












          0








          0







          You can ignore lowercase label warnink.



          You need to separate commands, e.g.
          mkfs.vfat -F 32 -n program /dev/sdb1
          mkfs.vfat -F 32 -n init /dev/sdb2
          If this is not the case, please provide dmesg output and fdisk -l
          /dev/sdb
          one.



          If your device have no partitions than you have to create new partition table, here is a good example: http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/






          share|improve this answer















          You can ignore lowercase label warnink.



          You need to separate commands, e.g.
          mkfs.vfat -F 32 -n program /dev/sdb1
          mkfs.vfat -F 32 -n init /dev/sdb2
          If this is not the case, please provide dmesg output and fdisk -l
          /dev/sdb
          one.



          If your device have no partitions than you have to create new partition table, here is a good example: http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 23 '15 at 16:47

























          answered Oct 23 '15 at 16:34









          Yurii KolesnykovYurii Kolesnykov

          889610




          889610













          • I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

            – mrudula
            Oct 23 '15 at 16:41













          • I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

            – mrudula
            Oct 23 '15 at 17:04











          • I gently ask you again for output of fdisk -l /dev/sdb and dmesg

            – Yurii Kolesnykov
            Oct 23 '15 at 17:24



















          • I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

            – mrudula
            Oct 23 '15 at 16:41













          • I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

            – mrudula
            Oct 23 '15 at 17:04











          • I gently ask you again for output of fdisk -l /dev/sdb and dmesg

            – Yurii Kolesnykov
            Oct 23 '15 at 17:24

















          I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

          – mrudula
          Oct 23 '15 at 16:41







          I have these two as separate commands: $ mkfs.vfat -F 32 -n program /dev/sdb1 $mkfs.vfat -F 32 -n init /dev/sdb2 Unable to get partitions !! Any idea?

          – mrudula
          Oct 23 '15 at 16:41















          I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

          – mrudula
          Oct 23 '15 at 17:04





          I want to create three different partitions on my SD card. First partition is of FAT32 type using mkfs.vfat, similarly second is of FAT 32. Third partition is of EXT2 type using mkfa.ext2. Third partition is getting created and mounted properly. But firts two partitions are not proper, as i'm getting above mentioned errors. so mkfs.vfat is unable to run completely not creating expected results. any guess?

          – mrudula
          Oct 23 '15 at 17:04













          I gently ask you again for output of fdisk -l /dev/sdb and dmesg

          – Yurii Kolesnykov
          Oct 23 '15 at 17:24





          I gently ask you again for output of fdisk -l /dev/sdb and dmesg

          – Yurii Kolesnykov
          Oct 23 '15 at 17:24


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f688971%2fmkfs-vfat-unable-create-file-partition%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido