You are not logged in.

Announcement

[2010.09.03] New DeployStudio stable build posted (release note).
[2010.07.28] New DeployStudio nightly build posted (release note).
[2009.05.09] New ksmbprintd stable build posted (release note).
  • Index
  •  » Future
  •  » Add custom PXE boot options - local disk; DeployStudio; And WinPE

#1 2009-10-22 03:39:58

DeepCoveLabs
New member
From: Vancouver
Registered: 2009-04-22
Website

Add custom PXE boot options - local disk; DeployStudio; And WinPE

I would like to request PXE boot option to WINPE. 

I know this can be done, because I am close to being able to do it with your current release of DeployStudio RC.15

Here is what I have done so far:

- Created MS Win7PE LiteTouch from MS MDT 2010
- Create a PXE version of the LiteTouch Win7PE

- Copied the PXE Win7PE files to:
/private/tftpboot/Boot

Created links:
/private/tftpboot/pxelinux/Boot -->  /private/tftpboot/Boot
/private/tftpboot/Boot/pxeboot.n12 --> /private/tftpboot/Boot/pxeboot.0

Forgot these links as well:
/private/tftpboot/pxelinux/Boot/BCD --> /private/tftpboot/BCD
/private/tftpboot/pxelinux/Boot/bootmgr.exe --> /private/tftpboot/bootmgr.exe


EDITED:
/private/tftpboot/pxelinux/pxelinux.cfg/default

Code:

default 0
timeout 100
prompt 1
display display.msg

label 0
        LOCALBOOT 0

label 1
        kernel vmlinuz
        append load rw root=/dev/ram0 ramdisk_size=43008 initrd=initrd.ext2.gz vga=791

label 2
        kernel Boot/pxeboot.0
        append -

EDITED:
/private/tftpboot/pxelinux/en.display.msg

Code:

^P
^Xdeploystudio.lss
^R^W
^O07Please press:
^O07- '0' to boot on the local disk (default)
^O07- '1' to boot in maintenance mode
^O07- '2' to boot in Win7PE LiteTouch Mode

This setup gets you to the preboot of Win7PE and then bonks because we get a forward-slash back-slash issue.  I know this can be resolved with remap file on linux, UNFORTUNATELY OS X or your version of HTTPD+ does not support a remap option.

Questions:
Did you compile you own version of TFTPD located /private/tftpboot/deploystudiopc/bin/tftpd+?

Is it possible to get this recompiled to include (-m) remap option?

Cheers
Kevin

Last edited by DeepCoveLabs (2009-10-27 19:22:01)

Offline

 

#2 2009-10-23 22:36:02

geniusbar
DeployStudio Team
Registered: 2008-11-20

Re: Add custom PXE boot options - local disk; DeployStudio; And WinPE

Yes we've recompiled darwin's tftpd from sources to add support for old pxe clients and their malformed requests.
We'll take a look at the -m option.

Offline

 

#3 2009-10-23 23:02:29

admin
Administrator
Registered: 2007-03-30
Website

Re: Add custom PXE boot options - local disk; DeployStudio; And WinPE

Hi, may you try this one: http://www.deploystudio.com/Downloads/tftpd+
An keep us informed.

Offline

 

#4 2009-10-27 19:24:21

DeepCoveLabs
New member
From: Vancouver
Registered: 2009-04-22
Website

Re: Add custom PXE boot options - local disk; DeployStudio; And WinPE

GeniusBar --- > Thanks for the considering the -m option in future builds.

Admin --->  I'll give the new one a try and let you know. Thanks again guys.

Cheers
Kevin

Offline

 

#5 2009-10-27 20:21:29

DeepCoveLabs
New member
From: Vancouver
Registered: 2009-04-22
Website

Re: Add custom PXE boot options - local disk; DeployStudio; And WinPE

Admin --> Download the new tftpd+,

I downloaded the file via:  curl -O http://www.deploystudio.com/Downloads/tftpd+

moved it to:  /private/tftpboot/deploystudiopc/bin/beta/tftpd+

match permission of Original tftpd+

Modified tftp.plist to reflect the new path

Console report tftpd+ has crashed:

Process:         tftpd+ (3510)
Path:              /private/tftpboot/deploystudiopc/bin/beta/tftpd+
Identifier:       tftpd+

Console Message:
(com.apple.tftpd[4075]) Exited abnormally: Trace/BPT Trap

What should the tftp.plist options have?

Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>InitGroups</key>
    <true/>
    <key>Label</key>
    <string>com.apple.tftpd</string>
    <key>ProgramArguments</key>
    <array>
        <string>/private/tftpboot/deploystudiopc/bin/beta/tftpd+</string>
        <string>-i</string>
        <string>-l</string>
        <string>/private/tftpboot</string>
    </array>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>SockServiceName</key>
            <string>tftp</string>
            <key>SockType</key>
            <string>dgram</string>
        </dict>
    </dict>
    <key>inetdCompatibility</key>
    <dict>
        <key>Wait</key>
        <true/>
    </dict>
</dict>
</plist>

Last edited by DeepCoveLabs (2009-10-27 20:29:06)

Offline

 

#6 2009-11-04 18:48:07

DeepCoveLabs
New member
From: Vancouver
Registered: 2009-04-22
Website

Re: Add custom PXE boot options - local disk; DeployStudio; And WinPE

Admin,

Do you have another compile version of tftpd+?

I have also given mac port version of tftp-ha a go, but this does not work --- it bonks and appears to not like the location specified with -s option.

Cheers
Kevin

Offline

 

#7 2010-01-28 20:04:50

DeepCoveLabs
New member
From: Vancouver
Registered: 2009-04-22
Website

Re: Add custom PXE boot options - local disk; DeployStudio; And WinPE

Hello,

Any updates on Tftpd+ to facilitate -m option?

It would be gratingly appreciated...

Please let me know the syntax in the plist file for the -m option..

Thanks Again,

Kevin

Offline

 
  • Index
  •  » Future
  •  » Add custom PXE boot options - local disk; DeployStudio; And WinPE

Board footer

Powered by FluxBB