[SOLVED] Can not download Kernel - 2.6.35.7 PS (and other problems) - im a n00b



  • Hi All

    I’m trying to image a hp8100. However, It keeps crashing when deploying the image. I looked online and saw that it requires:

    0.29 Kernel - 2.6.35.7 PS otherwise poor performance.

    I think 0.29 specifies the version of fog right? - I have 0.32 but i saw that others were successful at using that. However, when i try to download that kernel from within FOG, I get an error as the file is unavailable. I have managed to find it on sourceforge but i have no idea how to configure it. I am using the latest version of ubuntu desktop. I am 2nd/3rd line desktop support analyst, working my way up to becoming a server administrator and have very limited knowledge in how to use Debian based linux (or any others!!)

    To make matters worse, when rebooting ubuntu (after installing it), i get a tftp error and the server stops working. I am using a public internet with a netgear wireless router. (testing envoronment) I have disabled DHCP on the router/gateway, however the setup im using is off the network as we do not want to deploy a work in progress in a live environment. From reading the documentation, I am led to believe that FOG already has a DHCP/DNS server inbuilt so I would have thought that this would cirvumvent pxe not finding TFTP. Any step in the right direction would be most welcomed.

    Oh and i’ve got the same setup at home, but am only imaging 745’s which are not too fussy. I am running it off vmware workstation along with a proper DNS/DHCP/AD environment and i’m also encountering the same error after first reboot.



  • Hi All. I never posted the fix for TFTP open timeout.

    navigate to /etc

    then type in

    sudo nano rc.local

    then your password.

    next, add this one line before the end:

    /bin/sleep 30 && /etc/init.d/tftpd-hpa restart

    hit ctrl + o

    hit enter

    then ctrl + x to exit.

    I can also confirm that HP 8100’s and 8200’s work with the latest kernel out of the box.



  • Yup. Image created perfectly. Redeployed it aswell. Todays project is to sysprep it as there were a couple problems which were hard to get past.It created another drive on any user profile after i added pcs to the domain. ill add the code i did to remove it below when i get into work.

    The above changes worked perfectly and i was able to image perfectly. I also made the changes on my home build and it now works flawlessly. Ive added avg rescue, hirens, dban and ubuntu to the pxe menu. Even mini windows xp within hirens boot cd works great.

    If i can get the 8200’s to work i think we wont bother fixing our altiris server!!!



  • You got your HP8100 to upload and image?



  • Oh BTW. After restarting the server one more time and manually starting tftp-hpa, all worked like clockwork :)



  • Hi Chad.

    Yes it is 12.0.4!! - Hmmn… Is there a way of downgrading? - I’ll research the known issues and weigh up the cost. I now know a lot more about fog and could probably rebuild the whole thing in about 1 hour. Might be worth it!


  • Moderator

    What version of Ubuntu are you using for your server? It sounds like you may be using 12.04 because of the tftpd-hpa issues, which is a common problem with 12.04 and documented on these forums.

    I hope your deploy goes well with the different kernel.



  • Good luck. If I helped in any way shape or form please hit the like button



  • Thnaks Fog_Rookie! You have been most helpful.

    I had to do sudo /etc/init.d/tftpd-hpa restart to get it back up and running again. I’m re-uploading the other hp8100. This time with the older kernel. Maybe it was a problem with that.



  • try restarting the tftp again using that ‘sudo /etc/init.d/atftpd restart’ command, since you reset the password back. I am about to call it a night here. Hope i have helped at least a little bit.



  • Nope. both 320gb. I opened up both cases and doublechecked.

    Looks like the tftp server is still playing up. I rebooted and still issues.

    I tried re-imaging the pc and it didnt like the tftp password so the job was not started. I reset it to the default one and restarted ubuntu. I tried restarting the job, but now the tftp issue is back!! - Doh!

    I just connected up another machine and set it to dns.

    The ip’s are

    router = 192.168.0.1 (1)
    my fog server = 192.168.0.254 (254)

    gateway = 1
    DNS = 1
    DHCP = 254

    this machine happily connects to the internet.



  • it only took it 2 seconds to fail there. How big is the hard drive on the machine you are trying to push this image to?
    I see its a 297.99 GB partition it is trying to restore. And the only time I have seen FOG fail this quick was when I was trying to push an 80 GB image onto a 40 GB hard drive.



  • fog_rookie, you are a genius. Yup. tftp is working once again after the update. It failed first, then when I went to restart, it showed, “partial upgrade” and it upgraded tftp.

    I now have a screenshot of where it freezes.

    [ATTACH=full]137[/ATTACH]

    [url="/_imported_xf_attachments/0/137_20120712_082800.jpg?:"]20120712_082800.jpg[/url]



  • About your kernel issues, I am not sure why you cannot download the kernel you wanted using the fog GUI interface. If you can download it from source forge, the kernel lives in the /tftpboot/fog/kernel directory. the default kernel is bzImage, rename that to bzImageold. rename your new kernel bzImage and move it to that directory and that may or may not help with your crash on image deploy.



  • I do my ubuntu install, then do all my updates and upgrade, then I set my static IP address. From there I make sure I still have an internet connection and go get the fog_x.xx.tar.gz file. From there I create my install directory just like the user guide says to, then unzip and install



  • I have also seen that I needed to change the tftp password to match my own. I’ve left it as password. so i did that. additionally the FOG_PXE_IMAGE_DNSADDRESS was pointing to 127.0.0.1 (itself) I changed it to the fog servers ip (which is still itself)

    Doing these changes still failed.



  • ah. no. I did it from ubuntu desktop. I’ll do now.



  • did you do updates on ubuntu before you installed fog?
    sudo apt-get update && sudo apt-get upgrade



  • well… i dont think that went well…:

    root@FOGServer:/etc/init.d# apt-get install atftpd
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following packages will be REMOVED
    tftpd-hpa
    The following NEW packages will be installed
    atftpd
    0 upgraded, 1 newly installed, 1 to remove and 42 not upgraded.
    Need to get 62.0 kB of archives.
    After this operation, 46.1 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 [url]http://gb.archive.ubuntu.com/ubuntu/[/url] precise/universe atftpd i386 0.7.dfsg-11 [62.0 kB]
    Fetched 62.0 kB in 0s (523 kB/s)
    Preconfiguring packages …
    (Reading database … 193528 files and directories currently installed.)
    Removing tftpd-hpa …
    tftpd-hpa stop/waiting
    dpkg: error processing tftpd-hpa (–remove):
    subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
    Processing triggers for ureadahead …
    ureadahead will be reprofiled on next reboot
    Processing triggers for man-db …
    Errors were encountered while processing:
    tftpd-hpa
    E: Sub-process /usr/bin/dpkg returned an error code (1)



  • paul@FOGServer:~$ sudo /etc/init.d/atftpd restart
    sudo: /etc/init.d/atftpd: command not found

    i did a search for atftpd now . using apt-file search atftpd

    it found it within /etc/init.d so i did:

    cd /etc/init.d

    I then ran atftpd restart and i got this:

    root@FOGServer:/etc/init.d# atftpd restart
    The program ‘atftpd’ is currently not installed. You can install it by typing:
    apt-get install atftpd

    I guess it deleted itself or something. Im going to try to install and see what happens.

    (as you can tell, i’m pretty useless when it comes to ubuntu ) :(


Log in to reply
 

418
Online

39210
Users

10856
Topics

103343
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.