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

USB Booting + USB ethernet

Scheduled Pinned Locked Moved
General
3
5
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.
  • M
    mm Ekimia
    last edited by Mar 24, 2016, 9:53 PM

    Hi,

    I’ve read a lot of threads about USB booting into the fog menu but I’m a bit lost, sorry if this sound like “RTFM”

    Currently I have one machine with USB ethernet which can boot Legacy and EFI USB key.

    What I do currently :

    • Boot an USB linux distro
    • Create the partition
    • Mount the NFS images directory
    • Partclone restore the partition img
    • update the swaplabel with the original UUID
    • grub-install using the new root partition.

    As you see I’m doing pretty much the same what Fog is doing.

    What are my option here ?

    • If I boot Gpxe and pxe style iso from USB , It does not see the USB ethernet adaptater

    • COuld I boot a full OS that would chainload the Fog menu and then carry on as usual ?

    • Or even better , could I boot the Fog menu completly from USB ?

    Thanks

    Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Mar 24, 2016, 4:39 PM Mar 24, 2016, 10:37 PM

      I did create 2 KBs on this.
      This one is for uefi booting into the fog menu https://forums.fogproject.org/topic/6400/usb-boot-uefi-client-into-fog-menu-harder-way

      And this one is using a slightly different method to boot a bios machine: https://forums.fogproject.org/topic/6347/usb-boot-bios-client-into-fog-menu

      In either case I’m using the rom-o-matic to create the ipxe image, where the fog project compiles a custom version of iPXE with each fog release.

      Yes you can boot completely off usb into the fog menu. Either way what you are using is iPXE kernel to boot onto the network and connect to the FOG server. The iPXE kernel is (very loosely) equivalent to a linux kernel that will get you onto the network. And you can boot iPXE from a cdrom or usb key.

      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!

      1 Reply Last reply Reply Quote 0
      • M
        mm Ekimia
        last edited by Mar 25, 2016, 10:07 AM

        said:

        using the rom-o-matic to create the ipxe image, where the fog project compiles a custom version of iPXE with each fog rele

        Thanks, But do you think those kernels would handle de USB ethernet dongle ? From what I have tested , it seems it does not ?

        Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by george1421 Mar 25, 2016, 4:18 AM Mar 25, 2016, 10:16 AM

          It depends on the usb ethernet adapter. BIOS booting is usually working. The problem we’ve found is with UEFI booting on usb network adapter. For this you need to find a supported usb adapter.

          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!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Mar 25, 2016, 1:47 PM Mar 25, 2016, 4:02 PM

            @mm-Ekimia May I point you to a topic in the iPXE forum where one of the main developers was saying that “USB support is starting to arrive in mainline iPXE” only about a good year ago. They have made progress I am sure! We have seen more and more people successfully booting their devices with USB NICs on iPXE.

            The biggest problem from my point of view is if you want to PXE boot from the USB NIC! Using an USB NIC with linux (as you do right now) is fairly easy because linux takes control and provides full access through own drivers. Completely different if you want to PXE boot from the USB NIC. Then your client machine - its BIOS/UEFI firmware - must be able and willing to talk to the USB NIC for PXE booting. Sounds like you don’t aim for that but just wanted to point that out!

            Back to your initial question… booting iPXE via USB key - which is easier than USB NIC PXE booting but still harder than booting linux to use the USB NIC. As George already said it’s a matter of finding a USB NIC adapter that is supported by iPXE. I started a list of supported USB NICs some time ago. Unfortunately I lost track of it all as it was very hard to follow without having my own devices for testing. Maybe this is a good point to start again. Searching the forums we should be able to find a lot of information as lots of people have tried USB NICs lately, known working e.g. ASIX AX88772C…

            But that’s still not the whole story I’m afraid! iPXE provides native drivers (should work both for UEFI and legacy BIOS) as well as UNDI (for BIOS) and SNP (for UEFI):

            • undionly.pxe, kpxe, kkpxe, usb, iso - BIOS no native drivers
            • ipxe.pxe, … - BIOS with native drivers and UNDI interface
            • snponly.efi, usb, iso - UEFI no native drivers
            • ipxe.efi, … - UEFI with native drivers and SNP interface
            • smsc95xx/intel/realtek.XXX - “single” native driver

            So you might need to play with the different iPXE binaries to see which one is working for you. Please let us know which USB NIC exactly you have - make and model!!

            Edit: I just updated the mentioned wiki article. Hope this is useful for a lot of people. Please keep us up to date with USB NIC adapters you try.

            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

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post

            157

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project