Install GAG on USB key

2010-01-15
2013-05-28
  • marc duglos
    marc duglos
    2010-01-15

    I install GAG in a folder syslinux on USB key (like the reply in discussion "Stand alone app")
    like this:
    \syslinux
         gag.img
         ldlinux.sys
         memdisk
         syslinux.cfg

    syslinux.cfg contains :
    LABEL gag
    KERNEL /syslinux/memdisk
    APPEND initrd=/syslinux/gag.img

    When PC boot from USB, it seems not to understand the syslinux.cfg

    I have:
    SYSLINUX 3.82 …..
    could not find kernel image: linux
    Boot:

    I don't find where is the error !
    Thanks

     
  • Use this as syslinux.cfg (notice the DEFAULT line, which specifies the LABEL name to boot):

    DEFAULT gag
    LABEL gag
    KERNEL /syslinux/memdisk
    APPEND initrd=/syslinux/gag.img
    

    Even better, use (use relative paths and LINUX instead of KERNEL and INITRD instead of  APPEND initrd=):

    DEFAULT gag
    LABEL gag
    LINUX memdisk
    INITRD gag.img