mkfs.msdos hda.img not working

Post here questions, problems and suggestions in English language
  • mkfs.msdos is a part of dosfstools package. Install it using package manager of your distribution.
  • So I tried to install this using synaptic. I found that dosfstools was already installed. So I uninstalled it and reinstalled it. I'm still getting the same error... bash: mkfs.msdos: command not found. How can I look at the dosfstools help file to see how the command should be configured?
  • Hello, timbatty! :D

    If you need to format the image *.img in msdos file system, type in terminal:

    Code: Select all

    ## formatting the image in fat12 file system.
    mkfs.vfat -F 12 name.img

    Code: Select all

    ## formatting the image in fat16 file system.
    mkfs.vfat -F 16 name.img

    Code: Select all

    ## formatting the image in fat32 file system.
    mkfs.vfat -F 32 name.img
    For more info, see: mkfs, mkfs.msdos or mkfs.vfat.

    To see info in terminal, type:

    Code: Select all

    man mkfs.vfat
    * Why the “v” in mkfs.vfat.
    The Glass is Always Half Full! :mrgreen:
  • or use virtualbox. I just posted a video on how to setup in virtualbox. I used windows 7 to format the virtual disc, but it should work within linux on virtualbox, too.
  • Who is online

    Users browsing this forum: Google [Bot], Semrush [Bot] and 11 guests