Jump to content











Photo
- - - - -

Boot WDS and LTSP with pxelinux


  • Please log in to reply
5 replies to this topic

#1 awergh

awergh
  • Members
  • 4 posts
  • Location:Australia
  •  
    Australia

Posted 30 January 2010 - 02:08 AM

So I have a Server 2008R2 box with WDS configured to boot into pxelinux so I get a bootmenu.
I also have a Hyper-V VM which is an LTSP server.

Now what I would like is to be able to select WDS or LTSP from the menu but I'm not sure how to configure pxelinux to do that. At the moment the LTSP option doesnt do anything at all

#2 awergh

awergh
  • Members
  • 4 posts
  • Location:Australia
  •  
    Australia

Posted 03 February 2010 - 11:29 AM

oh no I'm bumping a topic but I wanted to explain it differently or ask something less specific
so I have pxelinux booting from a wds server which gives me a nice menu which I can select stuff from.

This is my working part of the menu
DEFAULT	  vesamenu.c32

PROMPT	   0

NOESCAPE	 0

ALLOWOPTIONS 0

# Timeout in units of 1/10 s

TIMEOUT 300

MENU WIDTH 40

MENU MARGIN 0

MENU ROWS 12

MENU TIMEOUTROW 14

MENU HSHIFT 5

MENU VSHIFT 2

MENU COLOR BORDER 30;44	   #00000000 #00000000 none

MENU COLOR TABMSG 1;36;44	 #00000000 #00000000 none

MENU COLOR TITLE 1;36;44	 #00000000 #00000000 none

MENU COLOR SEL   30;47	   #40000000 #20ffffff

MENU BACKGROUND DeploymentBackground.png



MENU TITLE PXE Boot menu

MENU WIDTH 80

MENU MARGIN 18

MENU ROWS 4

 

LABEL wds

 MENU	   DEFAULT

 MENU PASSWD P@ssw0rd

 MENU	   LABEL Windows Deployment Services

 KERNEL	 pxeboot.0



LABEL local 

 MENU LABEL Boot from Harddisk

 LOCALBOOT 0

now what I want to do as well is add a menu to allow me to boot from a bootfile on a separate server which happens to be a Hyper-v VM so far my attempts haven't been the slightest bit successful. The ltsp server has a samba share ltsp where the bootfile is which has guest enabled.

LABEL ltsp

 MENU LABEL Boot LTSP Thin Client *TEST*

 KERNEL //11.0.0.24/ltsp/pxelinux.0

Hopefully this elaborates what I want to do a bit more

#3 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 04 February 2010 - 06:11 PM

PXELINUX doesn't support samba, AFAIK.
PXELINUX only supports TFTP.

You can use gPXE in combination with PXELINUX.
gPXE supports: TFTP, HTTP, iSCSI, AoE (and maybe more)

So you can serve your files from HTTP if you want (will be faster than TFTP).

gPXE: http://etherboot.org/wiki/index.php

You probably can get the best help on IRC (#etherboot channel on freenode) or the mailing lists of etherboot.

If you get it working, a follow up with the details would be nice.

#4 awergh

awergh
  • Members
  • 4 posts
  • Location:Australia
  •  
    Australia

Posted 26 March 2010 - 11:04 AM

I succeeded ! :D , well mostly

LABEL ltsp

 MENU LABEL Boot Ubuntu 9.10 LTSP Client

 KERNEL vmlinuz-2.6.28-11-generic

 APPEND ro initrd=initrd.img-2.6.28-11-generic quiet splash netroot=nfs nfsroot=11.0.0.124:/opt/ltsp/i386

The problem is there are some reliability issues, It can boot up fine the first time or it can take multiple times because it might get kernel panic or might just restart. I have no idea why it does this though but it mostly works. Only x86 seems to be unreliable but i dunno could be the network card both x86 PCs i were using had Intel PRO 100s which is pretty much what I mostly use.

#5 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 26 March 2010 - 05:14 PM

You can try to find a better PXE rom for your network card: http://rom-o-matic.net/

#6 awergh

awergh
  • Members
  • 4 posts
  • Location:Australia
  •  
    Australia

Posted 26 March 2010 - 11:30 PM

I'm not sure its PXE thats the problem, I think the problem is after PXE because it boots into PXE Linux without any trouble its just when I try to boot into LTSP that I have problems sometimes




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users