Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

 PXE / TFTP Boot of LiveXP now working!
post Jun 18 2008, 10:43 AM
Post #1
Krokodox
Newbie   *
Group: Members

  Joined: 11-June 08
Posts: 20
Thank(s): 7


Sweden


Hi all,


After a couple of days of tinkering with WinBuilder / LiveXP I finally managed to get a server to boot a LiveXP .ISO via LAN from a PXE / TFTP server. hyper.gif punk.gif showoff.gif thumbup.gif w00t.gif

The solution was quite simple; all it needs is a good TFTP / DHCP / PXE server configuration, a couple of files and the Microsoft RAMDisk added to the build. I will document this and make it available for everyone on the site provided by Nuno Brito at http://krokodox.winbuilder.net.

I have already uploaded my scripts for Remote Administrator Server, WMI services, Notepad2 and a description on how to setup Microsoft PXE / TFTP / DHCP servers for PXE booting. All that is missing is the document for how to make a LiveXP .ISO to boot, but that should be uploaded today.


//K


1 user(s) said "Thank you!" to Krokodox for this fantastic post:
Nuno Brito
+Quote Post
2 Pages V  < 1 2 >  
Start new topic
Replies (2 - 11)
post Jul 23 2008, 03:37 PM
Post #3
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


It may be a very specific demand, but if you do not use those files, it won't work. sad.gif

It's just like lemon juice, you can try making it using cucumbers instead of lemons, but the juice won't be the same. wink.gif

Get the Server 2003 SP1, and get the specific files:
http://www.microsoft.com/downloads/details...;displaylang=en

They are NOT "negotiable".

Please note that:
Server 2003 files DO NOT work
Server 2003 SP1 files are KNOWN to work
Server 2003 SP2 files are reported to NOT work on a number of setups
Server 2003 R2 files are reported to work

No XP versions of the files have ever been reported to be working.


jaclaz

N.B.: "Traditionally" three files are needed:
SETUPLDR.BIN or SETUPLDR.EX_
NTDETECT.COM
RAMDISK.SYS

Further tests have shown that ANY XP/2003 version of NTDETECT.COM work, and that SOME recent versions of RAMDISK.SYS do work.


--------------------
+Quote Post
post Jul 23 2008, 09:12 PM
Post #4
yurry
Newbie   *
Group: Members

  Joined: 23-July 08
Posts: 17
Thank(s): 0


Slovenia


Thank you for the quick reply!

I presume these files need to be placed in the default tftpboot directory. They are not mentioned in the original tutorial, tough. I am still very new to making windows bootable images.

Thank you also for the link to the Server 2003 SP1 files. I have read in the tutorial that this CD is also required as the source for the building of the LiveXP image. For that I would need the whole CD, or maybe will it work if I just replace with the files from the patch? Is the Server 2003 SP1 CD really also necessary for building the image? I can get the boot files from the patch.

I will try some patching of my original CD tomorrow.
+Quote Post
post Jul 24 2008, 10:26 AM
Post #5
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


AFAIK LiveXP works allright with XP SP2 sources.

For Ramdisk (or PXE) booting you need some files from server 2003 SP1.

jaclaz


--------------------
+Quote Post
post Jul 25 2008, 07:06 PM
Post #6
sircolin
  
Group: Members

  Joined: 25-July 08
Posts: 3
Thank(s): 0


United Kingdom


QUOTE (jaclaz @ Jul 24 2008, 11:26 AM) *
AFAIK LiveXP works allright with XP SP2 sources.

For Ramdisk (or PXE) booting you need some files from server 2003 SP1.

jaclaz


Hi Everyone !

I am also try to get nix to play nice with windows i am trying to make a boot menu that will do the follwing

PXE Boot Into

Windows Xp --??
PE Enviroment -- ??
Debian Etch -- Compleated
PxeKinfe -- Compleated
Acronis -- Compleated
ThinStation -- Compleated

I have a fully functional pxe server tested n working.

my question is which sources to take from win2003 and which ones from winxp for a pxeboot jaclaz, Krokodox? , Aslo will your script Krokodox will it run on a quadcore machine or should i used a single dual core to compile this live cd ?

thanks col
+Quote Post
post Jul 26 2008, 10:25 AM
Post #7
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


QUOTE (sircolin @ Jul 25 2008, 08:06 PM) *
my question is which sources to take from win2003 and which ones from winxp for a pxeboot jaclaz, Krokodox?


Re-read, SLOWLY wink.gif post #3, or ANY thread about RAMDISK booting.

