LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2011, 05:53 AM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 777

Rep: Reputation: 40
How can I make a DOS floppy image in Linux?


I'm trying to create DOS floppies in Linux - not bootable floppies, but virtualbox keeps telling me they are invalid images.

I have tried:

Code:
dd if=/mnt/Data/Microsoft/DOSNetworking/dsk3-1.exe of=dosnet1.img bs=512
mkdosfs dosnet1.img
In Virtualbox I get the error:

Code:
Could not get the storage format of the medium '/home/robertw/dosnet1.img' (VERR_NOT_SUPPORTED).
I am sure I am missing a vital step here, but just can't see it! Anyone able to advise please? Ta.
 
Old 11-26-2011, 06:23 AM   #2
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,297

Rep: Reputation: Disabled
If you mean how can you create an empty dos formatted image:-

dd if=/dev/zero of=dosfloppy bs=1K count=1440

should do it, I think, then:-

mkdosfs -F 12 dosfloppy

to check the image:-

mount -o loop -t msdos dosfloppy /mnt
df -h /mnt
umount /mnt


And there you have a blank formatted floppy image.
If you need anything on it before using VB, add it while loop mounted.

######
How can I make a DOS floppy image in Linux?
I'm trying to create DOS floppies in Linux - not bootable floppies, but virtualbox keeps telling me they are invalid images.
######
 
1 members found this post helpful.
Old 11-27-2011, 04:40 PM   #3
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 777

Original Poster
Rep: Reputation: 40
Thanks, I'd never have worked that out! Looks like you don't need to loop mount it to copy btw.
 
Old 11-27-2011, 05:25 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,426

Rep: Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999
dsk3-1.exe

Pretty sure that is either a self expanding file or a compressed file of some ms sort by the way.


Not sure why you need that but OK. Some old Win98 setup?

Last edited by jefro; 11-27-2011 at 05:26 PM.
 
Old 11-27-2011, 05:30 PM   #5
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 777

Original Poster
Rep: Reputation: 40
It's DOS networking disk, Am trying to get DOS running on a VM as, although dosbox works well, it tears through battery life at an alarming rate on a laptop! My CAD system is a dos based one. It's old, but I've never found a better one.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a bootable DOS floppy disk image sfxpt General 8 05-31-2010 10:50 AM
LXer: How to flash motherboard BIOS from Linux (no DOS/Windows, no floppy drive)? LXer Syndicated Linux News 1 03-11-2007 08:24 AM
mkisofs to make bios update cd from floppy image matazar42 Linux - Software 1 10-22-2005 09:03 PM
DOS Floppy image w/ grub? hroman Linux - Software 5 10-09-2004 01:23 AM
installing DOS on Linux laptop without floppy/CD vk-gentoo Linux - Laptop and Netbook 3 04-06-2004 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration