Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating a (bootable) DOS floppy disk image

235 views
Skip to first unread message

T o n g

unread,
May 30, 2010, 1:20:01 AM5/30/10
to
Hi,

How can I make a DOS floppy disk image under Linux?

[OT]
Moreover, my experience with DOS was back in stone age when you use

sys A:

to make it boot-able. Now with Win NT/XP etc, I hear that merely copying
ntldr, ntdetect.com and boot.ini into it will make it boot-able. Anybody
know if it is true?
[/OT]

Thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/htssb0$bu9$1...@dough.gmane.org

Alan Ianson

unread,
May 30, 2010, 2:40:01 AM5/30/10
to
On Sat May 29 2010 10:16:16 pm T o n g wrote:
> Hi,
>
> How can I make a DOS floppy disk image under Linux?

I haven't made a dos disk in ages but I think mkdosfs from the dosfstools
package will do this.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/201005292329....@gmail.com

Howard Eisenberger

unread,
May 30, 2010, 3:30:02 AM5/30/10
to
On 2010-05-30, T o n g wrote:

> How can I make a DOS floppy disk image under Linux?
>
> [OT]
> Moreover, my experience with DOS was back in stone age when you use
>
> sys A:
>
> to make it boot-able. Now with Win NT/XP etc, I hear that merely copying
> ntldr, ntdetect.com and boot.ini into it will make it boot-able. Anybody
> know if it is true?
> [/OT]

Depends what you want to do with the floppy. I won't comment on
MS-Windows, but a single-disk FreeDOS floppy such as BALDER will
boot to FreeDOS with vfat but not ntfs.

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/unofficial/balder/

Regards,

Howard E.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/5me9d7-...@gonif.dnyndns.org

Greg Madden

unread,
May 30, 2010, 3:40:01 AM5/30/10
to
On Saturday 29 May 2010 09:16:16 pm T o n g wrote:
> Hi,
>
> How can I make a DOS floppy disk image under Linux?
>
> [OT]
> Moreover, my experience with DOS was back in stone age when you use
>
> sys A:
>
> to make it boot-able. Now with Win NT/XP etc, I hear that merely copying
> ntldr, ntdetect.com and boot.ini into it will make it boot-able. Anybody
> know if it is true?
> [/OT]
>
> Thanks
>
> --
> Tong (remove underscore(s) to reply)
> http://xpt.sourceforge.net/techdocs/
> http://xpt.sourceforge.net/tools/

There is the Freedos project for installing a DOS system, or the following might
be what you are looking for:
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/unofficial/balder/

--
Peace,

Greg


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/201005292231.1...@gci.net

Sven Joachim

unread,
May 30, 2010, 3:50:02 AM5/30/10
to
On 2010-05-30 07:16 +0200, T o n g wrote:

> How can I make a DOS floppy disk image under Linux?

$ dd if=/dev/zero of=floppy-image bs=1440k count=1
$ /sbin/mkdosfs floppy-image

You need the dosfstools package for the latter command.

Sven


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/87k4ql9...@turtle.gmx.de

T o n g

unread,
May 30, 2010, 10:10:02 AM5/30/10
to
On Sun, 30 May 2010 09:45:12 +0200, Sven Joachim wrote:

>> How can I make a DOS floppy disk image under Linux?
>
> $ dd if=/dev/zero of=floppy-image bs=1440k count=1
> $ /sbin/mkdosfs floppy-image
>
> You need the dosfstools package for the latter command.

Thanks Sven, and every who replied as well.

Just for the archive, the '-C' option of mkdosfs can be used to create
the new file system in a file instead of on a real device, and to
avoid using dd in advance to create a file of appropriate size.

--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/httrg4$nbn$1...@dough.gmane.org

0 new messages