LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-30-2010, 09:03 AM   #1
sfxpt
Member
 
Registered: Feb 2008
Distribution: Debian Testing
Posts: 99
Blog Entries: 3

Rep: Reputation: 16
Creating a bootable DOS floppy disk image


Hi,

I know mkdosfs from the dosfstools package can create a DOS floppy disk image, however, 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?

PS. From man mkdosfs

Quote:
mkdosfs can not create boot-able file systems. This isn't as easy as you might think at first glance for various reasons and has been discussed a lot already. mkdosfs simply will not support it
 
Old 05-30-2010, 09:06 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Moved to General (Not a Linux question)
 
Old 05-30-2010, 09:56 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
What do you want to do? The title of the thread refers to DOS but the body of the message refers to NT/XP etc.

Copying ntldr, ntdetect.com and boot.ini alone would not be enough; the BIOS boot mechanism has to lead to NTLDR being loaded into memory and run. The Windows way of doing it is that the BIOS loads the MBR from the first bootable HDD which finds the active partition table and loads the contents of the active partition's boot sector which loads NTLDR. Wikipedia's Windows NT startup process page has more detail.

There are variants on the above Microsoft route to running NTLDR such as GRUB and LILO, commonly used on Linux-based systems.
 
Old 05-30-2010, 10:07 AM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by pixellany View Post
Moved to General (Not a Linux question)
Hello! The OP wants to create a DOS floppy disk using dosfstools, which is an Ubuntu/Debian package. The answer is no. Dosfstools merely installs tools used to create writable DOS filesystems. It is not meant to create bootable disks. You have to mount it under Windows and copy those files to it. Either that, or you may have to format it under Windows and check the "Create a MS-DOS startup disk" checkbox when you format.
 
Old 05-30-2010, 12:38 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
http://lmgtfy.com/?q=freedos+boot+disk
 
Old 05-30-2010, 07:19 PM   #6
sfxpt
Member
 
Registered: Feb 2008
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 3

Rep: Reputation: 16
Quote:
Originally Posted by Kenny_Strawn View Post
Hello! The OP wants to create a DOS floppy disk using dosfstools, which is an Ubuntu/Debian package.
Yes, please move it back. The gist of the question is to seek the possibility (and solution) to create a bootable DOS floppy disk image using Linux tools.

@smeezekitty, thanks but no thanks, I don't need freedos, I need the bootable floppy disk image to boot Windows XP.
 
Old 05-30-2010, 07:32 PM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Please note there is a big difference between windows xp and dos.
 
Old 05-31-2010, 08:38 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try:
http://www.linuxinsight.com/how-to-f...ppy-drive.html
http://linux-sxs.org/hardware/flash_boot_cd.html
 
Old 05-31-2010, 09:50 AM   #9
sfxpt
Member
 
Registered: Feb 2008
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 3

Rep: Reputation: 16
Quote:
Originally Posted by smeezekitty View Post
Please note there is a big difference between windows xp and dos.
Thanks for pointing out. I wasn't know that in OP.
http://en.wikipedia.org/wiki/NTLDR

I've found the workaround, I'll blog about it later on.
 
  


Reply



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
[SOLVED] Loop File System and Bootable floppy disk image riganta Linux - General 2 03-08-2010 02:45 AM
Creating a bootable XP image from a CD conormacaoidh Linux - General 1 03-19-2009 01:50 PM
creating bootable image floppy nikhil_shindepatil Linux - Newbie 3 09-06-2007 12:59 PM
Creating the bootable floppy\ alnreddy Fedora 0 02-19-2005 05:58 AM
DOS Floppy image w/ grub? hroman Linux - Software 5 10-09-2004 12:23 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:12 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
Open Source Consulting | Domain Registration