mkfs.vfat not found on GuixSD












2














Troubles formatting usb-flash under GuixSD, cause it cannot find mkfs.vfat.



I've installed dosfstools but util-linux installation shows some another stuff.



# guix package -i dosfstools
The following package will be upgraded:
dosfstools 4.1 → 4.1 /gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1

nothing to be done

# guix package -i util-linux
The following package will be upgraded:
util-linux 2.32 → 2.32 /gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/ml5l1q5k3law12k0wzwhm99wbrhsbfsh-profile.drv
/gnu/store/xp95dbp21vy2an0rjrzfq5askywn9xsc-fonts-dir.drv
/gnu/store/w161mxr5ilqavkgd90gl2f5pfz92nlk1-info-dir.drv
/gnu/store/q4bp45cm6nnjjmk14cpy7kfklaq3j4wv-ca-certificate-bundle.drv
/gnu/store/nm2iv9g5kjg5bb344n6p8c7aha5k8dvj-gtk-im-modules.drv
/gnu/store/bi0wh6qa9c1l065d33nbfazd8kn5bprh-xdg-desktop-database.drv
/gnu/store/6j4m52dc2fdz8sj88crr8i5vi39m2bzc-gtk-icon-themes.drv
/gnu/store/68jwfnbz1nhczf2lg7jnklp9bzk7avls-glib-schemas.drv
/gnu/store/0hp1w4nsxq288s5p9lwxqcfpnrr9r9sn-xdg-mime-database.drv
/gnu/store/lzjilc0nallyk6k1lnk0v97y2af49mfk-manual-database.drv
No schema files found: doing nothing.
Creating manual page database...
146 entries processed in 0.5 s
9 packages in profile

# whereis mkfs |grep vfat
#
# whereis mkfs
mkfs: /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.cramfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.bfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.fat /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.minix /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext4 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext2 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.cramfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.bfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.minix /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext3 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs

# mkfs -t vfat /dev/sdb1
mkfs: failed to execute mkfs.vfat: No such file or directory


Sorry? Why all another filesystems present but vfat does not?



mkdosfs does not work too:



mkdosfs -F 32 -I /dev/sdb1
bash: mkdosfs: command not found


How to format to Fat 32 under GuixSD? I want just to burn flash with linux-iso.










