Hi Alain, Thanks for responding. I think that Eric's post in this thread also answers your question about putting FreeDOS on an SD card.
With all the feedback I should be able to create a successful FreeDOS boot CD this evening or weekend. Bob On 1/19/12 3:46 PM, Alain Mouette wrote: > The MKISOFS is the one that brings it all toghether. The freeDOS image > is passed as an argument to be loaded in memory and then executed. > > Anyway, this was a good feedback, I am planning a FreeDOS release withou > my programs, and I will make that more clear and more specific, I gesse > that the scrip that puts it all toghether may help. > > Alain > > Em 19-01-2012 01:47, Bob Cochran escreveu: >> Hi Alain, Bernd, Eric: >> >> I followed the instructions below from Alain, using my Fedora 14 (Linux) >> box. I didn't have 100% success but I am much closer! I created an image >> file in the manner described below. I wondered where to find command.com >> and kernel.sys...so I downloaded the FreeDOS iso for 1.1 and found those >> files in the "one disk" folder. I copied them to my image and then >> copied over my BIOS update files which are packaged in a directory. >> However I ran into trouble at Step 8: specifically, I couldn't figure >> out how to independently generate an "isolinux" folder or where to find >> isolinux to start with. So I copied over the "ISOLINUX" folder I found >> inside the FreeDOS 1.1 iso, and did some experimenting with the >> arguments to mkisofs. This got me a nice small iso image which I burned >> to CD. >> >> I then booted from this cd and got...the FreeDOS 1.1 installation screen >> in all its glory! >> >> In Alain's recipe below, it is not obvious to me how the FreeDOS.img >> file is connected to isolinux. I played with the tab key to see the boot >> arguments for the CD I made, and I get the impression that FreeDOS.img >> would be treated as the initrd= argument to isolinux. Am I right about >> that? In other words, isolinux takes the FreeDOS.img file, loads it into >> memory, and then passes control to it? >> >> Clearly, I need to read up more about using isolinux. I am very grateful >> to all of you for your help and advice. I'm making progress! >> >> Bob >> >> >> On 1/17/12 2:27 PM, Alain Mouette wrote: >>> I have done this some time ago, it may help. It is for CD, but it would >>> be nice to convert it to SD-card... >>> >>> Alain >>> >>> Em 15-06-2011 11:51, Alain Mouette escreveu: >>>> How can I make a big (6Mb) bootable image to use in the CD? >>>> This is the only part of the CD that I can read on *any* machine, I am >>>> using isolinux) >>> With lots of help fom Eric Auer, I managed to make a bootable image with >>> FreeDOS. Here is how I did it: >>> >>> 1) Program needed: NASM, which I got from Debian >>> $ sudo apt-get install nasm >>> >>> 2) program from Eric for the boot sector: >>> <http://ericauer.cosmodata.virtuaserver.com.br/soft/specials/sys-freedos-linux.zip> >>> create a directory ./sys-freedos-linux and expand it there >>> >>> 3) create file of the right size. 5760k was ok for me, there is some >>> magic in the size and not everything will be ok. (more studies needed) >>> $ dd if=/dev/zero of=FreeDOS.img count=11520 >>> 11520+0 records in >>> 11520+0 records out >>> 5898240 bytes (5.9 MB) copied, 0.408512 s, 14.4 MB/s >>> >>> 4) Prepare it with a FAT file system >>> $ sudo mkdosfs -v FreeDOS.img >>> mkdosfs 3.0.1 (23 Nov 2008) >>> FreeDOS.img has 64 heads and 32 sectors per track, >>> logical sector size is 512, >>> using 0xf8 media descriptor, with 11520 sectors; >>> file system has 2 12-bit FATs and 4 sectors per cluster. >>> FAT size is 9 sectors, and provides 2867 clusters. >>> Root directory contains 512 slots. >>> Volume ID is 0cbb7ca7, no volume label. >>> >>> 5) compile and write a suitable boot sector. This is a smart script by >>> Eric Auer that configures it with the appropiate parameters >>> $ ./sys-freedos-linux/sys-freedos.pl --disk=FreeDOS.img >>> DOS boot sector for FreeDOS.img will be created by: >>> nasm -o /dev/stdout -dISFAT12 >>> ./sys-freedos-linux/bootsecs/boot.asm >>> Using FAT12. Partn offset 0, CHS *x64x32 Drive 0, (0x0, 0x29), >>> SerNo CBB-7CA7, Strings ' ', 'FAT12 '. >>> Boot sector successfully updated. >>> >>> 6) mount it in a directory >>> $ mkdir bootimg >>> $ sudo mount -v -o loop,uid=you,gid=you FreeDOS.img bootimg >>> >>> 7) copy into it KERNEL.SYS, COMMAND.COM and all other files >>> >>> 8) use it just the same way then the image made from a floppy, memdisk >>> will recognize it. I used isolinux, here is how I created the iso: >>> $ mkisofs -R -v -A "FreeDOS big boot CD" -V FreeDOS-V1.x \ >>> -b isolinux/isolinux.bin -c isolinux/boot.cat \ >>> -no-emul-boot -boot-load-size 4 -boot-info-table \ >>> -o /mnt/dados/Segurver/FreeDOS-V1.x.iso \ >>> /mnt/dados/CDROM >>> >>> Alain >>> >>> ------------------------------------------------------------------------------ >>> Keep Your Developer Skills Current with LearnDevNow! >>> The most comprehensive online learning library for Microsoft developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-d2d >>> _______________________________________________ >>> Freedos-user mailing list >>> Freedos-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/freedos-user >>> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> >> >> >> _______________________________________________ >> Freedos-user mailing list >> Freedos-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freedos-user > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user