Help!!! Usb boot Fog
-
support usb boot fog
Hi guys …
This time I will need your help to make a bootable USB that allows me to load the fog screen, to record my pcs, uploading and downloading images, and other features fog, for where I am implementing the fog, I can not use a dhcp to boot from the network.
Try to follow the steps of [url]http://www.fogproject.org/wiki/index.php?title=Bootable_Media[/url] but downloading the / tftpboot are not mentioned files.
My version is 1.2.0 fog.
If someone achievement do this, I ask if you give me a hand !!!
I hope your answers !!! Thank you very much !!!
-
How about dnsmasq instead?
You’d use dnsmasq (ProxyDHCP) if you are unable/don’t have access to your DHCP server.
See this article: [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]
The way it works, basically, is dnsmasq listens for DHCP requests and acknowledgements on the network (because they are broadcast messages, it can do this). After a client has received IP configuration from DHCP, dnsmasq sends out extra DHCP options to that client; specifically DHCP options 066 and 067.
This setup doesn’t impact how you’re DHCP functions at all, the DHCP service still controls IP addressing, most scope options, etc. dnsmasq is just adding to it.
-
Using dnsmasq is not an option …
Basically what I need is a USB drive using the host to be routed directly to my server fog to download or upload pictures or from Niebla.
Thank you very much !!
-
You’re asking for a network solution still (pointing a host to the FOG server using USB), so why isn’t dnsmasq a solution?
Instead of simply discrediting dnsmasq, maybe if you explained a little more of you’re problem, it might be something that can easily be resolved.
And for the USB bootable drive, you just need to copy the contents of /tftpboot on your FOG server to the flash drive, where the article says to put it. You could use TFTP, or you could mount a share on FOG and transfer the files over the network, or you could simply plug the flash drive in, mount it, and copy the files over.
-
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.
-
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 !!! -
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! -
[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…
-.-
-
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
-
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 !!! -
[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!
-
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.
-
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]
-
Thank you very much, I also am going to try the weekend !!!
-
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 !!!
-
Ok. Let’s start over.
You’re using FOG 1.2.0.
What distribution and version of Linux?
-
Correct, fog 1.2.0 and 7.8.0 debian.
-
And you said you’d try dnsmasq if it was simple ?
-
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 !!!
-
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.