share|improve this question





























    2














    Troubles formatting usb-flash under GuixSD, cause it cannot find mkfs.vfat.



    I've installed dosfstools but util-linux installation shows some another stuff.



    # guix package -i dosfstools
    The following package will be upgraded:
    dosfstools 4.1 → 4.1 /gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1

    nothing to be done

    # guix package -i util-linux
    The following package will be upgraded:
    util-linux 2.32 → 2.32 /gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32

    substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
    The following derivations will be built:
    /gnu/store/ml5l1q5k3law12k0wzwhm99wbrhsbfsh-profile.drv
    /gnu/store/xp95dbp21vy2an0rjrzfq5askywn9xsc-fonts-dir.drv
    /gnu/store/w161mxr5ilqavkgd90gl2f5pfz92nlk1-info-dir.drv
    /gnu/store/q4bp45cm6nnjjmk14cpy7kfklaq3j4wv-ca-certificate-bundle.drv
    /gnu/store/nm2iv9g5kjg5bb344n6p8c7aha5k8dvj-gtk-im-modules.drv
    /gnu/store/bi0wh6qa9c1l065d33nbfazd8kn5bprh-xdg-desktop-database.drv
    /gnu/store/6j4m52dc2fdz8sj88crr8i5vi39m2bzc-gtk-icon-themes.drv
    /gnu/store/68jwfnbz1nhczf2lg7jnklp9bzk7avls-glib-schemas.drv
    /gnu/store/0hp1w4nsxq288s5p9lwxqcfpnrr9r9sn-xdg-mime-database.drv
    /gnu/store/lzjilc0nallyk6k1lnk0v97y2af49mfk-manual-database.drv
    No schema files found: doing nothing.
    Creating manual page database...
    146 entries processed in 0.5 s
    9 packages in profile

    # whereis mkfs |grep vfat
    #
    # whereis mkfs
    mkfs: /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.cramfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.bfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.fat /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.minix /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext4 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext2 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.cramfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.bfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.minix /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext3 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs

    # mkfs -t vfat /dev/sdb1
    mkfs: failed to execute mkfs.vfat: No such file or directory


    Sorry? Why all another filesystems present but vfat does not?



    mkdosfs does not work too:



    mkdosfs -F 32 -I /dev/sdb1
    bash: mkdosfs: command not found


    How to format to Fat 32 under GuixSD? I want just to burn flash with linux-iso.










    share|improve this question



























      2












      2








      2







      Troubles formatting usb-flash under GuixSD, cause it cannot find mkfs.vfat.



      I've installed dosfstools but util-linux installation shows some another stuff.



      # guix package -i dosfstools
      The following package will be upgraded:
      dosfstools 4.1 → 4.1 /gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1

      nothing to be done

      # guix package -i util-linux
      The following package will be upgraded:
      util-linux 2.32 → 2.32 /gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32

      substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
      The following derivations will be built:
      /gnu/store/ml5l1q5k3law12k0wzwhm99wbrhsbfsh-profile.drv
      /gnu/store/xp95dbp21vy2an0rjrzfq5askywn9xsc-fonts-dir.drv
      /gnu/store/w161mxr5ilqavkgd90gl2f5pfz92nlk1-info-dir.drv
      /gnu/store/q4bp45cm6nnjjmk14cpy7kfklaq3j4wv-ca-certificate-bundle.drv
      /gnu/store/nm2iv9g5kjg5bb344n6p8c7aha5k8dvj-gtk-im-modules.drv
      /gnu/store/bi0wh6qa9c1l065d33nbfazd8kn5bprh-xdg-desktop-database.drv
      /gnu/store/6j4m52dc2fdz8sj88crr8i5vi39m2bzc-gtk-icon-themes.drv
      /gnu/store/68jwfnbz1nhczf2lg7jnklp9bzk7avls-glib-schemas.drv
      /gnu/store/0hp1w4nsxq288s5p9lwxqcfpnrr9r9sn-xdg-mime-database.drv
      /gnu/store/lzjilc0nallyk6k1lnk0v97y2af49mfk-manual-database.drv
      No schema files found: doing nothing.
      Creating manual page database...
      146 entries processed in 0.5 s
      9 packages in profile

      # whereis mkfs |grep vfat
      #
      # whereis mkfs
      mkfs: /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.cramfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.bfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.fat /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.minix /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext4 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext2 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.cramfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.bfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.minix /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext3 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs

      # mkfs -t vfat /dev/sdb1
      mkfs: failed to execute mkfs.vfat: No such file or directory


      Sorry? Why all another filesystems present but vfat does not?



      mkdosfs does not work too:



      mkdosfs -F 32 -I /dev/sdb1
      bash: mkdosfs: command not found


      How to format to Fat 32 under GuixSD? I want just to burn flash with linux-iso.










      share|improve this question















      Troubles formatting usb-flash under GuixSD, cause it cannot find mkfs.vfat.



      I've installed dosfstools but util-linux installation shows some another stuff.



      # guix package -i dosfstools
      The following package will be upgraded:
      dosfstools 4.1 → 4.1 /gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1

      nothing to be done

      # guix package -i util-linux
      The following package will be upgraded:
      util-linux 2.32 → 2.32 /gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32

      substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
      The following derivations will be built:
      /gnu/store/ml5l1q5k3law12k0wzwhm99wbrhsbfsh-profile.drv
      /gnu/store/xp95dbp21vy2an0rjrzfq5askywn9xsc-fonts-dir.drv
      /gnu/store/w161mxr5ilqavkgd90gl2f5pfz92nlk1-info-dir.drv
      /gnu/store/q4bp45cm6nnjjmk14cpy7kfklaq3j4wv-ca-certificate-bundle.drv
      /gnu/store/nm2iv9g5kjg5bb344n6p8c7aha5k8dvj-gtk-im-modules.drv
      /gnu/store/bi0wh6qa9c1l065d33nbfazd8kn5bprh-xdg-desktop-database.drv
      /gnu/store/6j4m52dc2fdz8sj88crr8i5vi39m2bzc-gtk-icon-themes.drv
      /gnu/store/68jwfnbz1nhczf2lg7jnklp9bzk7avls-glib-schemas.drv
      /gnu/store/0hp1w4nsxq288s5p9lwxqcfpnrr9r9sn-xdg-mime-database.drv
      /gnu/store/lzjilc0nallyk6k1lnk0v97y2af49mfk-manual-database.drv
      No schema files found: doing nothing.
      Creating manual page database...
      146 entries processed in 0.5 s
      9 packages in profile

      # whereis mkfs |grep vfat
      #
      # whereis mkfs
      mkfs: /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.cramfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.bfs /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.fat /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs.minix /gnu/store/lbbmdb8q34bxggkvsidi4j9hiyw3flv2-profile/sbin/mkfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext4 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext2 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.cramfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.bfs /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.minix /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext3 /gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs

      # mkfs -t vfat /dev/sdb1
      mkfs: failed to execute mkfs.vfat: No such file or directory


      Sorry? Why all another filesystems present but vfat does not?



      mkdosfs does not work too:



      mkdosfs -F 32 -I /dev/sdb1
      bash: mkdosfs: command not found


      How to format to Fat 32 under GuixSD? I want just to burn flash with linux-iso.







      vfat guix guixsd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 29 mins ago









      GAD3R

      25.4k1750106




      25.4k1750106










      asked Aug 3 at 18:08









      znavko

      162




      162






















          1 Answer
          1






          active

          oldest

          votes


















          0















          How to format to Fat 32 under GuixSD?




          You should use the following command:



          mkfs.fat -F 32 /dev/sdb


          The command mkfs.vfat is depricated (old) accordding to the source package, (check guix package -s dosfstools to get the package source).



          To get the command mkfs.vfat again you should rebuild the package with the --enable-compat-symlinks option:




          The ./configure script has an option --enable-compat-symlinks that will configure the build to symlink older names of the tools to the current ones on installation. These are dosfsck, fsck.msdos and fsck.vfat for fsck.fat, mkdosfs, mkfs.msdos and mkfs.vfat for mkfs.fat and dosfslabel for fatlabel.




          once done the command mkfs.vfat will work , and the mkfs will accept the vfat option.





          share





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f460401%2fmkfs-vfat-not-found-on-guixsd%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















            How to format to Fat 32 under GuixSD?




            You should use the following command:



            mkfs.fat -F 32 /dev/sdb


            The command mkfs.vfat is depricated (old) accordding to the source package, (check guix package -s dosfstools to get the package source).



            To get the command mkfs.vfat again you should rebuild the package with the --enable-compat-symlinks option:




            The ./configure script has an option --enable-compat-symlinks that will configure the build to symlink older names of the tools to the current ones on installation. These are dosfsck, fsck.msdos and fsck.vfat for fsck.fat, mkdosfs, mkfs.msdos and mkfs.vfat for mkfs.fat and dosfslabel for fatlabel.




            once done the command mkfs.vfat will work , and the mkfs will accept the vfat option.





            share


























              0















              How to format to Fat 32 under GuixSD?




              You should use the following command:



              mkfs.fat -F 32 /dev/sdb


              The command mkfs.vfat is depricated (old) accordding to the source package, (check guix package -s dosfstools to get the package source).



              To get the command mkfs.vfat again you should rebuild the package with the --enable-compat-symlinks option:




              The ./configure script has an option --enable-compat-symlinks that will configure the build to symlink older names of the tools to the current ones on installation. These are dosfsck, fsck.msdos and fsck.vfat for fsck.fat, mkdosfs, mkfs.msdos and mkfs.vfat for mkfs.fat and dosfslabel for fatlabel.




              once done the command mkfs.vfat will work , and the mkfs will accept the vfat option.





              share
























                0












                0








                0







                How to format to Fat 32 under GuixSD?




                You should use the following command:



                mkfs.fat -F 32 /dev/sdb


                The command mkfs.vfat is depricated (old) accordding to the source package, (check guix package -s dosfstools to get the package source).



                To get the command mkfs.vfat again you should rebuild the package with the --enable-compat-symlinks option:




                The ./configure script has an option --enable-compat-symlinks that will configure the build to symlink older names of the tools to the current ones on installation. These are dosfsck, fsck.msdos and fsck.vfat for fsck.fat, mkdosfs, mkfs.msdos and mkfs.vfat for mkfs.fat and dosfslabel for fatlabel.




                once done the command mkfs.vfat will work , and the mkfs will accept the vfat option.





                share













                How to format to Fat 32 under GuixSD?




                You should use the following command:



                mkfs.fat -F 32 /dev/sdb


                The command mkfs.vfat is depricated (old) accordding to the source package, (check guix package -s dosfstools to get the package source).



                To get the command mkfs.vfat again you should rebuild the package with the --enable-compat-symlinks option:




                The ./configure script has an option --enable-compat-symlinks that will configure the build to symlink older names of the tools to the current ones on installation. These are dosfsck, fsck.msdos and fsck.vfat for fsck.fat, mkdosfs, mkfs.msdos and mkfs.vfat for mkfs.fat and dosfslabel for fatlabel.




                once done the command mkfs.vfat will work , and the mkfs will accept the vfat option.






                share











                share


                share










                answered 34 secs ago









                GAD3R

                25.4k1750106




                25.4k1750106






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2funix.stackexchange.com%2fquestions%2f460401%2fmkfs-vfat-not-found-on-guixsd%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

                    Accessing regular linux commands in Huawei's Dopra Linux

                    Can't connect RFCOMM socket: Host is down

                    Kernel panic - not syncing: Fatal Exception in Interrupt