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

    Help!!! Usb boot Fog

    Scheduled Pinned Locked Moved Unsolved
    General
    5
    31
    22.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.
    • J
      jbsclm Developer
      last edited by

      Is this of use.
      [url]http://fogproject.org/forum/threads/physical-boot-disk-for-imaging.12142/#post-40540[/url]
      The CD just provides the boot stuff, everything else is pulled from the FOG Server.

      You can make a bootable usb from the ISO, we used RUFUS

      1 Reply Last reply Reply Quote 0
      • E
        Eze84d
        last edited by

        Thank you very much to all, as have some novelty’ll let you know !!!
        Your understanding that if no answer is because someday I could do tests.
        Again I thank all !!! I keep abreast !!!
        Thank you !!!

        1 Reply Last reply Reply Quote 0
        • E
          Eze84d
          last edited by

          [quote=“Wayne Workman, post: 45964, member: 28155”][CODE]wget https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-5.00.zip
          unzip syslinux-5.00.zip
          rm syslinux-5.00.zip
          cd linux[/CODE]

          Now, we must find the flash drive:
          [CODE]ls -l /dev/sd*[/CODE]

          [B]It IS NOT sda, sda1, sda2, etc.[/B]
          It’s probably sdb if your system only has one hard drive and one flash drive.

          [CODE]fdisk /dev/sdb
          d (enter)
          n (enter)
          (enter through default values)
          a (enter)
          w (enter)[/CODE]

          fdisk exits when done writing.

          Make the newly created partition (/dev/sdb1) into a FAT16 partition
          [CODE]mkdosfs -IF 16 /dev/sdb1[/CODE]

          Run syslinux
          [CODE]./syslinux -i /dev/sdb1[/CODE]

          Copy MBR info
          [CODE]cd …
          cd mbr
          dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/sdb[/CODE]

          Copy /tftpboot to new partition
          [CODE]cp -dR /tftpboot /<FlashDriveMountName>[/CODE]

          Here’s where stuff gets fuzzy for me…
          You need to rename a bootfile in /tftpboot to /syslinux.cfg
          I assume you just rename the file you want to use… so we will use undionly.kpxe
          [CODE]cd /[/CODE]
          [CODE]cd <FlashDriveMountName>[/CODE]
          [CODE]cp /tftpboot/undionly.kpxe syslinux.cfg[/CODE]

          (some of the) Resources used:
          [url]http://www.fogproject.org/wiki/index.php?title=Bootable_Media[/url]
          [url]http://www.syslinux.org/wiki/index.php/HowTos[/url]
          [url]http://tldp.org/HOWTO/Partition/fdisk_partitioning.html[/url]
          [url]http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-do-i-format-an-sd-card-to-fat16-using-linux-so-that-i-can-use-it-on-my-pda-533725/[/url]
          [url]https://www.kernel.org/pub/linux/utils/boot/syslinux/[/url]

          NOTES: Ended up using syslinux 5.0 because the files that their how-to was refering to just didn’t exist in the latest version and I didn’t know what to do. I took a guess and picked 5 and the referenced files were there.

          Beware, I’ve not tested any of this yet, I merely went through the steps myself till I sort of figured it out… maybe. It’s late… going to bed…

          -.-[/quote]

          Dude, I followed your instructions to the letter, and nothing …

          I still appears boot: the display … waiting an order …

          Any ideas ??? Other help ???

          Thank you very much!

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            I never guaranteed that those instructions would work…

            I tested the flash drive that I made and it also did not work. I’ll work on it more this weekend, I’ve got a 3 day weekend; took Monday off.

            1 Reply Last reply Reply Quote 0
            • cmlC
              cml Moderator
              last edited by

              Disclaimer: I have only tested this on Lenovo laptops.

              Go to this wiki entry: [url]http://www.fogproject.org/wiki/index.php/Building_undionly.kpxe[/url]

              Follow steps until you get to ‘Build the undionly/ipxe files.’

              Build ipxe.usb with this command: [CODE]make bin/ipxe.usb EMBED=ipxescript[/CODE]

              Find your usb location (/dev/sdc for me): [CODE]ls -l /dev/sd*[/CODE]

              Write ipxe.usb to the usb:[CODE]dd if=bin/ipxe.usb of=/dev/sdc[/CODE]

              1 Reply Last reply Reply Quote 0
              • E
                Eze84d
                last edited by

                Thank you very much, I also am going to try the weekend !!!

                1 Reply Last reply Reply Quote 0
                • E
                  Eze84d
                  last edited by

                  Well guys, I was a little lost with this issue … and I wanted to revive …

                  I need you through a USB flash drive, if possible I ask for a ip and server redirect me where I have my fog.

                  I hope your answers !!!

                  Thanks !!!

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    Ok. Let’s start over.

                    You’re using FOG 1.2.0.

                    What distribution and version of Linux?

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      Eze84d @Wayne Workman
                      last edited by

                      @Wayne-Workman

                      Correct, fog 1.2.0 and 7.8.0 debian.

                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        And you said you’d try dnsmasq if it was simple ?

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          Eze84d @Wayne Workman
                          last edited by

                          @Wayne-Workman

                          I have no idea how it works dnmasq … if not bring me problems with what is already armed … there would be problems.

                          My dhcp, currently assigned ips, and also has a boot loader for dumb terminals for remote desktop working … and it is not feasible to modify this …

                          Therefore, I need “something” bootee via USB, take my dhcp ip, and be redirected to the server will boot directly fog … if by network normally reach a remote Windows desktop …

                          I hope is clear, as I am using Google translator, not handle the English.

                          Apologies and thank you very much for your help !!!

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by Wayne Workman

                            Ok.

                            I’ll work on a USB boot drive tonight, and if/when I get it going, I’ll provide an ISO copy.

                            I want one for myself anyways.

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              Eze84d @Wayne Workman
                              last edited by

                              @Wayne-Workman

                              Thank you very much for your help !!!

                              If it is easier to teach and explain a dnsmask … and not generate problems will miss him … welcome received !!!

                              The only bear with me … I’m a beginner with all this !!!

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman
                                    last edited by

                                    Making serious progress with this…

                                    Fighting with syslinux.cfg, trying to get it’s code right.

                                    1 Reply Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman
                                      last edited by

                                      syslinux.cfg

                                      That’s what I have so far… it’s not working.

                                      1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman
                                        last edited by

                                        ditched syslinux.

                                        etherboot seems very promising and I had more luck with it, and it’s simpler to use.

                                        1 Reply Last reply Reply Quote 0
                                        • cmlC
                                          cml Moderator
                                          last edited by

                                          ipxe.iso

                                          I got it working with this iso.

                                          ipxescript:

                                          #!ipxe
                                          echo -n Please enter tftp server: && read next-server && goto netboot
                                          :netstart
                                          dhcp && goto netboot || goto netstart
                                          :netboot
                                          ping -c 1 ${next-server} || goto netstart
                                          chain tftp://${next-server}/default.ipxe || shell
                                          
                                          Wayne WorkmanW E 2 Replies Last reply Reply Quote 2
                                          • Wayne WorkmanW
                                            Wayne Workman @cml
                                            last edited by

                                            @cml Can you elaborate?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            166

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project