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

win10 boot menu options for uefi

Scheduled Pinned Locked Moved
FOG Problems
2
16
2.0k
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.
  • R
    robertkwild
    last edited by Sep 24, 2021, 10:12 AM

    going to give this a go but obs change it

    https://gist.github.com/rikka0w0/987d3e03c6f133802318669e85836870

    1 Reply Last reply Reply Quote 0
    • R
      robertkwild
      last edited by Sep 24, 2021, 10:48 AM

      ok i can now succesfully boot up into windows 10

      kernel nfs://${fog-ip}:/images/os/mswindows/wimboot
      initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/boot/bcd bcd
      initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/boot/boot.sdi boot.sdi
      initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/sources/boot.wim boot.wim
      boot

      but now its says i have no device drivers, i guess i have to slip stream them in here

      /images/os/mswindows/10-21h1/

      is that right?

      thanks,
      rob

      G 1 Reply Last reply Sep 24, 2021, 2:01 PM Reply Quote 0
      • G
        george1421 Moderator @robertkwild
        last edited by Sep 24, 2021, 2:01 PM

        @robertkwild said in win10 boot menu options for uefi:

        kernel nfs://${fog-ip}:/images/os/mswindows/wimboot
        initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/boot/bcd bcd
        initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/boot/boot.sdi boot.sdi
        initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/sources/boot.wim boot.wim
        boot

        This WILL boot the windows iso image into memory. The problem as I mentioned before is that this installer expects/demands the install files be on a local drive (dvd/usb) and not dispatched over the network. That is why in my tutorial I tell the reader to install the files on a CIFS file share then create their own winpe image to boot up to the network then connect to the CIFS share and run the windows setup program from there. That way you can install over the network using a network file share.

        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!

        R 1 Reply Last reply Sep 24, 2021, 5:24 PM Reply Quote 0
        • R
          robertkwild @george1421
          last edited by Sep 24, 2021, 5:24 PM

          @george1421 can I alter the boot.wim from the existing windows 10 installation file or do I have to do it via winpe boot.wim file

          G 1 Reply Last reply Sep 24, 2021, 6:00 PM Reply Quote 0
          • G
            george1421 Moderator @robertkwild
            last edited by Sep 24, 2021, 6:00 PM

            @robertkwild said in win10 boot menu options for uefi:

            can I alter the boot.wim from the existing windows 10 installation file or do I have to do it via winpe boot.wim file

            I can’t answer that. I’ve never used the default microsoft one. I’ve always created a custom winpe image. That way in the batch file I use to do the winpeinit I can mount the CIFS share as Z:. Change to Z: and run the winsetup.exe program.

            But again I don’t go about installing windows 10 from dvd any more. I use MDT to create the golden image and then use FOG to deploy the golden image. There are valid use cases for doing it the way you proposed, so it not wrong. We’ve just decided to take a different approach. FWIW, you can pxe boot into MDT too using the same process as you have here, since it is a winpe image.

            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!

            R 1 Reply Last reply Sep 27, 2021, 11:24 AM Reply Quote 0
            • R
              robertkwild @george1421
              last edited by robertkwild Sep 27, 2021, 5:31 AM Sep 27, 2021, 11:24 AM

              @george1421

              ae01512f-bff0-4d25-90d1-2feb383375cd-image.png

              the wimboot is the latest one of there website
              and at the bottom ive added the ISO

              but when it start up it doesnt initialize the windows installer

              6dee8174-d299-43f4-8ef3-aa22c3517a49-image.png

              i did add the net use command and point it to my cifs share where the windows install dvd is but it looks like its deleted those lines

              i can run the command manually but i get permission denied

              f2ed5281-f12e-4c3d-9b0e-97e20a4862bd-image.png

              am i doing something wrong ?

              thanks,
              rob

              G 1 Reply Last reply Sep 27, 2021, 3:07 PM Reply Quote 0
              • G
                george1421 Moderator @robertkwild
                last edited by george1421 Sep 27, 2021, 9:08 AM Sep 27, 2021, 3:07 PM

                @robertkwild said in win10 boot menu options for uefi:

                the wimboot is the latest one of there website

                There is version 2.7 but I noticed that its not posted as the main one. https://github.com/ipxe/wimboot/blob/master/wimboot

                and at the bottom ive added the ISO

                The ISO doesn’t matter its not used and just taking up RAM.

                i did add the net use command and point it to my cifs share where the windows install dvd is but it looks like its deleted those lines

                This is from my secret sauce cookbook

                mkdir c:\img
                copype amd64 c:\winPE_amd64
                imagex /mountrw c:\winPE_amd64\media\sources\boot.wim 1 c:\img
                
                Download https://downloads.dell.com/FOLDER06221340M/1/WINPE10.0-DRIVERS-A17-KCNX3.CAB
                ## Extract to c:\winpe using 7-zip 
                DISM /Image:c:\img /Add-Driver /Driver:c:\winpe\x64 /Recurse /ForceUnsigned
                
                notepad c:\img\windows\system32\startnet.cmd
                @echo off
                wpeinit
                
                echo Warming up the network interface
                net use z: \\nycimgsrv002\win10_20h1$ /user:nycrim <no_password_for_you>
                z:
                setup.exe
                
                ## save startnet.cmd
                
                DISM /Unmount-WIM /MountDir:c:\img /commit
                del C:\winPE_amd64\media\Boot\bootfix.bin
                oscdimg -n -bC:\winPE_amd64\fwfiles\etfsboot.com C:\winPE_amd64\media C:\winPE_amd64\WinPEx64.iso
                

                i can run the command manually but i get permission denied

                This is an interesting one. Maybe doe the file exist? I wonder if this system is hosted on SAMBA it needs the linux execute permissions set? Or is WinPE stopping you from executing random programs? I can only guess here.

                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!

                R 1 Reply Last reply Sep 27, 2021, 4:58 PM Reply Quote 0
                • R
                  robertkwild @george1421
                  last edited by Sep 27, 2021, 4:58 PM

                  @george1421 so if i dont need the ISO what lines do i add in the menu, just the WinPE lines?

                  set tftp-path tftp://${fog-ip}
                  set pe-path ${tftp-path}/os/winpe
                  kernel ${tftp-path}/wimboot gui
                  imgfetch --name BCD ${pe-path}/BCD BCD
                  imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
                  imgfetch --name boot.wim ${pe-path}/boot.wim boot.wim
                  boot || goto MENU

                  as atm for my windows 21h1 menu i have appended the iso line to it ie

                  initrd nfs://${fog-ip}:/images/os/mswindows/10-21h1/WinPE_amd64.iso

                  G 1 Reply Last reply Sep 28, 2021, 1:23 AM Reply Quote 0
                  • G
                    george1421 Moderator @robertkwild
                    last edited by Sep 28, 2021, 1:23 AM

                    @robertkwild said in win10 boot menu options for uefi:

                    set tftp-path tftp://${fog-ip}
                    set pe-path ${tftp-path}/os/winpe
                    kernel ${tftp-path}/wimboot gui
                    imgfetch --name BCD ${pe-path}/BCD BCD
                    imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
                    imgfetch --name boot.wim ${pe-path}/boot.wim boot.wim
                    boot || goto MENU

                    Yes this is all you need to boot the winpe image. Your winpe complete environment is in the boot.wim virtual hard drive. If you look on the iso that same boot.wim file is on the iso image.

                    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!

                    R 2 Replies Last reply Sep 28, 2021, 7:32 AM Reply Quote 0
                    • R
                      robertkwild @george1421
                      last edited by Sep 28, 2021, 7:32 AM

                      @george1421 lol OK I’m being a donut

                      So I take that new boot wim from the winpe iso and put it in the same place Ie overwrite my normal boot wim in my windows 10 dvd folder that I have saved in the smb share?

                      1 Reply Last reply Reply Quote 0
                      • R
                        robertkwild @george1421
                        last edited by Sep 28, 2021, 11:22 AM

                        @george1421 thank you so much george, if i could see you i would buy you a beer mate!!!

                        set tftp-path tftp://${fog-ip}
                        set pe-path ${tftp-path}/os/winpe
                        kernel ${tftp-path}/wimboot gui
                        imgfetch --name BCD ${pe-path}/BCD BCD
                        imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
                        imgfetch --name boot.wim tftp://${fog-ip}/os/mswindows/boot.wim boot.wim
                        boot || goto MENU

                        basically i made the winpe, mounted it, slipstreamed the drivers, edited the startnet.cmd, unmounted it and comitted

                        in

                        C:\WinPE_amd64\media\sources\boot.wim

                        i copied it over to the above and now it all works lovely

                        again, thank you so much george!!!

                        1 Reply Last reply Reply Quote 0
                        • R
                          robertkwild
                          last edited by Sep 28, 2021, 11:37 AM

                          dont think my cifs share can handle the setup over the network as it gets stuck sometimes after mounting the smb share where my windows 10 install is

                          35fccb9e-51b6-4a1a-a8da-e70a2bfdb11a-image.png

                          after this it should pop up with the setup.exe, sometimes it works, sometimes it doesnt, so im pretty sure my smb share cant handle it

                          R 1 Reply Last reply Sep 28, 2021, 4:31 PM Reply Quote 0
                          • R
                            robertkwild @robertkwild
                            last edited by Sep 28, 2021, 4:31 PM

                            @robertkwild scrap this it works and when it runs the setup eventually its quick like a normal install

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            1 / 1
                            • First post
                              13/16
                              Last post

                            229

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project