Boot Dell XPS 12 to USB to Network card
-
OK what I just created a usb flash drive that will pxe boot a 6430 into the fog menu in efi mode. The Dell e6430 doesn’t support efi pxe booting from its own internal network adapter. But I can efi pxe boot from a flash drive connected to the laptop. I can run through quick registration (not going to deploy to this box) without issue. For those bios’s (bad word) that don’t support efi pxe booting using the onboard nic, using this usb stick works.
[edit] when I insert the usb ethernet adapter ipxe still tries to boot via the onboard nic. I’m going to test if I disable the onboard nic if it will boot using the usb ethernet adapter. [/edit]
[edit2] It appears that the ipxe kernel in efi mode does not have the driver for the sabrent USB-G1000. Not done yet but I may have to give-up. UEFI doesn’t appear to be ready for prime time [/edit2]
-
@Wayne-Workman When I try from Legacy mode it never sees the flash drive, just says there is no boot device and reboots.
But then again wouldn’t it do that since it is not trying to boot using the .efi file on the USB drive (Basically using BIOS instead of UEFI)
-
@george1421 Yeah that is kinda the same scenario I was seeing with a EFI booting Desktop. It never saw my USB NIC but kept trying to use the onboard one.
-
@Psycholiquid The FOG client debug kernel does support the usb ethernet adapter in efi mode. SO… what needs to happen is to get the ipxe kernel to support the usb ethernet adapter in efi mode.
(easier said than done, but now we know what needs to be done…)
-
@george1421 I think I understand what you are saying.
-
@Psycholiquid At the risk of just saying fork over the $40 to Mr. Dell and be done with it. It sounds like that solution has some merit.
Doing a bit of google-fu I found this quote.
“So here is where the newly integrated nice-ness begins, with the new USB support a driver in iPXE will for the usb nic there. At present you’ll need a USB controller (i.e. xHCI) and a device supporting either ECM or NCM, which probably means a USB3 NIC, but then again you dont want to build over a 100 Mb/s USB2 adapter anyway. So this means we are not depending on certain HW manufacturers at all. Most adapters should work as long as they are xHCI and supports either ECM and NCM. This means that this scenario will work for tablets without PXE capabilities as well, or any other device that cannot boot from PXE but has a USB port to boot from.”
So if I understand correctly, to pxe boot in efi mode the usb ethernet adapter must support ECM or NCM modes and be usb 3.0.
The risks are: the ipxe (not a FOG project product) won’t support this $40 dell network adapter. Or the FOG kernel (is a FOG project product) won’t support the dell network adapter even after ipxe has transfer this to the client. The latter risk could be mitigated with Mr. Tom integrating the driver into the FOG kernel.
-
@george1421 Yeah I was coming to the first conclusion on my own after reading through a bit of this blog:
http://www.johnwillis.com/2014/03/pxe-booting-using-usb-to-ethernet-dongle.html
-
@Psycholiquid said:
@george1421 I think I understand what you are saying.
To say it another way: the key is the ipxe software doesn’t support my usb ethernet adapter. FOG uses ipxe to download the bzImage+inits (FOG Client OS) from the FOG server. Once the FOG kernels get to the target computer, the FOG OS does support that usb 2.0 ethernet adapter so it will function as designed.
-
@george1421 I’m gona run by my Walmart tonight and pick this up:
http://www.walmart.com/search/?query=USB21000S2&stores=2967,1510,2447,1961,2250
From what I am reading it may work for the Dell (Not to say it will work with all UEFI)
-
@george1421 At this stage of the game it is a point of pride that I will not let this beat me.
-
@Psycholiquid said:
@george1421 I’m gona run by my Walmart tonight and pick this up:
http://www.walmart.com/search/?query=USB21000S2&stores=2967,1510,2447,1961,2250
From what I am reading it may work for the Dell (Not to say it will work with all UEFI)
According to what I just posted this network adapter needs to be usb 3.0 and support the protocols I mentioned. IMO: This will not work, but I’ve been wrong before and will be again (soon).
-
@george1421 Well I the StarTech USB31000 sitting here and it hasn’t worked either, basically the updated version of what I am getting tonight. So I am thinking the USB 3.0 route might not be the route to go unless the FOG kernel supports USB 3.0 once that kernel takes over unless it supports it it will drop connection and not pick back up.
But this is all theory we will know after tomorrow.
-
@george1421 If this does work FOG needs to start selling USB flashdrive and USB to Ethernet packages for support money LOL.
-
@Psycholiquid said:
the USB 3.0 route might not be the route to go unless the FOG kernel supports USB 3.0
Well if it doesn’t work, it’s an easy fix. The @Tom-Elliott can easily compile a new kernel with this support if that is what it takes to get fog working on your device.
-
@Psycholiquid said:
@george1421 If this does work FOG needs to start selling USB flashdrive and USB to Ethernet packages for support money LOL.
Not a bad idea actually.
-
@Wayne-Workman So i read farther down in the comments and expanded the long lines of chats, I found this gem:
Kenneth Fortner1 year ago
1
Reply+John Willis John, thanks for the great response. I currently have a XPS 12 that will PXE boot to undonly.kpxe using the LAn7500 and then attempts to use wimboot to kick off winpe. It fails for either the BCD or cannot find bootmgr.exe, but there is other weirdness going on that does not happen on embedded NICs. I will go read your post as well. I had also noticed on the iPXE forum that robinsmidsrod had asked for your solution as well. I will forward him to you post.
Show lessLooks to me I am on the right track now
-
@Psycholiquid said:
@george1421 Well I the StarTech USB31000 sitting here and it hasn’t worked either, basically the updated version of what I am getting tonight. So I am thinking the USB 3.0 route might not be the route to go unless the FOG kernel supports USB 3.0 once that kernel takes over unless it supports it it will drop connection and not pick back up.
Remember we have two OS’ in play here. Since the built in efi bios doesn’t see that usb 3.0 device, we have the (hard way) ipxe boot flash drive. Does that support the usb 3.0 device? The second part is of you created the FOG Client Debug OS (I really need to come up with a better name). If you boot from the flash drive into the fog os kernel. You need both kits to work to have a happy fog deployment.
-
@george1421 Very true
-
@Wayne-Workman said:
@Psycholiquid said:
@george1421 If this does work FOG needs to start selling USB flashdrive and USB to Ethernet packages for support money LOL.
Not a bad idea actually.
Yeah it is a bad idea, then you’ll have to support other people’s crap as well as your own.
-
@Psycholiquid Very nice find.