mkfs.msdos hda.img not working
-
So I'm trying to follow the instructions on setting up qemu and allowing kolibrios to use a virtual hard drive image. When I enter the instruction mkfs.msdos hda.img , linux returns the result bash: mkfs.msdos: command not found. I don't know how to work around this, because I'm just following the instructions line by line. Any help would be appreciated.
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!
If you need to format the image *.img in msdos file system, type in terminal:For more info, see: mkfs, mkfs.msdos or mkfs.vfat.
To see info in terminal, type: * Why the “v” in mkfs.vfat.
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
To see info in terminal, type:
Code: Select all
man mkfs.vfat
The Glass is Always Half Full!
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: No registered users and 15 guests