Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


JSmith

PXELinux, PE2.0 and MS TFTPD

Recommended Posts


Hi JSmith,

I am trying to learn how to PXE boot win PE2 from TFPT.

Thing is new to me and I got much confusion. :unsure:

It will be a great help if you post here the working solution.

I appreciate your help,

McR

Share this post


Link to post
Share on other sites

Hi JSmith and all of you... I have read through the thread and see that some of you have succeeded in using DHCP and pxelinux (tftpd). I have a Suse Box with tftpboot and pxelinux. I use it to boot a number of different tools like Acronis, and Dos disks... PLEASE help! I have tried all combinations that I can think of to get PE 2.0 to boot. here is my config file:

default harddisk

# Boot local hard disk

label harddisk

localboot 0x80

# Boot PE to install Vista etc...

label pe

kernel Boot/hdlscom2.com

# install suse linux 10 E

label suse

kernel suse/linux

append initrd=suse/initrd splash=silent showopts

# install fedora core 5

label fc5

kernel fc5/vmlinuz

append initrd=fc5/initrd.img ks=nfs:horus:/data1/os/fedora5/ks.cfg

# Boot G4U BSD imaging software

label g4u

kernel g4u/pxeboot_ia32.bin

append initrd=g4u/netbsd

# Boot GPARTED imaging software

label gparted

kernel gparted/linux

append noapic initrd=gparted/initrd.gz root=/dev/ram0 init=/linuxrc ramdisk_size=65000 BOOT_IMAGE=gparted frominitrd

# Start the Debian installer

label debian

kernel debian/linux

append initrd=debian/initrd.gz vga=788

# Boot dos VFD

label dos

kernel memdisk

append initrd=dos/netboot-2.1.1.img

# Boot and optionally install **** Small Linux

label dsl

kernel dsl/linux24

append ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=dsl/minirt24.gz nomce noapic quiet BOOT_IMAGE=knoppix frominitrd

LABEL nx

# MENU LABEL 2X ThinClientOS LiveCD

KERNEL NX/linux24

APPEND ramdisk_size=100000 nomce vga=0x311 initrd=NX/rootdisk.img root=/dev/ram0 init=/etc/init quiet console=tty2 splash=silent bootm=pxe BOOT_OPT_START nodma BOOT_OPT_END ro x11=Xorg thinsrv=osiris.farorbit.com

# Start Acronis 32 bit disk imaging software

label acronis

kernel acronis/kernel.dat

append initrd=acronis/ramdisk.dat quiet ramdisk_size=65536 vga=788 init=/sbin/init sysboot /active

# noacpi

label noacpi

kernel suse/linux

append initrd=suse/initrd splash=silent showopts acpi=off

# nolapic

label nolapic

kernel suse/linux

append initrd=suse/initrd splash=silent showopts nolapic

# failsafe

label failsafe

kernel suse/linux

append initrd=suse/initrd splash=silent showopts apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll pci=nommconf

# rescue

label rescue

kernel suse/linux

append initrd=suse/initrd splash=silent rescue=1 showopts

# memory test

label memtest

kernel memtest

implicit 1

gfxboot bootlogo

display message

prompt 1

timeout 200

Share this post


Link to post
Share on other sites

Ok, the first thing you'll want to do is change the kernel to pxeboot.com - which you'll want to rename to pxeboot.0. If you don't want to hit F12, you can rename the file called pxeboot.n12 to pxeboot.0 and use that.

Are you using the BCD from a Vista install disk or following the manual that has you create your own? I found the manual method to be significantly more complex to do, but it works. using the one from the Vista install CD is easier, but the directory structure must be different.

So let us know what your structure is and what BCD and try that out for the kernel!

Share this post


Link to post
Share on other sites

Mr Smith... OK.. You have the pxelinux.cfg/default that is loaded by pxelinux.0

This is what is in the /tftpboot/Boot folder:

-------------------------------------------------------------------

