Board.KolibriOS.org
http://board.kolibrios.org/

mkfs.msdos hda.img not working
http://board.kolibrios.org/viewtopic.php?f=23&t=3666
Page 1 of 1

Author:  timbatty [ Sun Feb 11, 2018 10:25 am ]
Post subject:  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.

Author:  dunkaist [ Mon Feb 12, 2018 2:29 am ]
Post subject:  Re: mkfs.msdos hda.img not working

mkfs.msdos is a part of dosfstools package. Install it using package manager of your distribution.

Author:  timbatty [ Mon Feb 12, 2018 6:19 am ]
Post subject:  Re: mkfs.msdos hda.img not working

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?

Author:  JohnXenox [ Mon Feb 12, 2018 7:49 am ]
Post subject:  Re: mkfs.msdos hda.img not working

Hello, timbatty! :D

If you need to format the image *.img in msdos file system, type in terminal:
Code:
## formatting the image in fat12 file system.
mkfs.vfat -F 12 name.img
Code:
## formatting the image in fat16 file system.
mkfs.vfat -F 16 name.img
Code:
## 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:
man mkfs.vfat
* Why the ā€œvā€ in mkfs.vfat.

Author:  baggacfreak [ Mon Feb 12, 2018 5:02 pm ]
Post subject:  Re: mkfs.msdos hda.img not working

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.

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/