Best practice if a kernel will not boot a system?



  • Hi,

    i have problem with some machines that wont boot the latest kernel 3.8.8.
    What is best practice to figure out which older kernel may work? Trying?

    How can i quick register clients when have to choose one standard kernel
    that will not boot every system, afai know i just can set this or that kernel
    only when the clients are already in the inventory?

    Greetz X23



  • Hi,

    i compiled my own kernel 3.9.2-4 and two of the machines work now instead that one tells me now hdd not found instead of kernel panic but this is only one missing driver.

    Greetz X23



  • Hi,

    @Dustin would you like to test a kernel i compiled with latest kernel sources 3.9.2?

    Greetz X23



  • Hi,

    http://fogproject.org/wiki/index.php?title=Building_a_Custom_Kernel

    Will the latest 3x kernel work with fog? is it true that the april kernel 3.8.8 is then a 3.8.8x kernel?

    Greetz X23


  • Moderator

    If you need help making a custom kernel, just keep up with what you’ve done, post your questions, and we’ll help as best we can. It appears daunting, but after you run through it a few times on a VM, it’s gets simple.



  • Hi,

    @Dustin, post: 12135, member: 3324 said:

    Good work around for our one offs! Thanks!

    have you ever tried a self made kernel? Iam actually testing with kernel sources of 2.6.39.4 and 3.9.2

    Greetz X23



  • Hi,

    @madeyem, post: 12134, member: 797 said:

    This is a workaround, if you have generalized images (Sysprep for Windows).

    but only in case of deploy, i mainly will use fog to backup, i cannot go to each not booting machine the backup manually.
    Seems i really have to cook a kernel myself argh! :D

    Greetz X23



  • Good work around for our one offs! Thanks!
    @madeyem, post: 12134, member: 797 said:

    If no kernel works:

    • Take the HDD out of the machine, that can’t boot FOG
    • Put it in a machine, that can boot FOG
    • Assign the right image to that machine
    • Choose “Shutdown after task completion” in task configuration
    • Start task
    • After task is finished, put the HDD back in the original machine
    • Start the machine

    This is a workaround, if you have generalized images (Sysprep for Windows).



  • If no kernel works:

    • Take the HDD out of the machine, that can’t boot FOG
    • Put it in a machine, that can boot FOG
    • Assign the right image to that machine
    • Choose “Shutdown after task completion” in task configuration
    • Start task
    • After task is finished, put the HDD back in the original machine
    • Start the machine

    This is a workaround, if you have generalized images (Sysprep for Windows).



  • I’m at a loss because NONE of the Kernels will boot our new Lenovo E420 laptops. Still have MDT I can revert to for one offs but this will be difficult when having to do an entire lab.



  • Hi,

    thanks again… well i will figure that out and report back…
    Lets build a kernel K+E+R+N+E+L childsplay ;) hehe [I]*joking[/I]

    Greetz X23



  • You can have multiple kernels installed on your system, however you need to add the kernel location to the host. For example fog/kernel/kernel name would be what I would input under the host settings.

    If you don’t find a kernel that works with your machines, you’ll have to compile your own, which is out of my league. Perhaps someone with a bit more knowledge on building kernels can step in here.



  • Hi,

    thank you for your answer.
    Means i can place many kernels in the kernel directory for example bzImage_3.8.8
    Do you refernce the full path to kernel or just the filename?

    The Systems not working are pretty new, my mind tells me that older kernels cannot
    give any success?

    Lets say i cannot get it to work with any available kernel i need to cook one myself as last straw?!
    I’ll try to post some screenhots (errors) of the non working systems.

    I know that KS are Kitchensink kernels but what are PS Kernels?

    Greetz X23



  • There are multiple kernels available for download. I would suggest taking a look at the list of working devices (http://www.fogproject.org/wiki/index.php/WorkingDevices) many of which have notes on the models of which kernels work. If they aren’t working and are not listed, you’ll have to do some testing. In my district when working with kernel testing, I was sure to rename the kernel to identify which model I was testing it on as bzImage is the standard name and will overwrite your existing kernel unless you specify otherwise.

    If I recall, you can manually add a host by MAC and also set the kernel and arguments from the host settings page.

    Hope this helps.


Log in to reply
 

362
Online

38724
Users

10553
Topics

99875
Posts

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