Find the answer to your Linux question:
Results 1 to 3 of 3
Could be a basic question, but didn't have much luck with googling and searching the forums: I’ve been trying to PXE boot a XEN kernel image in gzip format, and ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    3

    PXE Boot kernel image format?

    Could be a basic question, but didn't have much luck with googling and searching the forums:

    I’ve been trying to PXE boot a XEN kernel image in gzip format, and I was getting ‘Invalid or corrupt kernel format’ error. I’ve seen that other kernel images having a file type of ‘Linux kernel x86 boot executable RO-rootFS’ are bootable. (both are bootable using grub anyhow).

    Is there any way to convert the b/n the formats, or any other solution?


    N.B: I was booting a Virtualbox instance, again I guess that shouldn't matter because pxelinux loads from tftp properly, but it doesn't even proceed to load the kernel. I think the issue here is with the image format itself rather than what it contains, or where it runs.

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Posts
    20
    hello
    the kernel and ramdisk files should be in original format,otherwise it booting wont happen

    here is the samle xen related kernel/ramdisk
    kernel /vmlinuz-2.6.18-92.el5xen
    initrd /initrd-2.6.18-92.el5xen.img

    and also make sure that that location of these file in the PXE menu is pointing to the correct tftp server location
    ---Sims

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    3
    Thanks, anyway I was able to pxe boot xen (in gzip format) on virtualbox and access its virtual serial port, when I had the following entry in pxelinux.cfg/default file:

    label mboot
    kernel mboot.c32
    append xen-3.2.gz dom0_mem=262144 com1=115200,8n1 console=com1,vga vga=current,keep pciback.hide=(02:04.0)(02:09.0) root=/dev/nfs nfsroot=192.168.16.51:/mnt/dom0 --- vmlinuz-2.6.24-25-xen --- initrd.img-2.6.24-25-xen

    Facing another serious problem after booting, here: /forum/other-distributions/160288-double-fault-error-running-xen-virtualbox.html#post761757

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...