Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
How do I update my kernel?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590

    update kernel


    How do I update my kernel?

  2. #2
    Linux Engineer d38dm8nw81k1ng's Avatar
    Join Date
    Mar 2005
    Location
    Newcastle
    Posts
    793
    Code:
    USE="-doc symlink" emerge gentoo-sources
    then copy the .config file from the old kernel to the new one. then you just follow the instructions you did for the original kernel install. you can also use the menuconfig to add new options if you want.
    Here's why Linux is easier than Windows:
    Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
    Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?

  3. #3
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    Quote Originally Posted by d38dm8nw81k1ng
    then copy the .config file from the old kernel to the new one. then you just follow the instructions you did for the original kernel install. you can also use the menuconfig to add new options if you want.
    Which .config file and how to copy it?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    So let's say that I have linux-2.6.14-gentoo installed, and I want to upgrade to linux-2.6.15-gentoo:

    Code:
    echo "sys-kernel/gentoo-sources -doc symlink" >> /etc/portage/package.use
    emerge gentoo-sources
    cd /usr/src
    cp linux-2.6.14-gentoo/.config linux/
    cd linux/
    make menuconfig
    make install
    There is a file ".config" that stores all of your kernel configuration info, to be used in the actual kernel compilation. By copying this over, all of your old settings will already be set.

  6. #5
    Linux Engineer d38dm8nw81k1ng's Avatar
    Join Date
    Mar 2005
    Location
    Newcastle
    Posts
    793
    the .config file is located in: /usr/src/linux-2.6.14-gentoo/.config (to continue Cabhan's example). you copy this file to /usr/src/linux-2.6.15-gentoo/.config

    like so:

    Code:
    cp /usr/src/linux-2.6.14-gentoo/.config /usr/src/linux-2.6.15-gentoo/.config
    hopefully that will clarify things.
    Here's why Linux is easier than Windows:
    Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
    Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?

  7. #6
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    thank you ill post back if i have any problems

  8. #7
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    the kernel wont boot right

  9. #8
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by crashandburn0420
    the kernel wont boot right
    Any errors in perticular?
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  10. #9
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    Something about a missing file...I'll post the error later tonight

  11. #10
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    Here is the error that I get
    booting 'Gentoo Linux 2.6.15-gentoo-r1' root (hd0,0) Filesystemtype is ext2fs, partion type 0x83
    Kernel /kernel-genkernel-x86-2.6.15-gentoo-1 root-/dev/hda1 init=/linuxrc ramdisk=8190 real_root-/dev/hda3 udev acpi=off
    Error 5:File not found please press any key

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •