Hey all,

I am building an embedded FreeDOS based system, with a custom boot manager 
in the MBR area of the primary disk.  I have seen a boot loader 
(boot32ea.asm) that the author claims can boot a FreeDOS partition beyond 
the 8GiB/1024 Cyl limit.  

However, to start with I have been experimenting with installing FreeDOS on 
a FAT32 partition, and not having much luck.   The procedure I am using is :

------

In Linux --> 

dd if=/dev/zero of=/dev/hda bs=512 count=63 (kill trk0)
fdisk the system to make a 16MiB partition on /dev/hda1, filesystem type 0x0b
mkdosfs -F32 /dev/hda1
Install custom Boot Manager into the MBR of /dev/hda

<reboot>

In FreeDOS -->

Downloaded the latest FreeDOS (2033) kernel32, and created a boot floppy 
with it.
Boot the boot floppy.
At the prompt : sys c:

At this point sys claims that it is updating the volume boot record and 
copies over kernel.sys and command.com.  HOWEVER, when this occurs it 
reports that the filesystem is "FAT16" and the filesystem is then corrupted.

---------------------------------------------------------------------------

So .. 

1) How do I install FreeDOS w/ FAT32 support on a FAT32 partition?  (Do I 
need a different "SYS" utility?)

2) I tried formatting /dev/hda1 (C:) with the 0.91o FORMAT utility, however 
it would only attempt a FAT16 format under FreeDOS (2033/Fat32).  What is 
needed in order to get the FreeDOS native "format" utility to produce a 
FAT32 filesystem?

3) I saw a few different bootloaders (boot32.asm, boot32ea.asm, 
boot32lb.asm).  Since there is a lot of data that needs to be updated in the 
first 56 bytes of the boot sector, after I compile a boot loader with NASM, 
what utility can I use to install one of these alternate bootloaders?


Many thanks for the help,
Martin B.





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to