Board.KolibriOS.org

Official KolibriOS board
It is currently Wed Jun 19, 2019 12:11 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Feb 11, 2018 10:25 am 
Offline

Joined: Fri Jan 31, 2014 6:05 am
Posts: 10
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.


Top
   
PostPosted: Mon Feb 12, 2018 2:29 am 
Online
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 420
mkfs.msdos is a part of dosfstools package. Install it using package manager of your distribution.


Top
   
PostPosted: Mon Feb 12, 2018 6:19 am 
Offline

Joined: Fri Jan 31, 2014 6:05 am
Posts: 10
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?


Top
   
PostPosted: Mon Feb 12, 2018 7:49 am 
Offline
User avatar

Joined: Thu May 18, 2017 2:29 am
Posts: 170
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.

_________________
The Glass is Always Half Full! :mrgreen:


Top
   
PostPosted: Mon Feb 12, 2018 5:02 pm 
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited