[syslinux] Using syslinux to boot xen without initrd

H. Peter Anvin hpa at zytor.com
Thu Sep 17 11:28:34 PDT 2015


On 09/08/2015 06:19 AM, Ingrid Ribeiro Galvez via Syslinux wrote:
> Hello all,
> 
> I have a Linux kernel image with Xen compiled  for an embedded system. It
> doesn't need an initrd as everything required for it to boot is already in
> the final kernel image, and it works perfectly. But I'm having problems to
> boot the Xen image without an initrd. I'm following this guideline
> http://www.syslinux.org/wiki/index.php/Xen for my syslinux configuration
> file, but without including an initrd. So it looks like this:
> 
> 
> LABEL xen
> 
>   MENU DEFAULT
>   KERNEL mboot.c32
>   APPEND xen-4.3.2.gz dom0_mem=262144 --- ../vmlinuz-2.6.31.8
> console=tty0 root=/dev/sda1 ro
> 
> What happens is that it tries to load but keeps looping back to the
> bootloader menu. I think it might be expecting the initrd image. Anybody
> knows how to set the configuration file for xen so it doesn't need an
> initrd??
> 
> Thank You!
> 
>

The first thing to try is to hit Esc to get out of the menu into the
CLI, and then entering "xen" at the command line prompt.  You will get
better error messages that way.

Also, do you really have xen in the syslinux directory but not vmlinuz?

	-hpa




More information about the Syslinux mailing list