[quote=“RipAU, post: 30119, member: 24459”]I found that fog boots fine from USB using syslinux. I guess the problems that will come up is how dynamic fog is now with iPXE generating the upload and download via kernel arguments in iPXE.
Having kernel support for the USB-Ethernet adapter might be a problem as well.
As was mentioned earlier capone plugin might work.
I used syslinux 4.02 to create the bootable USB key and in the syslinux.cfg have:
[CODE]default vesamenu.c32
prompt 0
timeout 100
MENU TITLE Fog USB Stick
MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
MENU BACKGROUND images/background.png
label Fogcheck
menu label Fog Compatibility
kernel /fog/bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=10.0.0.253/fog/ consoleblank=0 pcie_aspm=off loglevel=4 mode=sysinfo
initrd /fog/init.xz
label Fogdebug
menu label Fog Debug
kernel /fog/bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=10.0.0.253/fog/ consoleblank=0 pcie_aspm=off loglevel=4 mode=debug
initrd /fog/init.xz
label Fogcapone
menu label Fog Capone
kernel /fog/bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=10.0.0.253/fog/ consoleblank=0 pcie_aspm=off loglevel=4 mode=capone shutdown=0 storage=10.0.0.253:/images
initrd /fog/init.xz
[/CODE]
I don’t know how practical this will be though.[/quote]
I managed to build a usb file which starts capone in download mode and this is exactly what I meant!
Neither do I have to use PXE nor iPXE and it works using the usb to ethernet adapter…
I’m trying to figure out how to set capone into upload mode though. I looked into the init.xz -> capone script and tried to change the type from down to up. But this results in an error message, saying that the Request Type is Null. The Parameters are given to the fog script itself which then in turn sets the respective fog.upload or fog.download in motion.
It seems as it doesn’t even get that far.
Any hints?