• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Super newbie guide for creating image to w10?

Scheduled Pinned Locked Moved
Windows Problems
3
29
4.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    george1421 Moderator @motto
    last edited by george1421 Dec 19, 2017, 8:06 AM Dec 19, 2017, 2:06 PM

    @motto OK so the idea is this. You will take the MS Windows DVD and create an iso of it and copy it to the FOG server then extract it using the commands I provided, or if your fog server has a dvd drive, insert the DVD into your fog server and copy the entire contents of the dvd to your fog server in the path defined by your samba share. Now from a windows computer test to ensure you can access the samba share on the via the fog server. If that is successful then you should be ready for the winpe boot. The setup.exe should be in the root of the dvd drive that you copied to the samba share directory.

    When you pxe boot winpe you created it should map a directory to the samaba share on the fog server and then call the setup.exe program to start the win10 installer.

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

    M 1 Reply Last reply Dec 19, 2017, 3:02 PM Reply Quote 0
    • M
      motto @george1421
      last edited by Dec 19, 2017, 3:02 PM

      @george1421 Hello,

      Yes, it is all did and working, I only have 1 problem

      When I pxe win10, it downloads my winpe iso image and “press a key to continue” like a normal windows, but when I press a key it justs boot normal.

      I think its because I dont have setup.exe inside the iso , my setup.exe is on the same folder at the same level, with the other extracted files of my w10 dvd.

      So I have my extracted files AND the winpe iso, but i dont have setup.exe INSIDE the winpe iso

      I will try tomorrow putting my setup.exe inside 🙂

      thanks!

      G 1 Reply Last reply Dec 19, 2017, 3:13 PM Reply Quote 0
      • G
        george1421 Moderator @motto
        last edited by Dec 19, 2017, 3:13 PM

        @motto The setup.exe should not be in winpe, if you modified
        the startnet.cmd file properly.

        This is from the tut:

        
          echo Connecting to the remote share
          net use z: \\<server_name>\<share_name> /user:<domain\uid> <pass>
          z:
          setup.exe
        

        In the startnet.cmd it should map the z: drive to what you have shared in samba. Then it should change current directory to Z: and finally run setup.exe from the samba share. That is the design.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        M 1 Reply Last reply Dec 19, 2017, 3:33 PM Reply Quote 0
        • M
          motto @george1421
          last edited by motto Dec 19, 2017, 9:35 AM Dec 19, 2017, 3:33 PM

          @george1421 Oh, ok ! So it’s just pointing to the setup.exe I had in the server.

          I’ll check the route, because if I click the setup.exe from a windows machine (accessing via samba) it works , so there is something bad with my connection for sure!

          Maybe because I have no user access or something, ill figure out

          thanks!

          G 1 Reply Last reply Dec 19, 2017, 4:06 PM Reply Quote 1
          • G
            george1421 Moderator @motto
            last edited by Dec 19, 2017, 4:06 PM

            @motto OK well done then.

            Just so you know there is a samba setup guide at the bottom of the tutorial that tells you what is required. https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/2 If the guide is not accurate for your distribution, please let me know what is needed and I’ll update my guide.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            M 1 Reply Last reply Dec 20, 2017, 12:00 PM Reply Quote 0
            • M
              motto @george1421
              last edited by motto Dec 20, 2017, 6:28 AM Dec 20, 2017, 12:00 PM

              @george1421 Hello again !

              Im using ubuntu 16 as server, but dont worry, I’ve setup samba OK (I can access from my w10 virtual machine with user and password)

              my problem now is that when I pxe in the laptop to be installed, I can access the ISO, it downloads, then “press any key” and when I press it, it just boot from hard drive (same problem has yesterday)

              But the commands are OK because I’ve tested it, and I think that the bat file is in the iso (how can I check it?)

              any suggestions please? thanks!!

              Im thinking that the problem is on my ISO file, wich is not loading properly, and thats why I get a black screen (its not even starting the .bat file to connect to samba share, and I cant even see the windows GUI, but it downloads the iso…)

              I make the w10 iso as suggested in your tutorial, and I load my winpe_x64.iso over pxe… but fails…

              G 1 Reply Last reply Dec 20, 2017, 12:33 PM Reply Quote 0
              • G
                george1421 Moderator @motto
                last edited by Dec 20, 2017, 12:33 PM

                @motto Interesting, it should not boot from the local hard drive at all since you are booting into WinPE. Let me see if I can setup this design again with Win10. I might have missed something in the documents, but I don’t think so. I will use the MS VLK media for win10 1709 for testing.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                M 1 Reply Last reply Dec 20, 2017, 12:36 PM Reply Quote 0
                • M
                  motto @george1421
                  last edited by motto Dec 20, 2017, 6:38 AM Dec 20, 2017, 12:36 PM

                  @george1421 Sure! I can make you a video so you can check what’s going on for further investigation if you want.

                  The PXE computer is downloading my winpe iso from the pxe server, then trying to boot it, then failing.

                  I really appreciate if you redo the w10 setup , really!!! 😄

                  ps. If I can contact you via email or something (and you want) pls let me know !

                  G 1 Reply Last reply Dec 20, 2017, 12:39 PM Reply Quote 0
                  • G
                    george1421 Moderator @motto
                    last edited by Dec 20, 2017, 12:39 PM

                    @motto What I’m thinking is that in WinPE if you do not add in the steps for launching setup.exe directly, but do let it connect to the share, winpe should give you a command prompt at the end of the booting process. From there you should be able to inspect the z: drive and manually start the install process as a test. That is what I think I will do so I can be sure where the system breaks.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                    M 1 Reply Last reply Dec 20, 2017, 12:41 PM Reply Quote 0
                    • M
                      motto @george1421
                      last edited by motto Dec 20, 2017, 6:51 AM Dec 20, 2017, 12:41 PM

                      @george1421 So, for my understanding, I need to redo the iso but in the .bat I dont add the “setup.exe” line, right?

                      edit: interesting thing, I tried to force an ubuntu.iso (modifying the iso to load) and I get the same response, “press any key blabla” so maybe, even it is downloading the iso, is not executing it or something!!

                      My parameters:
                      initrd nfs://${fog-ip}:/images/os/mswindows/10Pro/WinPE_amd64.iso
                      chain memdisk iso raw
                      boot || goto MENU

                      G 1 Reply Last reply Dec 20, 2017, 12:49 PM Reply Quote 0
                      • G
                        george1421 Moderator @motto
                        last edited by Dec 20, 2017, 12:49 PM

                        @motto That is what I’m going to test. That will give me a chance to make sure everything is correct before launching setup.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                        M 1 Reply Last reply Dec 20, 2017, 1:19 PM Reply Quote 0
                        • M
                          motto @george1421
                          last edited by Dec 20, 2017, 1:19 PM

                          @george1421 said in Super newbie guide for creating image to w10?:

                          @motto That is what I’m going to test. That will give me a chance to make sure everything is correct before launching setup.

                          Sure, really apreciated 🙂

                          G 1 Reply Last reply Dec 20, 2017, 2:56 PM Reply Quote 0
                          • G
                            george1421 Moderator @motto
                            last edited by Dec 20, 2017, 2:56 PM

                            @motto Well, it works as documented.

                            I can tell you I had more issues with my vm I was using as a test system than the process. I reused a vm from another test that was configured for uefi mode. So there was some things I learned during this process.

                            1. While I created a universal bios/uefi boot winpe image, memdisk (what we are using in fog to launch the winpe.iso image) only supports bios mode. I need to look into what needs to be done for uefi booting.
                            2. My vm was using a vmxnet3 adapter. The winpe iso didn’t have the required driver for this network adapter. Once I switched the vm to the Intel E1000 network adapter I could pull an IP address.
                            3. If you made a mistake in the startnet.cmd file you will still be dropped to a command prompt, where I was manually able to connect to the network share with win10 installed and run setup.exe no problem.

                            Just to make sure I didn’t have any legacy stuff from previous test left behind I created the winpe ISO starting on a clean Win10 system. This was a VM just setup by FOG imaging specifically for the purpose to create this iso image.
                            I downloaded the Win10 1709 ADK from the MS web site as well as the latest Dell WinPE 10 driver cab files from the dell site. From there I executed the instructions in the script verbatim.

                            For my fog menu settings I used tftp transport instead of NFS so I just placed the winpe iso image in the /tftpboot on the server. That has no bearing if winpe works or not, its just a delivery tool. I could have use http or nfs transport just as easily.

                            For the win10 image, I downloaded a fresh iso of win10 pro v1709 from the MS Volume Licensing Center and install the files under samba on our dev FOG server running fog 1.4.4.

                            So I’m not sure what could be wrong here. Its possible since I use the us english version and you are probably using your native language version of windows there is a compatibility issue ??

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                            M 1 Reply Last reply Dec 21, 2017, 7:11 AM Reply Quote 0
                            • M
                              motto @george1421
                              last edited by motto Dec 21, 2017, 2:01 AM Dec 21, 2017, 7:11 AM

                              @george1421 Hello George, here are my 2 photos.

                              The problem is still the same, so im 100% sure that im doing something bad or there is something bad with my config.

                              I boot using legacy bios, so I assume that it will be more “easy” to solve than in UEFI mode.

                              FIrst, I boot the ipxe and choose my menu entry for w10
                              Config:
                              initrd nfs://${fog-ip}:/images/os/mswindows/10Pro/WinPE_amd6411.iso
                              chain memdisk iso raw
                              boot || goto MENU

                              Then, it downloads the iso (I added two 1 at the and of the name for testing)
                              w10dl

                              After it download, it boots with this message (with your iso and mine)
                              failing

                              If I dont pressed anything or a key, it just boots from the local hard drive, so its like its not doing anything.

                              Thanks!

                              edit: I updated the menu , and now the error is different!

                              new menu parameters:
                              initrd /images/os/mswindows/10Pro/WinPE_amd6411.iso
                              chain memdisk iso raw
                              boot || goto MENU

                              Error:
                              newerror

                              G 1 Reply Last reply Dec 21, 2017, 10:45 AM Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Sebastian Roth Dec 21, 2017, 3:05 AM Dec 21, 2017, 9:04 AM

                                @motto Pictures tell more than a thousand words. The MEMDISK error bootstrap too large to load` to me sounds like that machine doesn’t have enough RAM to load that ISO…

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                M 1 Reply Last reply Dec 21, 2017, 10:31 AM Reply Quote 0
                                • M
                                  motto @Sebastian Roth
                                  last edited by Dec 21, 2017, 10:31 AM

                                  @sebastian-roth Hello! I tried with 2 laptops, one with 8gb, so it cant be the problem :S

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    george1421 Moderator @motto
                                    last edited by george1421 Dec 21, 2017, 4:47 AM Dec 21, 2017, 10:45 AM

                                    @motto said in Super newbie guide for creating image to w10?:

                                    If I dont pressed anything or a key, it just boots from the local hard drive, so its like its not doing anything.

                                    This is normal. There is a file you need to remove from the iso image to skip this “feature”. If you were to burn that iso image to a cd or usb flash disk it would do the same thing. There is a file in the root of the iso image, <something>.bin (as said from an early morning memory). If you remove that from the iso image booting will not stop, it will boot straight to winpe.

                                    edit: I updated the menu , and now the error is different!

                                    Um, Unedit the menu. What you had was working correctly.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                    M 1 Reply Last reply Dec 21, 2017, 10:52 AM Reply Quote 0
                                    • M
                                      motto @george1421
                                      last edited by Dec 21, 2017, 10:52 AM

                                      @george1421 maybe that was the problem, I will try it right now 🙂 and with the first menu, wich is the one it is supossed to be.

                                      G 1 Reply Last reply Dec 21, 2017, 11:04 AM Reply Quote 0
                                      • G
                                        george1421 Moderator @motto
                                        last edited by george1421 Dec 21, 2017, 5:05 AM Dec 21, 2017, 11:04 AM

                                        @motto I don’t intend to confuse you, but I just remembered I had/have a second way to boot this winpe image that may support uefi booting too. I know it works for bios mode. https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fog/6

                                        I know this talks about lite touch, but mdt lite touch also uses winpe. I may have to alter the files loaded for winpe10. Please understand I’m still trying to find th ideal way to show people how to do advanced things with fog. I don’t load win10 via dvd any more since I use MDT for reference image deployment, so I haven’t had a “need” to perfect the tutorial.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                        M 1 Reply Last reply Dec 21, 2017, 11:07 AM Reply Quote 0
                                        • M
                                          motto @george1421
                                          last edited by Dec 21, 2017, 11:07 AM

                                          @george1421 Sure, no problem

                                          My only goal here is to get to the w10 installation load, just that, because my linux installation is working and loading.

                                          I will try the MDT 🙂

                                          G 1 Reply Last reply Dec 21, 2017, 12:27 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            17/29
                                            Last post

                                          163

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project