USING GRUB4DOS TO START VXWORKS BOOTLOADER

       (NOTE: you can download the grub4dos from 
       http://sourceforge.net/projects/grub4dos/
       and grub4das installer an installer for Windows from 
       http://download.gna.org/grubutil/grubinst-1.1-bin-w32-2008-01-01.zip)

1a) INSTALLING from Windows host (Windows 7/XP was tested)

       USB (CF card): Insert a USB key to the host PC and format it to the FAT16 file system (NOTE: USB stick capacity must not exceed 2GB)
       SATA/PATA hard disk: create a single primary partition not larger than 2GB and format it to the FAT16 file system

       Run "Command Prompt" as Administrator and execute the command:
	       grubinst (hdN)
       where (hdN) represents the disk drive (N is a number of the disk: 0,1,2,...). 
       For example, if a system has only one physical hard disk (not "C","D",etc., these could be logical disks, not physical), 
       the USB key will be a 2nd physical disk in the system, and the correct command will be : 
	       grubinst (hd1)

       copy the "grldr" and "menu.lst" files to the USB key / CF card / SATA primary partition.
	
    
1b) INSTALLING from Linux host
       Download the grub4dos from 
       http://sourceforge.net/projects/grub4dos/
       USB (CF card): Insert a USB key to the host PC and format it to the FAT16 file system (NOTE: USB stick capacity must not exceed 2GB)
		mkdosfs -v -F 16 -S 512 /dev/sdb
       SATA/PATA hard disk: create a single primary partition not larger than 2GB and format it to the FAT16 file system
		mkdosfs -v -F 16 -S 512 /dev/sdb1

       Unzip the grub4dos package and install grub to the MBR by invoking:
		bootlace.com /dev/sdX 
       where '/dev/sdX' is the device, e.g. '/dev/sdb' (NOT SATA disk partition, e.g /dev/sdb1)

       Mount the device and copy the "grldr" and "menu.lst" files to it.

2) INSTALLING vxWorks bootloader

       Create a bootrom image ("bootrom.bin") and copy it to the disk.

3) CONFIGURE grub4dos

     Create the "menu.lst" file (example of the content) :

	timeout 30
	default /default
	title vxWorks Bootloader
	root (hd0,0)
	chainloader --force --load-segment=0x0800 --load-offset=0 --boot-cs=0x0800 --boot-ip=0 /bootrom.bin
	boot

4) Setup BIOS to BOOT from the specified disk, 
   at the VGA console you should see something like:

 GRUB4DOS 0.4.4 2009-06-20, Memory 637K / 1012M, MenuEnd: 0x48AA5     0
-------------------------------------------------------------------------
vxWorks boot loader













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

5) press enter and grub4dos will start vxWorks bootloader, you will see:


  Booting vxWorks boot loader

FileSystem type is fat, partition type 0x06


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

6) Finally check the vxWorks boot loader console (usually RS232 serial port 0). Then setup boot loader (if necessary) to load your VxWorks image.







