[syslinux] Bootable USB key...

John Doe jdmls at yahoo.com
Mon Oct 26 03:52:22 PDT 2009


Hi,

I have a 'little' issue with my bootable USB keys...
The following used to work (isolinux 3.11-4):

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1   *           1           3       23126    6  FAT16
/dev/sdg2               4        1023     7873380   83  Linux

mkfs.vfat -n BOOT /dev/sdg1
mkfs.ext2 -m 0 -b 4096 -L DATA /dev/sdg2

syslinux -s /dev/sdg1
cd /media/BOOT
cp -rv /mnt/cdrom/isolinux syslinux
mv syslinux/isolinux.cfg syslinux/syslinux.cfg
rm -f syslinux/isolinux.bin 

So:
  /ldlinux.sys
  /syslinux
  /syslinux/boot.cat
  /syslinux/boot.msg
  /syslinux/general.msg
  /syslinux/initrd.img
  /syslinux/memtest
  /syslinux/options.msg
  /syslinux/param.msg
  /syslinux/rescue.msg
  /syslinux/splash.lss
  /syslinux/TRANS.TBL
  /syslinux/vmlinuz
  /syslinux/syslinux.cfg

Configuration:
  default myks
  timeout 60
  ...
  label myks
    kernel vmlinuz
    append initrd=initrd.img ks=hd:sda2:/ks.cfg method=hd:sda2:/centos
  ...

And to be sure:
dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdg

I remade it to upgrade the OS version (but still (isolinux 3.11-4) and it does not boot anymore...
I get to isolinux boot: prompt and it says "could not find kernel image: linux"
I tried to put the syslinux.cfg in / and no better...
I checked msdos filenames and they seem ok.
any idea about what could be wrong?

Thx,
JD


      




More information about the Syslinux mailing list