[syslinux] extlinux chain32 and USB Pen Drives

Steve steve at itsage.com
Mon Oct 24 20:03:33 PDT 2005



Hi All,

  I have a USB pen drive with 4 ext2 partitions on it.  Partion 1 
contains a 'real system' and Partition 4 contains a 'rescue system'.  
I'm trying to setup extlinux so I can boot either partition, 
unfortunately it not working.  I ran 'extlinux /mnt/boot' with both 
partition 1, and then partition 4 mounted to /mnt.  I 'cat'd the mbr 
provided with syslinux to the device, and I copied the same 
kernel/initrd to the '/boot' dir of both partitions.  I also copied 
extlinux.conf files, menu.c32 and chain.c32 to the '/boot' dir of both 
partitions.  Partition 1 boots fine (so this kernel/initrd will work 
with this hardware), but I can't get partition 4's menu.c32 nor kernel 
to boot (tried chaining to a menu.c32, and to a vanilla kernel boot 
image) ?  I just get '.\nBooting...' and it hangs.  From what I gathered 
reading the list archives, the 'booting' drive should be hd0 - so I 
should append hd0 4 to chain to the fourth partition of the 'current' 
drive?  I'm using syslinux-3.11 built from the tar packages.  The 
extlinux.conf from partion 1 is:
  DEFAULT menu.c32
  PROMPT 0

  LABEL rescue1
  MENU LABEL Rescue1
  KERNEL chain.c32
  APPEND hd0 4

  LABEL rescue2
  MENU LABEL Rescue2
  KERNEL chain.c32
  APPEND hd0 3


The extlinux.conf in partition 4 has:
   DEFAULT testme1

   LABEL testme1
   KERNEL ./vmlinuz-2.6.9-1
   APPEND initrd=./minirt26usb-fc3.gz blah blah

Any help would be appreciated.
Steve




More information about the Syslinux mailing list