Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

kernel compile query

  • 02-11-2006 1:29pm
    #1
    Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭


    Here's a query i got from a friend - does this seem correc?
    I am currently using SUSE 9.3 but want to put the kernel for SUSE 9.2 on the system to see if something works
    Not sure the exact method to use

    This is what I found so far

    Open YAST add packages gcc and ncurses
    Cp the new src directory to
    /usr/src/linux-2.6.8-24.10
    Make menuconfig
    Make clean
    Make bzImage

    cp arch/i386/boot/bzImage /boot/bzImage-2.6.8-24.10
    cp System.map /boot/System.map-2.6.8-24.10
    ln -s /boot/System.map-2.6.8-24.10 /boot/System.map
    Cp boot/grub/menu.lst boot/grub/menu.lst_orig
    Edit boot/grub/menu.lst to contain title Test Kernel (2.6.8-24.10)
    root (hd0,1)
    kernel /boot/bzImage-2.6.8-24.10 ro root=LABEL=/
    initrd /boot/initrd-2.6.8-24.10.img


Comments

  • Registered Users, Registered Users 2 Posts: 3,284 ✭✭✭dubhthach


    MiCr0 wrote:
    Make menuconfig
    Make clean
    Make bzImage

    should be:
    make clean
    make menuconfig
    make bzImage

    "make clean" clears the config file that you created with menuconfig so if you were to run it second ye use your custom kernel config.

    other option to do after make bzImage is to say "make install" it's been awhile since i've rolled my own kernel but if i recall this generally goes and installs kernel images etc in /boot and modifies the boot loader.


  • Registered Users, Registered Users 2 Posts: 2,747 ✭✭✭niallb


    I'd be more inclined just to copy the kernel over from a 9.2 box,
    and not get it involved with Yast. Yast will decide to make
    a b***ox of things for you within minutes if you interfere
    with something like the kernel.

    Just copy the kernel over:
    [b]On the 9.2 box[/b]
    tar czvf /suse9.2kernel.tgz /boot/*2.6.8-24.10 /lib/modules/2.6.8-24.10
    

    Then copy the file to the 9.3 system and
    [b]On the 9.3 box[/b]
    tar xzvf /suse9.2kernel.tgz -C /
    

    Edit the grub.conf or lilo.conf as per the original post,
    and give it a restart.

    If you don't have a 9.2 box, open up the kernel rpm using alien or similar
    and install the files manually in a similar way.

    Just 2¢.

    NiallB


Advertisement