Fog image choice with USB
-
This post is deleted! -
Does it works only on the usb key ? Is it possible to put a network path to the initrd ?
-
[quote=“Valden, post: 22694, member: 21858”]Does it works only on the usb key ? Is it possible to put a network path to the initrd ?[/quote]
only one way to find out!
It depends on your network, if it is ANYTHING like my network (I work in education), it will be troublesome. We make every user authenticate, if you do not authenticate you only get public rights. So you need to understand your network environment.
From what I gather you are a student correct? I do not allow my students open space to store files and information on my server… you will need to check with your local IT department to find a place to put your files for access, possibly even create a special user and password.
THAT BEING SAID. I have written scripts in the past to authenticate to a network storage drive on windows, so the task is possible, it’s just a matter of learning to write a script that can authenticate itself to a user, whose home directory is the storage space of the iso image.
I would use something like
[code]
append iso initrd=10.x.x.x/path/to/FILENAME.iso
[/code]where 10.x.x.x is the IP address of the server, you may have to syntax it another way to get it to see the server too, this is only an example, and not a working one.
-
It’s just for a school research project, I don’t use the university servers. I’ve made a virtual machine for my fog server and I have a phisical computer for the USB boot. I had already set up a fog server, but that was without that USB system as my teacher wants.
And for the kernel line ? Is there differents kinds of kernel ? because I saw memdisk vmlinuz …Sorry for my english, I’m french
-
vmlinuz is just an “executable” of the linux kernel, for lack of a better way to describe it.
In that case, give it a go! Since you aren’t needing anything specific from the IT department, and everything is housed on machines you manage, set up a shared space, save your image there and find the right syntax to get it to load via the “USB FOG Server”.
-
Thanks you very much for the help !
For the OS deployment the the problem is solved. But for iso file, my path /tftboot/ has already all permissions, Should I configure a samba shared space?
But I don’t understand one thing, I can deploy OS without problemes, therefore I wonder why I can’t do the same with iso files ? I think I miss something…
-
I’m glad we could be of some help but I would think it would work better to boot the ISO off of the USB as during the initial load you don’t have access to the network so loading items from the network would be impossible. I don’t even think pxe can load the ISO from a network location.
-
The reason fog works is it’s already loaded the networking and is its own system before fog loads. During initial load though, it’s loading directly off of the USB.
-
Do you think, that is possible to download the usb image directly into the ram with tftp ?
-
[quote=“Valden, post: 22881, member: 21858”]Do you think, that is possible to download the usb image directly into the ram with tftp ?[/quote]
It may be possible to load with tftp, but you have to make sure that enough ram is available for the image though…
FOG isn’t designed to handle ISO image files.