I am not quite sure if it have been mentioned before, but would it bee possible to make a openmediavault install. I know that I can install a Debian and then install openmediavault but it would be nice to have a openmediavault install instead.
openmediavault-pxe first version now available for testing
-
- OMV 1.0
- davidh2k
-
-
Hi davidh2k,
mit dem Neuaufsetzen meines "Stoneburner" sind alle PXE-Images verlorengegangen. Das heisst, die Images sind schon noch vorhanden, nur deren Installation ist kaputt und ich muss sie neu installieren. Nun "lahmt" der Images-Server etwas, der Durchsatz schwankt zwischen 150 und ca. 300 kbit/s beim Download der Images. Kannst Du bitte mal nach dem Server schauen, woran es liegt? Kann natürlich auch auf meiner Seite etwas kaputt sein ...
Danke und viele Grüße.
-
Grundsätzlich scheint alles in Ordnung zu sein, muss wohl wieder ein Problem mit dem Routing/Backbone sein.
Gruß
David -
Das ist aber nicht so sehr schön, was kann ich gegen den niedrigen Durchsatz tun?
Edit:
wenn es gelänge, den Download-Prozess der Images vom Installationsprozess abzukoppeln um die bereits vorhandenen Images verwenden zu können, wäre viel gewonnen. Leider weiß ich nicht, wie das zu machen ist ... -
Wenn du alte default file (oder die config.xml) noch hättest, könntest du es von Hand nachpflegen.
Gruß
David -
Danke für den Hinweis.Ich habe den Inhalt des alten default-Files zum Inhalt des neuen default-Files hinzukopiert, was muss ich weiter tun?
-
Das funktioniert nicht. Du musst aus den alten Default files neue Eintraege im Plugin erstellen.
Gruss
David -
Hi. Thx for the PXE functionality. Nice to have a PXE server in the network.
Well, trying to gather some insight on WinPE and/or creating a Win10 install function in PXE. Have been searching OMV forums and the net, but it's a little flaky and uncertain on how to make it in PXE.
Anyone made a WinPE with Microsoft Deployment Toolkit (MDT) 2013 included?: http://www.microsoft.com/en-us…oad/details.aspx?id=48595 - and have a genuine Win10 install source on PXE in OMV? Need to install a couple of Win10 machines and more will come later, would be nice to have these ISO's boot-able on the PXE server.
Can anyone give a little insight on WinPE with the memdisk method? Like a paste of the setup?
Anyone have utilized this OMV PXE server setup for installing Win10 on clients?
Thx for your work.
-
I haven't progressed much on the Windows PXE install, sadly.
Greetings
David -
Zitat
I haven't progressed much on the Windows PXE install, sadly.
That's ok. Don't worry...just another excuse for me to get Docker installed.
-
Hi. Thx for the PXE functionality. Nice to have a PXE server in the network.
Well, trying to gather some insight on WinPE and/or creating a Win10 install function in PXE. Have been searching OMV forums and the net, but it's a little flaky and uncertain on how to make it in PXE.
Anyone made a WinPE with Microsoft Deployment Toolkit (MDT) 2013 included?: http://www.microsoft.com/en-us…oad/details.aspx?id=48595 - and have a genuine Win10 install source on PXE in OMV? Need to install a couple of Win10 machines and more will come later, would be nice to have these ISO's boot-able on the PXE server.
Can anyone give a little insight on WinPE with the memdisk method? Like a paste of the setup?
Anyone have utilized this OMV PXE server setup for installing Win10 on clients?
Thx for your work.
I have tried something like this before. I was installing Windows 7 from Microsoft Deployment Toolkit 2010.
In my pxe menu I had a entry that looked like this:
The deploy.iso file was made with the Microsoft Deployment Toolkit
I know this is not the MDT2013 and not Windows 10 but maby it points to something you can use.
-
Thank you Henkall. I will wait and utilize a virtualization method instead, like run the toolkit in a VM instead, if at all. Until then I will use a USB install medium. Have been reading up on it and I think it's not worth the effort to implement it in the current version of PXE on OMV, and since I only have a few machines, which needs an upgrade, I will just use a stick instead.
I was also making research for future reference, but I don't want to hack my way through a solution, it was just if it was easy.
Thx anyway
-
Actually it is not that hard to make a Windows PXE installation. The hardest part is to create a working WinPE.
Google for creating a WinPE 5.0 there should be enough tutorials. You have to check if you even need a x86 version, most of the time it is enough to create only a x64 version. I don't know which tutorial i used back then, but i even have a WinPE Dualboot for x86 and x64.
Now after you have working WinPE, you have to mount your wim file and edit your startnet.cmd and put start install.cmd at the end.
Now create a install.cmd and build your batch install script for mounting a smb share where your windows installation is.
Something like this:after that you have to save your modifications to your wim file.
It does not matter which Windows Version it is. The only thing that matters is what kind of version your installation is x86 or x64, then you have too boot the correct WinPE version.
I was able to install Windows 10 like this. I have a Windows 7 version which i am only able to start the installation booting from WinPE x86, on the other hand my Windows 8 installation is only starting with WinPE x64.
That i because WinPE is very minimalistic and the x64 is not able to all x86 exe files. On the other hand with x86 you will not be able to start x64 exe files at all.Here is a tutorual which is something similar, but not with batch scripts and he is creating a ISO (mine is booting the files directly). You have to use the commands by hand.
http://www.tecmint.com/install…e-network-boot-in-centos/
and here is the german tutorial i used.
http://www.luis.uni-hannover.de/anl-waikpxe.html -
Hey David und alle anderen hier,
gibt es vielleicht neue Images zum runterladen?Viele Grüße.
-
Also ich bin in letzter Zeit nichtmal dazu gekommen auch nur zu ueberlegen eins zu machen. Shadowzero arbeitet aktuell sehr viel am OpenVPN Plugin.. also nein, aktuell nichts neues.
Gruss
David -
OK,
wenn ich was helfen kann, bitte PN oder PM.Viele Grüße.
-
Hello all.
I want to propose a method of installation of windows 7 using openmediavault-pxe plugin and some"hand" workI used https://www.bromosapien.net/me…_Windows_PXE_Installation guide
Let s asume we have openmediavault-pxe functional
First step is to install in a Windows 7 machine Windows AIK,wich can be found here http://www.microsoft.com/en-us/download/details.aspx?id=5753
Run the "Deployment Tools Command Prompt" as administrator and go to c:\
In directory winpe create a file winpe.bat wich contain:Code
Alles anzeigen@echo off :: This script prepares a Windows 7 image for PXE :: This assumes you have the WAIK installed :: Author: Louis A :: Date: 3/31/2013 :: Modified: 6/26/2013 :: Any modification of this file is strictly on you and is not recommended. :: Modify only if you know what you're doing. :: Variables below. :: The next few reference file and directory paths that are essential :: Change BASEDIR if you would like a different directory to deploy the PE environment :: Change ARCH to x86 if you need a 32 Bit PE instead set WAIKPATH=%ProgramFiles%\Windows AIK set ARCH=amd64 set BASEDIR=C:\winpe set PEPATH=%BASEDIR%\winpe_%ARCH% set TFTPPATH=%BASEDIR%\tftp\Boot set BCDSTORE=%TFTPPATH%\BCD :: These were created because of errors that came up (due to missing variable references) :: Do not remove these, otherwise you'll see errors that may confuse you, even though they're harmless. set WAIKMISSING=0 set ARCHMISSING=0 set NOTSANE=0 set ERROR=0 :: Checking if we're elevated net session >nul 2>&1 if %errorLevel%==0 ( echo Admin Success ) else ( set ERROR=2 && goto :exit ) :: Making sure our environment is sane. :: We need to make sure our working directory is empty. If it's not, we'll empty it and start over. if not exist "%WAIKPATH%" ( set WAIKMISSING=1 && goto :end ) if not exist "%WAIKPATH%\Tools\PETools\%ARCH%" ( set ARCHMISSING=1 && goto :end ) if not exist "%BASEDIR%" ( md C:\winpe ) if exist "%PEPATH%" ( echo Temporary working directory is not empty! && rd %PEPATH% /S ) if exist "%PEPATH%" ( echo Temporary working directory is still not empty! Are you serious? Trying to delete... again. && cd "%WAIKPATH%\Tools\%ARCH%" && imagex /unmount %PEPATH%\mount && rd %PEPATH% /S /Q ) if exist "%PEPATH%" ( set NOTSANE=1 && goto :end ) if exist "%TFTPPATH%" ( echo TFTP boot directory is not empty! && rd %TFTPPATH% /S ) if exist "%TFTPPATH%" ( set NOTSANE=1 && goto :end ) if exist "%BCDSTORE%" ( echo BCD store already exists! && del /P %BCDSTORE% ) if exist "%BCDSTORE%" ( set NOTSANE=1 && goto :end ) :: Environment appears to be sane... beginning work. :: This is the grunt work. Do not change anything below unless you know what you're doing. cd "%WAIKPATH%\Tools\PETools" echo "Copying the PE Files" call copype %ARCH% %PEPATH% echo "Mounting the PE image with imagex" :: This was added because I forgot the concept of mounting in Linux :) The folder must exist. if not exist "%PEPATH%\mount" ( md %PEPATH%\mount ) imagex /mountrw %PEPATH%\winpe.wim 1 %PEPATH%\mount md %TFTPPATH% > NUL copy %PEPATH%\mount\Windows\Boot\PXE\*.* %TFTPPATH% > NUL copy "%WAIKPATH%\Tools\PETools\%ARCH%\boot\boot.sdi" %TFTPPATH% > NUL copy %PEPATH%\winpe.wim %TFTPPATH% > NUL bcdedit /createstore %BCDSTORE% bcdedit /store %BCDSTORE% /create {ramdiskoptions} /d "Ramdisk Options" bcdedit /store %BCDSTORE% /set {ramdiskoptions} ramdisksdidevice Boot bcdedit /store %BCDSTORE% /set {ramdiskoptions} ramdisksdipath \Boot\boot.sdi for /f "Tokens=3" %%x in ('bcdedit /store %BCDSTORE% /create /d "Windows 7 Installation" /application osloader') do set GUID=%%x bcdedit /store %BCDSTORE% /set %GUID% systemroot \Windows bcdedit /store %BCDSTORE% /set %GUID% detecthal Yes bcdedit /store %BCDSTORE% /set %GUID% winpe Yes bcdedit /store %BCDSTORE% /set %GUID% osdevice ramdisk=[boot]\Boot\boot.wim,{ramdiskoptions} bcdedit /store %BCDSTORE% /set %GUID% device ramdisk=[boot]\Boot\boot.wim,{ramdiskoptions} bcdedit /store %BCDSTORE% /create {bootmgr} /d "Windows 7 Boot Manager" bcdedit /store %BCDSTORE% /set {bootmgr} timeout 30 bcdedit /store %BCDSTORE% /set {bootmgr} displayorder %GUID% bcdedit /store %BCDSTORE% :: This was added because at BCD loading, it will freeze and then complain of missing fonts md %TFTPPATH%\fonts copy %PEPATH%\ISO\boot\fonts\*.* %TFTPPATH%\fonts pause :: If the command below fails, make sure to use imagex to unmount C:\winpe\winpe_amd64\mount imagex /unmount mount goto :exit :end :: Environment was not sane. if %WAIKMISSING%==1 ( echo Your WAIK directory was not found. Execution aborted. && set ERROR=1 && goto :exit ) if %ARCHMISSING%==1 ( echo Architecture is either missing or is not recognized. && set ERROR=1 && goto :exit ) if %NOTSANE%==1 ( echo Your environment was not clean. Execution aborted. && set ERROR=1 && goto :exit ) :exit if %ERROR%==1 ( echo There was an error and execution was aborted. ) if %ERROR%==2 ( echo You were not elevated. Please launch an elevated command prompt. )
u must change flavor to x86 from amd64 in line if u have x86 one
IIn ur directory navigate to tftp directory and copy \Boot to your pxe server root directory
We done with windows
Now in ur tftpboot directory we need some symbolic linksNow we need to prepare a samba share for deliver sources needed for instalation ,it need to adapted for ur needs,but must look like the inside of SOURCES from your windows install dvd
Code
Alles anzeigen# Under [global], add the following directives. public = yes kernel oplocks = no nt acl support = no security = share guest account = nobody # Create a new share called "image" # Most of these options were added because if multiple installations were occurring at once, there would be kernel op locks. # These help prevent that. [image] comment = Windows 7 Image path = /"SOURCES" directory from your Windows 7 public = yes printable = no guest ok = yes read only = yes browseable = yes oplocks = no acl check permissions = false level2 oplocks = no locking = no strict locking = no share modes = no
Now let s add an entry to pxe menu.Go to openmediavault-pxe plugin and add entryNow we need to instruct tftp server how to map windows folders and file structures or references.In the openmediavault-tftp plugin add extra options
Zitat-m /etc/tftp_remap.conf
like this :now we need to edit /etc/tftp_remap.conf and add
Codere ^pxeboot\.n12 Boot/pxeboot.n12 re ^pxeboot\.com Boot/pxeboot.com re ^pxeboot\.0 Boot/pxeboot.n12 re ^bootmgr\.exe Boot/bootmgr.exe rg \\ /
Restart your tftp serverWarning :every time another openmediavault-pxe entry will be added we will need to readd above lines to /etc/tftp_remap.conf
Now we good to go and try it !
I hope i didn t make too many spell mistakes and u guys will find this helpfull
/Best regards -
I will alter the plugin code so that all substitutions are added. That way you don't have to change it everytime.
Greetings
David -
Greeting all,
This is the first time I've had to post a message seeking support using OMV in 4 years of use. That may be testament to how awesome a distro it is, or perhaps the great support available on the forums that have resulted in never having to ask a question.... But I have hit a wall with PXE boot and I'm stumped.
My OMV box is running the openmediavault-DNSMasq plugin version 1.0.3 and openmediavault-PXE version 1.7... I have added a bunch of PXE images and I have an issue with getting a system to complete a boot via PXE. Certain things like Ubuntu fail silently, others like SystemRescueCD are a bit more verbose.
A description of the problem:
Start the PC I wish to PXE boot, select boot from network, DHCP gives the system an IP address and PXE starts to load, when it gets to the point where the system should reinitialize the NIC and contact the TFTP server, it fails... Ubuntu complains that it cannot reach the TFTP server or the network. Others actually show the error that causes the problem. DNSMasq is sending a DHCP NAK to the request for an address.
Research the problem, all answers point to using IPAPPEND 1 in the pxelinux.0 file. I tried doing that but my changes were overwritten the first time I did an apply and save on OMV.
Has anyone been able to successfully run DNSMasq and PXE on an OMV box? Or am I the only one having this issue?
I have not had a change to pull any logs yet.
Thanks in advance for any help!
-
Please post, if possible, screenshots of those errors. (phone cam pic is fine)
Greetings
David
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!