How to create a bootable fat16 MS-dos partition

Topics about disk partitioning (fdisk, parted, gparted, partimage), Volumes Management (lvm, evms, dmraid), Storage, file systems, ...
Post Reply
emiel
Posts: 3
Joined: 07 Mar 2011, 14:32

How to create a bootable fat16 MS-dos partition

Post by emiel » 07 Mar 2011, 14:40

Does anyone out there have a working example for creation of a bootable fat16 MS-dos partition from systemresquecd?

In the past we had problems using an MSDOS usb bootable disk. It is not possible to set the bootable flag. That's why we want to migrate to a linux usb disk.

For this purpose we are attempting to use sfdisk, mkdosfs and ms-sys to obtain a bootable configuration.
Until now i keep getting messages "operating system not found".
I started from a working system, so the bios configuration is OK.

sfdisk /dev/sda << EOF
1,,6,*
,0
,0
,0
EOF
....reboot ...
mkdosfs -F 16 /dev/sda1
ms-sys -w /dev/sda
ms-sys -wp /dev/sda1
.... copy dos files ....
.... reboot ....

NOTE: I want to install MSDOS 6.20 on the Harddisk and boot with the standard DOS MBR.

Maybe someone has tried dosemu?
Last edited by emiel on 07 Mar 2011, 15:45, edited 1 time in total.

gernot
Posts: 1131
Joined: 07 Apr 2010, 16:19

Re: How to create a bootable fat16 MS-dos partition

Post by gernot » 07 Mar 2011, 15:15

Its not easy to boot dos from USB.
Which operatingsystemversion want you boot?
I think you need a bootloader like syslinux and memdisk to load a driveimage because DOS cant handle USB.
Some bios are problematic and dont boot well from USB.

Have a look like sysrcd loads freedos.

Gernot

emiel
Posts: 3
Joined: 07 Mar 2011, 14:32

Re: How to create a bootable fat16 MS-dos partition

Post by emiel » 16 Mar 2011, 20:57

I have been trying to create a new sysresccd with preinstalled dosemu.
there are many dependency conflicts.

Does anybody out there have an install-script to work around the dependencies?

Post Reply