Difference between revisions of "PXE boot"

From Hobbywiki
Jump to: navigation, search
(Created page with "Category:Computerguides Kjapp guide for å installere windows xp over lokalt nettverk til en maskin uten CDrom. Dette krever litt forberedelser. Først må man dele CDrom...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Computerguides]]
 
[[Category:Computerguides]]
Kjapp guide for å installere windows xp over lokalt nettverk til en maskin uten CDrom.  
+
Quick guide for installing windows over your local LAN if the cd/dvd drive doesnt work.
Dette krever litt forberedelser. Først må man dele CDrom på maskinen man skal installere fra på nettverket. Gi den et delenavn du husker. Ekstern guide og downloadlink for tftpd32.exe og PE image (tftpboot.exe):
+
This requires a bit of preparation.  
[http://www.overclock.net/networking-security/345500-how-install-windows-over-network.html]
+
*Share your DVD drive on a working computer on your LAN, allow access for everyone.
 +
*Give it a sharename you can easily remember.
 +
*Download tftpd32.exe with PE image
 +
**External guide: [http://www.overclock.net/networking-security/345500-how-install-windows-over-network.html]
  
*konfigurer tftpd32.exe jfr. ekstern guide
+
 
*slå av dhcp i din hjemmeruter. Sørg for at den eneste DHCP serveren i nettverket ditt er tftpd32.exe.
+
*Configure tftpd32.exe according to the external guide
*sett boot til network i bios
+
*Turn off all other dhcp servers on your LAN, including your router/firewall if this has DHCP enabled. The only active dhcp server on your LAN should be tftpd32.exe.
*trykk f12 under bootprosess, det tar et par minutter å starte winPE.
+
*Enter bios on the computer you are trying to install windows on and set PXEboot as first boot option
*i winpe skriv :
+
*During boot the computer will try to get an IP from tftpd32, once successful hit F12. (Can follow the process in tftpd32-log to see if its working as intended)
 +
*Your computer should start downloading winPE image files and start winPE
 +
*in winpe type:
 
**net use k: \\serverip\cdshare
 
**net use k: \\serverip\cdshare
 
**username username@serverip
 
**username username@serverip
**password passord
+
**password passord (can be blank if you have no password set on the servercomputer)
  
*i winPE skriv:
+
 
 +
*in winPE type:
 
**diskpart
 
**diskpart
 
**list volume
 
**list volume
 
**select windows volume
 
**select windows volume
**format fs=ntfs label="et-eller-annet"
+
**format fs=ntfs label="something of your choice"
  
  
*Windows filene må kopieres til lokal disk:
+
If you want to install xp:
 +
*WINDOWS XP: Copy windows installation files to local temp disk:
 
   %SOURCE%\i386\winnt32.exe /syspart:c: /makelocalsource /tempdrive:c:  
 
   %SOURCE%\i386\winnt32.exe /syspart:c: /makelocalsource /tempdrive:c:  
 +
*reboot the computer
 +
 +
 +
If you want to install win7:
 +
*WINDOWS 7: Simply run install.exe from the shared CD/DVD drive
  
  
*reboot maskina
+
Sidenote:
 +
Running tftpd32 as a dhcp server on a windows 7 computer didnt work for me. For some odd reason dhcp failed utterly. Doubtless due to idiotic security shit in win 7 even tho i turned off all 3 firewalls.
 +
I solved this by making a virtual xp installation in vmware and bridged the network, then ran tftpd32 on that xp installation instead. Worked like a charm. If you are having trouble sharing your cd/dvd in win7
 +
as well simply mount it in your virtual xp machine and it works (dont even need a password to mount it with net use in winPE if the admin account doesnt have a pw set).
 +
That said...its actually easier to install win7 with PXEboot than winXP:)

Latest revision as of 08:22, 11 May 2012

Quick guide for installing windows over your local LAN if the cd/dvd drive doesnt work. This requires a bit of preparation.

  • Share your DVD drive on a working computer on your LAN, allow access for everyone.
  • Give it a sharename you can easily remember.
  • Download tftpd32.exe with PE image
    • External guide: [1]


  • Configure tftpd32.exe according to the external guide
  • Turn off all other dhcp servers on your LAN, including your router/firewall if this has DHCP enabled. The only active dhcp server on your LAN should be tftpd32.exe.
  • Enter bios on the computer you are trying to install windows on and set PXEboot as first boot option
  • During boot the computer will try to get an IP from tftpd32, once successful hit F12. (Can follow the process in tftpd32-log to see if its working as intended)
  • Your computer should start downloading winPE image files and start winPE
  • in winpe type:
    • net use k: \\serverip\cdshare
    • username username@serverip
    • password passord (can be blank if you have no password set on the servercomputer)


  • in winPE type:
    • diskpart
    • list volume
    • select windows volume
    • format fs=ntfs label="something of your choice"


If you want to install xp:

  • WINDOWS XP: Copy windows installation files to local temp disk:
 %SOURCE%\i386\winnt32.exe /syspart:c: /makelocalsource /tempdrive:c: 
  • reboot the computer


If you want to install win7:

  • WINDOWS 7: Simply run install.exe from the shared CD/DVD drive


Sidenote:
Running tftpd32 as a dhcp server on a windows 7 computer didnt work for me. For some odd reason dhcp failed utterly. Doubtless due to idiotic security shit in win 7 even tho i turned off all 3 firewalls. 
I solved this by making a virtual xp installation in vmware and bridged the network, then ran tftpd32 on that xp installation instead. Worked like a charm. If you are having trouble sharing your cd/dvd in win7 
as well simply mount it in your virtual xp machine and it works (dont even need a password to mount it with net use in winPE if the admin account doesnt have a pw set). 
That said...its actually easier to install win7 with PXEboot than winXP:)