Hi all, I have fixed that by using chain.c32 and append "boot 2 freedos=KERNEL.SYS". It boots FreeDOS successfully.
Thanks. Eric On Tue, Mar 27, 2012 at 6:27 AM, teo gum <teo...@gmail.com> wrote: > Don't know to answer direcly your question, but know another way to boot > freedos with grub4dos from any partition and to boot linux from under > freedos with the same grub4dos. The last is what use every day. > If the first partition (possible in an USB as well), you install freedos in > the usual way, then run grub with grub.exe and grldr and write your options > to load linux from the second (or other) partition (or drive). Only freedos > must be in the low memory. If something is over 640 kb, grub will hung. > One can also install grub4dos into MBR and simply copy kernel command.com > etc on any partition you want and write your options to load any thing you > want, freedos as well. first partition of the first drive will be (hd0,0) > second partition of the second drive - (hd1,1) etc. this is root. > chainloader /kernel.sys - this is the command. boot. > Only not sure this will be a "correct" DOS, not a specialist :) > > 2012/3/26 Lee Eric <openlinuxsou...@gmail.com> >> >> Hi all, >> >> I'm going to create an USB flash disk. Here's the partition structure. >> >> Device Boot Start End Blocks Id System >> /dev/sdb1 * 1 537911 268955+ 83 Linux >> /dev/sdb2 537912 1598793 530441 c W95 FAT32 (LBA) >> >> /dev/sdb1 I used for installing boot loader(syslinux) and other small >> standalone utilities. /dev/sdb2 is used for FreeDOS and I have copied >> necessary files to the partition. Here's my syslinux.cfg in /dev/sdb1. >> >> UI menu.c32 >> TIMEOUT 300 >> default localboot >> >> MENU TITLE System Rescue Flash Disk >> >> LABEL memtest >> MENU LABEL Memtest86+ (4.20) >> KERNEL memtest >> >> LABEL freedos >> MENU LABEL FreeDOS 1.1 >> COM32 chain.c32 >> APPEND hd0 2 freedos=KERNEL.SYS >> >> LABEL reboot >> MENU LABEL Cold Reboot >> COM32 reboot.c32 >> >> LABEL local >> MENU LABEL Boot from local hard drive >> LOCALBOOT 0x80 >> >> But when select freedos label it reports "Failed to load the boot >> file". I remember that FreeDOS can be installed on other partitions. >> >> Can anyone tell me how to fix that? >> >> Thanks. >> >> Eric >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Freedos-user mailing list >> Freedos-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freedos-user > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user