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

Help!!! Usb boot Fog

Scheduled Pinned Locked Moved Unsolved
General
5
31
21.8k
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.
  • V
    VincentJ Moderator
    last edited by Apr 21, 2015, 10:39 PM

    Alternative… Redo Backup or something else that is similar. boot off the machine and select the ‘image’ you want to make.

    FOG does not do what you want without modification. If you don’t know how to make the modification maybe you need an alternative solution.

    If you are good at modifying things… maybe you could take out the bits in the bootable image that contact the FOG server and put them onto another OS that is USB bootable, however I fail to see the advantage if you have to move to a PC either way.

    1 Reply Last reply Reply Quote 0
    • E
      Eze84d
      last edited by Apr 22, 2015, 12:43 AM

      In response,

      In response, I will not disparage in any dnsmasq time, make it clear, and it Show me otherwise. For the configuration of the DHCP server that is currently running, simply discard it, which is very different to discredit.
      The dhcp currently already working a bootloader that raises an alternative desk working on dumb terminals, so to call them.
      For this reason, only you boot the pc in question by network Win up the image of this on the server.
      I can not disable the current dhcp, or deploy a parallel that would bring many conflicts on the network, and has gone on another occasion.
      Try to Syslinux a bootable USB … and within the / copy as is the / tftpboot the Mist, not willed, does absolutely nothing.
      CLARIFY THAT I AM A BEGINNER TOTAL WITH FOG AND LINUX.
      I hope I have understood a little more context.
      If anyone has already been able to boot to usb Foggy, I saw several queries about this, if I can help it would do me a great favor !!!
      Thank you very much !!!

      1 Reply Last reply Reply Quote 0
      • E
        Eze84d
        last edited by Apr 22, 2015, 12:57 AM

        Within my USB drive, I have only
        ldlinux.sys a file and a folder called / tftpboot is copying / fog / tftpboot as is indicated above me …

        When booting from the USB, I displayed:

        SYSLINUX 4.04 …
        ERROR: NO CONFIGURATION FILE FOUND.
        NO DEFAULT CONFIGURATION UI DIRECTIVE OR FOUND.
        BOOT:

        According to the post [url]http://www.fogproject.org/wiki/index.php?title=Bootable_Media[/url]

        I have also copied the / tftpboot

        Then copy the file to the root /tftpboot/pxelinux.cfg/default of the usb stick and rename it to syslinux.cfg. This should be it, your drive Should Contain the following: \ fog \ syslinux.cfg

        Within / tftpboot appears not /pxelinux.cfg/default
        Thanks!

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Apr 22, 2015, 4:20 AM

          [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…

          -.-

          1 Reply Last reply Reply Quote 0
          • J
            jbsclm Developer
            last edited by Apr 22, 2015, 5:13 PM

            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 Apr 23, 2015, 12:24 AM

              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 Apr 24, 2015, 11:11 PM

                [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
                • W
                  Wayne Workman
                  last edited by Apr 24, 2015, 11:30 PM

                  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 Apr 24, 2015, 11:56 PM

                    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 Apr 25, 2015, 12:12 AM

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

                      1 Reply Last reply Reply Quote 0
                      • E
                        Eze84d
                        last edited by May 28, 2015, 12:06 AM

                        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
                        • W
                          Wayne Workman
                          last edited by May 28, 2015, 12:15 AM

                          Ok. Let’s start over.

                          You’re using FOG 1.2.0.

                          What distribution and version of Linux?

                          E 1 Reply Last reply May 28, 2015, 12:21 AM Reply Quote 0
                          • E
                            Eze84d @Wayne Workman
                            last edited by May 28, 2015, 12:21 AM

                            @Wayne-Workman

                            Correct, fog 1.2.0 and 7.8.0 debian.

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wayne Workman
                              last edited by May 28, 2015, 12:22 AM

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

                              E 1 Reply Last reply May 28, 2015, 12:28 AM Reply Quote 0
                              • E
                                Eze84d @Wayne Workman
                                last edited by May 28, 2015, 12:28 AM

                                @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
                                • W
                                  Wayne Workman
                                  last edited by Wayne Workman May 27, 2015, 6:32 PM May 28, 2015, 12:31 AM

                                  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 May 28, 2015, 12:34 AM Reply Quote 0
                                  • E
                                    Eze84d @Wayne Workman
                                    last edited by May 28, 2015, 12:34 AM

                                    @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
                                    • W
                                      Wayne Workman
                                      last edited by May 28, 2015, 12:26 PM

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Wayne Workman
                                        last edited by May 28, 2015, 11:50 PM

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wayne Workman
                                          last edited by May 29, 2015, 2:02 AM

                                          Making serious progress with this…

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

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

                                          145

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project