-rwxrwxrwx 1 root root 12288 Jan 23 15:19 BCD

-rwxrwxrwx 1 root root 262144 Jan 25 04:21 BCD.LOG

-rwxrwxrwx 1 root root 262144 Jan 25 04:16 BCD.LOG1

-rwxrwxrwx 1 root root 0 Jan 24 13:04 BCD.LOG2

-rwxrwxrwx 1 root root 3170304 Sep 18 14:45 BOOT.SDI

-rwxrwxrwx 1 root root 417896 Nov 2 03:51 BOOTMGR.EXE

-rwxrwxrwx 1 root root 27596 Oct 10 20:20 WDSNBP.COM

-rwxrwxrwx 1 root root 164002999 Nov 2 08:40 WINPE.WIM

-rwxrwxrwx 1 root root 333 Sep 18 16:45 WdsConfig.inf

-rwxrwxrwx 1 root root 79 Sep 18 16:45 abortpxe.com

-rwxrwxrwx 1 root root 1098 Jan 25 04:26 bcdcreate.cmd

-rwxrwxrwx 1 root root 25372 Sep 21 00:40 hdlscom1.com

-rwxrwxrwx 1 root root 25356 Sep 21 00:40 hdlscom1.n12

-rwxrwxrwx 1 root root 25372 Sep 21 00:40 hdlscom2.com.orig

-rwxrwxrwx 1 root root 25356 Sep 21 00:40 hdlscom2.n12

-rwxr-xr-x 1 root root 25068 Jan 26 04:27 pxeboot.com

-rwxrwxrwx 1 root root 25068 Sep 21 00:40 pxeboot.com.orig

-rwxrwxrwx 1 root root 25068 Sep 21 00:40 pxeboot.n12

---------------------------------------------------

can pxelinux.0 load pxeboot.0? I created the BDD using the 1000 steps outlined in the documentation. But I do not think that is gets that far. It never starts booting. When I rename the .com extension to .0 tftp fails. The tftp server is a Suse Linux Ent. 10 box with tftp installed and dhcp.

here is the dhcp conf:

------------------------------------------------------

1 option domain-name "farorbit.com";

2 option domain-name-servers 10.0.0.212, 10.0.0.210;

3 option routers 10.0.0.1;

4 option ntp-servers 10.0.0.212;

5 option netbios-name-servers 10.0.0.210;

6 default-lease-time 14400;

7 include "/etc/named.d/osiris-ddns.key";

8 ddns-update-style interim;

9 ignore client-updates;

10 ddns-updates on;

11

12 #group {

13 # next-server 10.0.0.212;

14 # filename "wdsnbp.com";

15 # host install {

16 # hardware ethernet 00:0c:29:a0:eb:b6;

17 # fixed-address install.farorbit.com;

18 # }

19 # }

20

21

22 subnet 10.0.0.0 netmask 255.255.255.0 {

23 #option tftp-server-name "10.0.0.212";

24 range dynamic-bootp 10.0.0.5 10.0.0.99;

25 default-lease-time 14400;

26 max-lease-time 172800;

27 next-server 10.0.0.212;

28 filename "pxelinux.0";

29 zone farorbit.com. { primary osiris.farorbit.com; key osiriskey; }

30 zone farorbit.com. { primary osiris.farorbit.com; key osiriskey; }

31 }

--------------------------------------------------

very simple as you can see.

I read something in another post about redirect... is that what oyu are doing? How did you configure this more precicely?

Share this post


Link to post
Share on other sites

If you used the PXE HowTo from Microsoft's documentation, you will need the following setup:

[tftproot]

bootmgr.exe

pxeboot.0

[tftproot/boot]

BCD

boot.sdi

winpe.wim

[tftproot/boot/fonts]

wgl4_boot.ttf

Thats all needed to boot to Windows PE. (I had set this up today on Windows, just to remember you that the filename case is probably not right)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...