Thank you VERY much for that perl script (and also
your comprehensive reply); it did the trick!
--- Eric Auer <[EMAIL PROTECTED]> wrote:
> > I have a laptop that has no working removable
> > drives, which has linux installed...
> You could boot over network with syslinux'es
> and MEMDISK to start a DOS boot diskette image...
> > also have a fat16 partition (hda1) that I want to
> > install FreeDOS on, booting from GRUB...
> Then it would be enough to copy DOS files to that
> partition and install a boot sector...
> > "makebootfat" looks promising, but I really do not
> > want to risk screwing up my system...
> I think risk is small as long as you apply that only
> to your FAT partition and as long as your GRUB
> elsewhere (e.g. boot sector of your Linux partition,
> or in the MBR)...
> > 1- Where can I get the essential freedos files
> > enough to run old games...
> http://fdos.org/ has some minimal boot disks, or get
> http://fdos.org/kernel/ to download a kernel and a
> FreeCOM XMS swap version. You would then go to
> ftp://ftp.devoresoftware.com/ to get emm386 (the zip
> also contains himem!), that should already be enough
> for most games. Or get the beta 9 sr 1 (small) or
> the Blair distro (100 MB :-)) ISO image to get piles
> of DOS files :-).
> > 2- How can I get it to boot from grub (My
> > understanding is that the I need some kind of
> You usually have something like "chainloader +1" or
> similar in your GRUB config, basically the same as
> would use to boot Windows. Plus you need a FreeDOS
> sector in the first sector of that FAT partition...
> To create that, you can use one of several tricks,
> I myself use the following perl script:
> This compiles a suitable DOS boot sector (so you
> need NASM
> installed), adjusts it for the partition or
> diskimage you
> target, and patches everything together. Note that
> it will
> not work out of the box if you used dosfstools
> mkdosfs to
> format the partition, as that does not initialize
> all fields.
> If something like DOS or Windows has formatted the
> things will work, though. Alternatively, contact me
> so I can
> help you to manually initialize the missing fat16
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training
> Free Certification Exam for All Training Attendees
> Through End of 2005
> Visit http://www.jboss.com/services/certification
> for more information
> Freedos-user mailing list
Find your next car at http://autos.yahoo.ca
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
Freedos-user mailing list