LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-20-2008, 10:19 AM   #1
allstarzero
LQ Newbie
 
Registered: Nov 2004
Location: georgia, us
Distribution: linux mint
Posts: 18

Rep: Reputation: 0
mkfs.vfat and dosbox


Has anyone had any luck creating images with mkfs.vfat and then mounting them in DOSBox?

So far I tried:

Code:
mkfs.vfat -C disk-image 4100
which mounts fine using the loop device, i.e.:

Code:
mount disk-image dos/ -t vfat -o loop
and I can read and write to it, mount/umount it, etc.

But when I try to mount in dosbox using:

Code:
imgmount c ~/disk-image -size 512,63,16,20
it tells me it has mounted, but then when I try to dir, it tells me:

Code:
File *.* not found.
and in the background it says:

Code:
No good partiton found in image.
Loaded image has no valid magicnumbers at the end!
I'm really unsure about the parameters I'm passing to the -size option. I've tried "512,63,16,20" and "512,63,32,255" and "512,63,16,255" and "512,63,255,255," none of which work. Any suggestions at all will be appreciated.
 
Old 02-20-2008, 11:55 AM   #2
allstarzero
LQ Newbie
 
Registered: Nov 2004
Location: georgia, us
Distribution: linux mint
Posts: 18

Original Poster
Rep: Reputation: 0
bximage to the rescue

I had a lot more luck using bximage to create the DOS image. I essentially followed the tutorial here.
 
  


Reply

Tags
dosbox, file, partition, system, virtual


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which package contains mkfs.vfat? ttilt Slackware 9 08-11-2009 11:15 AM
make vfat filesystem, no mkfs.vfat tramni1980 Slackware 11 12-28-2008 11:54 AM
What?? No mkfs.vfat in slackware!! WindowBreaker Slackware 4 03-04-2006 05:58 PM
mkfs.vfat GlobShim Linux - General 2 03-28-2004 02:56 PM
mkfs.vfat?? lss223 Slackware 1 04-28-2003 01:48 AM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration