Jump to content











Photo
- - - - -

pxelinux 6.0.1 not booting


  • Please log in to reply
9 replies to this topic

#1 sebus

sebus

    Frequent Member

  • Advanced user
  • 355 posts

Posted 30 August 2013 - 12:13 PM

I boot ipxe (undionly.kkpxe - from the very latest git code as or 26 Aug 2013) --> pxelinux.0 --> (menu)

 

With old syslinux 4.0.3 all works fine

 

With current pxelinux.0 v6.01 & corresponding menu.c32 or vesamenu.c32 any workstation that ipxe boots will simply instatnly reboot (Realtek) or  just hangs (Broadcom) at the pxelinux 6.0.1 loading line

 

Am I missing someything else that might be needed in the new version?

 

The difference in size of vesamenu.c32 is massive (4.0.3 = 159kb, 6.0.1 = 26kb)

 

I need 6.0.1 to be able to boot wimboot

 

sebus



#2 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 30 August 2013 - 01:04 PM

Hi Sebus,

 

I believe you can use c32 modules straight from ipxe cant you?

You need to turn on an option (comboot) when compiling your ipxe.

 

At least this is the way I understood this compiling option :)

 

Also, with latest syslinux distributions, it looks like you need extra files to boot.

Hence maybe explain the smaller size of vesamenu : bits of code may have been moved to other files.

 

Regards,

Erwan



#3 sebus

sebus

    Frequent Member

  • Advanced user
  • 355 posts

Posted 30 August 2013 - 01:44 PM

But I need menu, I could redo ipxe menu, but have no time currently to deal with it & test it

 

Would be good to know what files are now needed for what used to be a simple 3 file solution

 

sebus



#4 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 30 August 2013 - 02:26 PM

well either you re compile ipxe to support menu.c32 and then you get your "old" menu back

and/or

you find the proper files to put in your tftp root folder with pxelinux 6.x :)



#5 sebus

sebus

    Frequent Member

  • Advanced user
  • 355 posts

Posted 30 August 2013 - 02:58 PM

I can re-compile, but how do I auto-invoke menu (like the pxelinux default) and make sure all the entries do work:

DEFAULT vesamenu.c32


  menu hshift 0
  menu width 59
  menu margin 8
  menu color title * #FFFFFFFF *
  menu color border * #00000000 #00000000 none
  menu color sel * #ffffffff #999999ff *
  menu color hotsel 1;7;37;40 #ffffffff #999999ff *
  menu color tabmsg * #ffffffff #00000000 *
  menu vshift 8
  menu rows 16
  menu helpmsgrow 16
  prompt 0
  allowoptions 1
  
MENU BACKGROUND pxelinux.cfg/boot.png
MENU TITLE SPGS PXE Boot Menu

   LABEL bootlocal
	MENU label Boot from 1st local active partition
	localboot 0
	timeout 80

   LABEL TinyCore-Ghost
        MENU LABEL TinyCore with Ghost
	kernel tinycore/vmlinuz
	append initrd=tinycore/core.gz cde vga=791 nozswap
	
   LABEL HTTP-grub.exe-win7pe
   	MENU PASSWD ***************
	MENU label Win7PE - command line
	LINUX grub.exe
	INITRD isos/win7pe.iso
	APPEND --config-file="map (rd)+1 (hd32); map --hook; root (hd32); chainloader (hd32)"

etc


#6 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 30 August 2013 - 03:13 PM

i'll compile my ipxe with comboot option and will give it a try.



#7 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 30 August 2013 - 04:15 PM

fyi, regarding your first post, i can pxe boot straight to pxelinux 6.01 with the following set of files :

 

-root

--ldlinux.c32

--libutil.c32

--menu.c32

--pxelinux.0

--pxelinux.cfg

---default

 

... but chain booting pxelinux 6.01 thru ipxe freezes my computer whereas it works fine with pxelinux 4.03



#8 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 30 August 2013 - 04:52 PM

adding COMBOOT option to my ipxe did not do me any good either :(

 

echo "#define IMAGE_COMBOOT" >> config/local/general.h

make bin/undionly.kpxe

 

my ipxe code :

chain menu.c32 menu.cfg

 

/erwan



#9 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 30 August 2013 - 05:19 PM

For information, chain menu.c32 menu.cfg works with syslinux 3.x

 

I read that syslinux > 3.x changed the comboot format hence breaking compatibility with ipxe :(

 

Question raised on the ipxe forums.

 

/erwan



#10 sebus

sebus

    Frequent Member

  • Advanced user
  • 355 posts

Posted 30 August 2013 - 06:28 PM

Many thanks for your tests.

Makes me feel a bit better that it wasn't just me being silly. Pity, seems I will have to forget (for now) wimboot from the menu...

 

Seems that other things are also "broken" with 6.01

 

But maybe that would be possible

 

edit

I only tested 5.01, the above does not work, make it stop on black screen after downloaded lkrn

Will test with 6.01 tomorrow

 

sebus






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users