This project is read-only.

Syslinux

Feb 15, 2009 at 9:11 PM
Edited Feb 15, 2009 at 9:11 PM
Have you considered support for Syslinux with this project?

The trick to placing syslinux on a file system is threefold:
 
1) add the ldlinux.sys file to the file system
2) add a ldlinux boot sector and imbed first sector of the ldlinux.sys file
3) modify the first cluster of the ldlinux.sys with a list of all other sectors of the ldlinux.sys file

I wrote working code for this as part of the MOSA project, here:

http://www.codeplex.com/mosa/SourceControl/changeset/view/46863#693720


Feb 16, 2009 at 9:03 AM
I haven't really figured out what to do about bootable disks yet.  Syslinux is interesting, given the range of things it can be used for.  I'm not sure whether directly supporting it in the main library is the right thing to do, or whether it's better to make it easy to write a utility that can put syslinux onto a disk.  For example, providing a safe way to write the MBR code (protecting the partition table), and a way to query sector info for a FAT file.

Cheers,

Ken