PXE booting is a "particular" form of RAMDISK (often called improperly SDI booting on this forum) booting, where the booting image is loaded from the external server, in other words, you should be able to RAMDISK boot from a local image, and then change your setup to boot from an image downloaded from network.

You need to understand how the first works, in order to get the second working.
Read these two threads by aec:
http://www.911cd.net/forums//index.php?sho...c=10482&hl=
http://www.911cd.net/forums//index.php?sho...c=19333&hl=


jaclaz


--------------------
+Quote Post
post Jul 26 2008, 03:48 PM
Post #8
sircolin
  
Group: Members

  Joined: 25-July 08
Posts: 3
Thank(s): 0


United Kingdom


QUOTE (jaclaz @ Jul 26 2008, 10:25 AM) *
Re-read, SLOWLY wink.gif post #3, or ANY thread about RAMDISK booting.

PXE booting is a "particular" form of RAMDISK (often called improperly SDI booting on this forum) booting, where the booting image is loaded from the external server, in other words, you should be able to RAMDISK boot from a local image, and then change your setup to boot from an image downloaded from network.

You need to understand how the first works, in order to get the second working.
Read these two threads by aec:
http://www.911cd.net/forums//index.php?sho...c=10482&hl=
http://www.911cd.net/forums//index.php?sho...c=19333&hl=


jaclaz


Thanks for the advice i will do some more reading thanks
+Quote Post
post Jul 29 2008, 04:56 PM
Post #9
yurry
Newbie   *
Group: Members

  Joined: 23-July 08
Posts: 17
Thank(s): 0


Slovenia


In this past few days I have done a lot of image building. I have finally come up with a SDI image, that has all the driver support. It boots from a CD into ram with no problems. But when I try to boot this from PXE I get a "status 14" error. txtsetup.sif is missing or corrupted, it tells me. This was done, using an XP SP2 as source. I have leeched all the neccessary files from the Server SP1 update jaclaz provided. I have manuly copied the files in krokodox's script (xcopy, tftp ...), as the script broke my txtsetup.sif and always reported an error in the ramdisk section of the file.

I have then tried the proper way of doing things and built from Server SP1 source, but the result is that as soon as windows start (I see the wallpaper already), the system goes into reboot. This does not happen when building from XP SP2 source.

So my question here is:
What is so different with PXE, that it wont boot the same image as from the CD?
+Quote Post
post Jul 29 2008, 06:40 PM
Post #10
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


Post your WINNT.SIF

And attach the dir.txt file resulting from a DIR R:\ >C:\dir.txt
(supposing you mounted the image as R:\ with imdisk or VDK)

In some (VERY RARE actually wink.gif) the Message "Status 14: txtsetup missing or corrupt" actually means that txtsetup.sif is REALLY missing or corrupt.

Two things to try, just to make sure that this remote possibility is not true:
1) copy to the image an untouched txtsetup.sif from your windows XP SP2 (or expanded from txtsetup.si_)
2) copy it to BOTH the root of the image and to the \I386 directory

I have seen txtsetup.sif not working only because of a space or a tab.....

Of course that won't boot, but if you get past the "Status 14" makes sure this is the direction into which investigations are to be carried.

Double check the "original" Macfox thread:
http://www.911cd.net/forums//index.php?sho...c=9685&st=0
maybe some step has been missed

The "SYSTEM" directory you are using is \I386, right? (NOT \minint) unsure.gif

Another attempt that you can do is to use SETUPLDR.BIN/SETUPLDR.EXE modified as to boot ANYWAY \I386.

You will need to hexedit SETUPLDR.EXE and remove the checksum or re-create it.

For the record, SETUPLDR.EXE is a SETUPLDR.BIN with first 19632 bytes of code stripped.

See here:
http://www.911cd.net/forums//index.php?showtopic=17504
http://www.msfn.org/board/SOLVED-Install-M...20-t114543.html
http://www.msfn.org/board/Solution-for-mul...-64-t58410.html
(please note that the above is tested and working for "Setupldr.bin", but not AFAIK for SETUPLDR.EXE, your mileage may vary wink.gif)

jaclaz


--------------------
+Quote Post
post Jul 30 2008, 08:49 AM
Post #11
yurry
Newbie   *
Group: Members

  Joined: 23-July 08
Posts: 17
Thank(s): 0


Slovenia


Ok lets do this in steps:

1.) This is the winnt.sif from the image:
[SetupData]
BootDevice="ramdisk(0)"
BootPath="\i386\System32\"
OsLoadOptions="/noguiboot /fastdetect /minint /rdexportashd /rdpath=\i386\BootSDI.img"

