Using different Kernels for different machines
-
root@ubuntuFOGserver:/var/www/fog/service/ipxe# ls -l
total 38684
-rw-r–r-- 1 fog www-data 1105 Nov 3 15:05 advanced.php
drwxr-xr-x 2 fog fog 4096 Nov 4 16:54 backup
-rw-r–r-- 1 fog www-data 44908 Nov 3 15:05 bg.png
-rw-r–r-- 1 fog www-data 756 Nov 3 15:05 boot.php
-rw-r–r-- 1 fog www-data 6169392 Nov 3 15:05 bzImage
-rw-r–r-- 1 fog www-data 6170512 Nov 3 15:05 bzImage32
-rw-r–r-- 1 fog www-data 234697 Nov 3 15:05 grub.exe
-rw-r–r-- 1 fog www-data 9577456 Nov 3 15:05 init_32.xz
-rw-r–r-- 1 fog www-data 10914208 Nov 3 15:05 init.xz
-rw-r–r-- 1 fog www-data 25340 Nov 3 15:05 memdisk
-rw-r–r-- 1 fog www-data 1839104 Nov 3 15:05 memtest.bin
-rw-r–r-- 1 fog fog 4606848 Nov 4 16:54 nov14bzImage
root@ubuntuFOGserver:/var/www/fog/service/ipxe# -
then the host is trying to load the kernel at [url]http://fog-server-ip/fog/service/ipxe/var/www/html/fog/service/ipxe/nav14bzImage[/url]
it’s already expecting any available kernels to be located in the service/ipxe directory so that they can be served out by http
you just need to put the host kernel as nav14bzImage in the host kernel field -
[quote=“Junkhacker, post: 38773, member: 21583”]then the host is trying to load the kernel at [url]http://fog-server-ip/fog/service/ipxe/var/www/html/fog/service/ipxe/nav14bzImage[/url]
it’s already expecting any available kernels to be located in the service/ipxe directory so that they can be served out by http
you just need to put the host kernel as nav14bzImage in the host kernel field[/quote]I tried that method first and still got the typical “File not found error” o_O That is why I decided to include the full path to see if it made a difference.
-
[quote=“TexasIT936, post: 38770, member: 26986”]The Path I used is :/var/www/html/fog/service/ipxe/nav14bzImage[/quote]
[quote=“TexasIT936, post: 38772, member: 26986”]root@ubuntuFOGserver:/var/www/fog/service/ipxe# ls -l
…
-rw-r–r-- 1 fog fog 4606848 Nov 4 16:54 nov14bzImage
…[/quote]if these are direct copy/pastes, then i think i see the issue
nav14bzImage
nov14bzImage -
[quote=“Junkhacker, post: 38775, member: 21583”]if these are direct copy/pastes, then i think i see the issue
nav14bzImage
nov14bzImage[/quote]Wow! You were right I was also using a lowercase “I” in Image! I guess I needed a fresh set of eyes! Now it loads but I get a kernel panic I guess I have to find another kernel
-
[quote="Junkhacker,[/quote]
One more thing where can I get the 3.0.1 Kernel that is suppose to support my optiplex 760 I cant seem to find it anywhere! Thanks in advance Ill keep hunting in the meantime.
-
You can try my kernels.
Any of them should support the Optiplex 760. I don’t know how you’re connecting things though.
bzImage is a 64 bit kernel that requires a 64 bit init. FOG 1.x.x bzImage and init.xz are the files in pair. It also detects the architecture of the system (64 bit or 32 bit) and uses the proper files. If the arch is not 64 bit, it assumes 32 bit and loads bzImage32/init_32.xz. Either one or the other should work even with kernel’s greater than 3.0.1. 3.17.2 should work perfectly for your needs.
-
[quote=“Tom Elliott, post: 38788, member: 7271”]You can try my kernels.
Any of them should support the Optiplex 760. I don’t know how you’re connecting things though.
bzImage is a 64 bit kernel that requires a 64 bit init. FOG 1.x.x bzImage and init.xz are the files in pair. It also detects the architecture of the system (64 bit or 32 bit) and uses the proper files. If the arch is not 64 bit, it assumes 32 bit and loads bzImage32/init_32.xz. Either one or the other should work even with kernel’s greater than 3.0.1. 3.17.2 should work perfectly for your needs.[/quote]
Thanks for your advice!
I tried Kernel - 3.14.2 this morning without success.
This is the message I get when pxe booting:
Configuring (net0 00:…etc)…ok
/default.ipxe…ok
[url]http://10.10.10.230/fog/service/ipxe/boot.php...ok[/url]
/nov14bzImage…ok
/init.xz…ok
esas2r: driver will not be loaded because no ATT0 esas2r devices were found
i2c-parport-light: adapter type unspecifiedThen right after it goes into the check process where it says:
Checking Operating System…Windows7
…etc
…etc (all checks come back as DONE no errors appear) then;Task is completed computer will now restart. #It shutsdown the machine and nothing else happens.
I have installed the latest BIOS A16 with no success either.
-
does a partition currently exist on the drive?
-
[quote=“Junkhacker, post: 38802, member: 21583”]does a partition currently exist on the drive?[/quote]
Yea I made sure to create one using a Windows 7 setup disk there is the 100mb OEM, 100mb system, 73GB ntfs
-
are you trying to upload or download?
-
[quote=“Junkhacker, post: 38805, member: 21583”]are you trying to upload or download?[/quote]
I am trying to download a Windows 7 image to the machine. -
Is it more likely your hdd has GPT info still on it, or that you’re using an image that started at sector 63?
-
[quote=“Tom Elliott, post: 38825, member: 7271”]Is it more likely your hdd has GPT info still on it, or that you’re using an image that started at sector 63?[/quote]
I will Check these settings once I get back in the office, Thanks again for all your great support/feedback!
-
If your images are starting at sector 63, you may look into updating to SVN as I’ve made fixes that should allow your systems to not only image, but also boot after they’re completed.