• 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.
  • 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
        • C
          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
                                • W
                                  Wayne Workman
                                  last edited by May 29, 2015, 3:02 AM

                                  syslinux.cfg

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

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Wayne Workman
                                    last edited by May 29, 2015, 12:55 PM

                                    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
                                    • C
                                      cml Moderator
                                      last edited by May 29, 2015, 1:10 PM

                                      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
                                      
                                      W E 2 Replies Last reply May 29, 2015, 1:19 PM Reply Quote 2
                                      • W
                                        Wayne Workman @cml
                                        last edited by May 29, 2015, 1:19 PM

                                        @cml Can you elaborate?

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cml Moderator
                                          last edited by May 29, 2015, 1:32 PM

                                          Sure.

                                          I followed the instructions in the Building undionly.kpxe wiki entry.

                                          Except for the ipxescript I used the previous script and the command to build was:

                                          make bin/ipxe.iso EMBED=ipxescript
                                          

                                          I wrote the iso using dd: “dd if=ipxe.iso of=/dev/sdb bs=4M” replace sdb with your drive

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

                                          147

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project