2.) This is the winnt.sif from my PXE dir:
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\i386\System32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=livexp.iso"

3.) This is the dir structure of my image, burned to the CD (I dont think there is any difference from mounting it):
Volume in drive E is LiveXP_USB
Volume Serial Number is 0054-453F

Directory of E:\

07/28/2008 03:08 PM <DIR> I386
07/28/2008 03:08 PM 1808 PROJECTINFO.INI
07/28/2008 03:08 PM 154 WINNT.SIF
2 File(s) 1962 bytes
1 Dir(s) 0 bytes free

4.) This is the i386 directory:
Volume in drive E is LiveXP_USB
Volume Serial Number is 0054-453F

Directory of E:\I386

07/28/2008 03:08 PM <DIR> .
07/28/2008 03:08 PM <DIR> ..
08/23/2001 12:00 PM 1024 BOOTFIX.BIN
07/28/2008 03:08 PM 292552704 BOOTSDI.IMG
08/03/2004 08:38 PM 47564 NTDETECT.COM
03/24/2005 07:33 PM 298096 SETUPLDR.BIN
4 File(s) 292899388 bytes
2 Dir(s) 0 bytes free

So there is no txtsetup.sif file anywhere in here??? It seems to be in the BOOTSDI.IMG image, as once that is booted, I get it in the x:\i386\txtsetup.sif

5.) As you see, I use i386 for the root directory. So the setupldr should not be an issue here.

6.) When you say copy the txtsetup to the image, do you mean the ISO or the SDI image? They are both read only. How do I mount them write to edit them?

Thanks for helping!

+Quote Post
post Jul 30 2008, 09:34 AM
Post #12
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


I am confused, you appear to be trying to PXE (read RAMDISK) boot a RAMDISK booting image. unsure.gif

It looks to me like "Matryoshka booting" (a neologism I just invented wink.gif):
http://en.wikipedia.org/wiki/Matryoshka_doll

Try doing the following:
Use this as your PXE dir WINNT.SIF:
CODE
[SetupData]
BootDevice="ramdisk(0)"
BootPath="\i386\System32\"
OsLoadOptions="/noguiboot /fastdetect /minint /rdexportashd /rdpath=BootSDI.img"


Transfer via PXE the BootSDI.img, NOT the livexp.iso containing it.

The BootSDI.img, UNLIKE the name suggests, is NOT a SDI format image, but rather a RAW image of a partition (or if you prefer a "superfloppy" image).
As thus it can be mounted using either IMDISK (suggested in this case) or FILEDISK or VDK, some links:
http://www.boot-land.net/forums/?showtopic=1507

Alternatively, re-build your LIVEXP WITHOUT the BootSDI option checked, make sure that the RAMDISK.SYS inside the .iso is the right one, and serve via PXE the "plain" livexp.iso, keeping your PXE dir WINNT.SIF:
CODE
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\i386\System32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=livexp.iso"


In other words, what you want as your system directory is:
WARNING PSEUDO-CODE:
CODE
ramdisk(0)\i386\System32\

i.e. something like:
CODE
ROOT(BootSDI.img)\i386\System32\

or:
CODE
ROOT(livexp.iso)\i386\System32\


What you are having now (maybe) unsure.gif:
WARNING PSEUDO-CODE:
CODE
ramdisk(0)\i386\ramdisk(0)\I386\System32\

i.e. something like:
CODE
ROOT(livexp.iso)\i386\ROOT(BootSDI.img)\i386\System32\


jaclaz


--------------------
+Quote Post

2 Pages V  < 1 2 >
Reply to this topic
2 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No new Topic has attachmentsLiveXP slow to boot from USB hard drive
Taking over 10 minutes to boot
22 Sool 753 Yesterday, 04:28 PM
Last post by: Sool
No New Posts Booting from Acronis Secure Zone
1 Frozen 100 Yesterday, 11:47 AM
Last post by: Wonko the Sane
No New Posts BOOT-Land, seems like a place to solve my boot problem..
Need to repair my XP MBR
1 Bob K. 126 Yesterday, 10:43 AM
Last post by: Wonko the Sane
No New Posts Boot CD for XP pro with USB Keyboard Support
6 petercherry 493 7th February 2010 - 06:04 PM
Last post by: Wonko the Sane
No New Posts Boot WDS and LTSP with pxelinux
2 awergh 291 4th February 2010 - 06:11 PM
Last post by: Icecube