Walkthrough - Install Win XP by booting through PXE
My brother has an old Fujitsu Siemens b series lifebook (B2175). (Probably one of the first netbooks). It had Win 2000 on it initially then we installed Ubuntu on it. Now we wanted Win XP on it as we had increased the memory in it.
Problems
The B2175 doesn't boot to USB, it doesn't have a floppy drive and it doesn't have a CD drive.
The only way to install anything on it is through PXE.
Solution
I have run this setup on a home network with normal settings. I wouldn't set this up on a corporate network unless you know what you are doing as the TFTP server may interfere with DHCP settings or other settings.
I referenced the following page in order to create this walk through.
http://r00tsecurity.org/forums/index.php?showtopic=9338
If you have any comments about this walk through or are having problems then post a comment.
Problems
The B2175 doesn't boot to USB, it doesn't have a floppy drive and it doesn't have a CD drive.
The only way to install anything on it is through PXE.
Solution
- Download my custom zip file package. It contains everything required to install Win XP through PXE except for the Win XP installation files ;-)
- Unzip the file to C:\ drive. After unzipping you will have a folder called 'root' and a file called smartdrv.exe on the c drive.
- Copy the i386 folder from your windows xp cd to a folder that is shared on your local network. In my case I copied the i386 folder to \\xpcomputer\video .
- Copy the file smartdrv.exe from c:\ to your share folder i.e. \\xpcomputer\video
- In the root folder there will be a file called 'Tftpd32-3.33-setup.exe'. Run the file to install a TFTP server onto you computer.
- After installing the TFTP server. Start the TFTP server.
- Change current directory to 'c:\root' in the TFTP server program
- Under DHCP Server tab set the following (assuming your router's ip address is 192.168.0.1):
ip pool starting address to 192.168.0.40
Size of pool 10
Boot file pxelinux.0
WINS/DNS Server 192.168.0.1
Default router 192.168.0.1
Mask 255.255.255.0 - Click save and then choose the 'settings' button and make sure that 'PXE compatibility' is checked.
- Now boot the destination machine into PXE. After PXE boots up you should see the following screen. Choose 'network boot' and press enter.
I have run this setup on a home network with normal settings. I wouldn't set this up on a corporate network unless you know what you are doing as the TFTP server may interfere with DHCP settings or other settings.
I referenced the following page in order to create this walk through.
http://r00tsecurity.org/forums/index.php?showtopic=9338
If you have any comments about this walk through or are having problems then post a comment.
Comments
Glad to see it helped you
Glad to hear it has helped you and thanks for your comment.
When I re-boot the destination machine, it keeps getting a PXE-E53 "No boot filename received".
Does anyone have any ideas on how to rectify this?
thanks
If so then disable it or make sure it is not conflicting.
Also make sure all the files have correctly extracted into the source folder.
Hope this helps
Thanks a lot!!
Thanks for your comment
router = 192.168.1.1
PC server = 192.168.1.100
client = 192.16.1.101
I seem to be getting stuck between steps 18 and 19.
After I type MSNET I get an unrecognized network driver error, it then asks me to select one from the list but the driver (Realtek V5.05) for the model number I'm using is not listed (Lifebook B-3010).
Any ideas?
I'm not sure how to add extra drivers but will do a bit of research and see if I can find anything.
on the client and on my log, this line frequently recurs. I've made sure all the settings are correct.
TIMEOUT waiting for Ack block #1 [29/11 21:11:48.500]
Great job we done Sony
When i boot from a Dell workstation via PXE server, I get the autoexec.bat stopped due to "EMM386 not installed - XMS manager not present"
Any idea what can be the cauze and how to solve it ?
Regards,
Shahrukh Zafar (BE)
Haven't seen that error before. I did a quick search on google and could only find this thread that could be related to your problem
http://forums.techguy.org/earlier-versions-windows/19883-solved-expanded-memory-driver-emm386.html
@Anon
The way to do this is by using a special network cable called a cross over cable. This way you don't need a router betwen the linked computer.
http://windows.microsoft.com/en-US/windows-vista/Connect-two-computers-using-a-crossover-cable
http://www.home-network-help.com/crossover.html
Just like to add some additional notes that may help others
I have a Toshiba Protégé R100, No external CD, floppy drive can not boot from USB
I tried an IBM portable bay drive in the PCMCIA slot, no good
And then tried a formatted Compact Flash in the PCMCIA slot, no good
The laptop just would not boot.
But your instructions gave me a way in to the laptop. I got in to the bios with ‘esc’ then f1. I changed the boot order to Cd-ROM, LAN, and HDD.
The comment about copying the ‘i386 folder to a shared folder ‘\\xpcomputer\video’
Not everyone will know this is a mapped network drive. Via ‘tools’
Also the folder the i386 folder is in has to be shared and you have to enable file sharing of the source PC.
I had a desktop win XP machine as my source, this and the Toshiba were both connected to my BT home hub. (The hub act as a DHCP server).
I followed all your steps but when I run WINNT, I got an error about windows requires 399Meg disk space and the destination disk is compressed message’
The primary boot partition was NTFS . So it could not see a C: Anyway having now access to the DOS Prompt. I was able to run FDISK, delete all the partitions, and created new ones (two partitions C & D). But to see the changes I had to re-boot again. So I went round the loop to get back to the dos prompt and was able to format the C: and D:
In the instruction running WINNT installs over the network can be temperamental and takes a long time so could fail. So I copied the copmplete ‘i386’ directory and sub directories to to the destination laptop. Change to the Z: where the i386 directory is, and run ‘xcopy /e i386 d:\i386’ it prompted for file F or directory D, Hit D. (this takes a while) Also copied over and run from the D: smartdrv - copy smartdrv.exe d:\smartdrv.exe. Went to the D:\i386 run WINNT. Now installed
A BIG THANK YOU
http://www.pcreview.co.uk/forums/would-inject-network-driver-into-bartdisk-ima-t3787093.html
I have a toshiba NB305 as target computer. I compiled a network adapter driver for it, injected it into bart's image - went alright, I can connect to the target, but when I tell it to run SMARTDRV.exe it says "bad command". I can switch to the drive "X:" but if I run "dir" command it says there is nothing there...
Anybody else had this problem?
Any ideas?
Otherwise, thanks for your nice explanation!
Sorry to hear you had a virus alert from my package. I downloaded the package on a computer with ESET on it and it scanned clean.
All I can think is that it was a false positive in AVG
I hope the guide was useful anyway
Someone can I help me?
Thanks in advance
You just have to see more on the sharing of winxp folder than you can rune SAMRTDV.EXE and see also all the repertories in winxp folder. http://support.microsoft.com/kb/304040
If you were asked for password after step number 21
Just do the following:
On the Windows 7 computer, go to “Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings” and ensure that the following items are turned ON:
Network Discovery
File and printer sharing
And this one is OFF:
Password protected sharing
Thanks for your tut :)
Hi F_O_X,
Thanks for the contribution
That seems to be a file name issue. Can you confirm that the name of the file and the paths to all files are correct. Other than that I'm not sure.
This looks like a driver issue. I'm not familiar with the B6230 model although it looks similar to the model we used.
Sorry I can't be of more help.
http://www.nu2.nu/bootdisk/network/makedisk/
How to rebuild a new BartDisk
http://sourceforge.net/projects/vfd/
A virtual floppy drive to build it as a IMA
PCI detection has not found a listed PCI adapter. Switching to manual.
my laptop is HP 520.
I already tried the manual still can't get through.
Should I install Ethernet driver? How?
Can you give me some advice.
Thanks!!!
PXE-T01: File not found
PXE-E3B: TFTP Error - File not found
PXE-M0F: Exiting NVIDIA Boot Agent
Any fix for this?
Regards,
brh
Live2Ride_88@h0tm@il.com
I do not understan, my files are full permision and the computer (which i'm try to install windows) can see the map Z
find the soluce for injecting a new driver
give exemple
open ima file into as exemple poweriso
i selected smc9432.cab into ima lib ndis
i selected my dos and ini file driver and rename as 9432.dos and 9432.ini
in the case ini file was named protocol and did not contend the right txt
change it by replacing by original 9432.ini file from 9432.cab
after u must recreate the cab
on xp can be done using iexpress found into system32 dir
replace 9432.cab into ima lib ndis with your new cab
so your driver can be charged using smc9432 select option menu
ok now i ask how to configure options from it ?
got a 33 error unable to bind
tnx for tuto
I'm getting an error when i try to run smartdrv.exe : Bad command or file name.
I do not understan, my files are full permision and the computer (which i'm try to install windows) can see the map Z
10 November 2014 16:43
just a little clue...
in fact u must share as this
select dir
property
share
select user as everybody and ADD BEFORE SHARE
for the admin CAPCHA ARE BORINGS FOR PEOPLE WITH BAD EYES
not really
xp dont find my local drive so msg is windows needs 547mb etc... install cant continue
add tips pse
u must copy fdisk and format win98 into share directory
after fdisk
do partition
set active
reboot
and format !!
began copy
Special thanks for improvements done to the process through the great comments by all the anons
saw the comments not clear 3 months later !!
installation xp sur 701 via pxe
besoin
* cd xp
* machine cliente
* machine server
* cable croise ou autre moyen reseau ethernet
* tfpd 32
* librairies root.zip
* poweriso ou identique
* winrar
* iexpress
* cdes fdisk et format win98
prerequis
copier l'integralite du cd xp dans un repertoire i386 sur c:\
decompresser root.zip dans un dossier root sur c:\
deplacer smartdrv.exe de root dans i386
mettre tous les drivers du 701 dans un dossier driver701 sur c:\
decompresser tfpd32.zip dans un dossier servtfpd sur c:\
***************************************************************
* il va falloir apporter une grosse modif ici *
* car le driver n'est pas installe dans le package par defaut *
***************************************************************
ouvrir bartdisk.ima avec poweriso ou autre
aller dans lib=>ndis
selectionner et copier le smc9432.cab sur le bureau
extraire Lan_XP_071011.zip qui contient le driver lan pour l'asus 701
aller dans lan=>ndis2
copier L2 ndis2 v1.0.613.1 sur le bureau
faire une sauvegarde du contenu (une etourderie est vite arrivee)
ouvrir et
renommer protocol.ini en smc9432.ini et l2.dos en smc9432.dos
ouvrir et modifier oemsetup.inf en changeant l2.dos par smc9432.dos
il faut maintenant refaire le cab
pour ca on va utiliser iexpress se trouvant dans system32 de windows
enfin on va remplacer le smc9432.cab de bartdisk.ima par le notre
si vous avez ferme votre gestionnaire d'iso reouvrir bartdisk.ima
et remplacer dans lib=>ndis smc9432.cab
(faire une sauvegarde avant de l'ancien cab)
lancement et installation
configurer la machine cliente a booter sur pxe en allant sur le bios du 701
par F2 lors du démarrage *** option boot onboard lan boot rom enable ***
inhiber tous les onboard device sauf LAN
boot device priority
1 le ssd
2 removable dev
3 disable
exit and save !!
la machine reboot et met un message de configuration shift + F10
*** attention ca passe rapidemment reperez la sequence sur le clavier avant ***
*** verifier que le protocol est sur pxe ***
mettre boot order sur int 19h
save par F4
lancer tfpd32
dans setting ne garder que syslog tfpd server et dhcp
dans tfpd changer le dir en c:\root
changer l'interface pour celle vous reliant au reseau
dans dhcp
configurer l'adresse de debut puis le nb d'adresses (pool)
puis l'ip du serveur le masque
dans boot file mettre pxelinux.0
si tout est ok en lancant la machine client vous devriez
avoir une ip attribuee dans l'onglet dhcp de tfpd32
et voir un menu network boot
et boot normal
laisser sur network boot
le menu de windows 98 apparait
lancer l'option 1
un menu running network client apparait
choisir config
puis global
puis lmhost
vous allez donc ouvrir le lmhost en modification
il faut entrer l'ip de la machine server ainsi que son nom separe par
une tabulation
exemple 192.168.1.4 GHOSTDB
regarder le nom et l'ip avec ipconfig
puis alt+X pour sauvegarder
puis menu global settings back
puis exit
vous devez arriver a une invite de commande
on entre msnet (attention qwerty)
puis on choisit notre driver smc9432
puis invite demandant le mot de passe
on valide a "blanc"
on retape msnet (attention qwerty)
puis option du menu map
on va y donner une lettre de "mappage"
et le chemin ou les fichiers de windows sont places donc c:\i386 soit donc \\GHOSTDB\i386
puis exit
apres lancer smartdrv
fdisk
partitionner et rebooter
puis apres la procedure formatter le disque
puis cd i386 et winnt
ouf
dba@aliceadsl.fr