GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.