Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25
I have decided to install the latest version of the kernel. I currently have 4.6.10, so I think it's about time I upgrade. What I was wondering is, how hard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361

    Installing a new kernel


    I have decided to install the latest version of the kernel. I currently have 4.6.10, so I think it's about time I upgrade. What I was wondering is, how hard is it, and what settings will be lost? Will my ndiswrapper settings be lost? Thanks.

  2. #2
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    Anyone? I really need to upgrade, it's just a bit intimidating to me and I don't want to just jump in without enough info..

  3. #3
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    I think your kernel is already updated, being the 4.xx series and all jk..

    However, since you want to upgrade, I suggest you frist read through this tutorial to get an idea of what to do.

    IMO, if you are building a kernel from scratch, it would be better to compile drivers for your peripherials directly into the kernel instead of a module and then modprobing it later. I don't think your ndiswrapper settings would be lost, but since I usually just stick to the kernel which came with my distro I can't say for sure.

    hope this helps.

    edit:: fixed broken link, thanks ozar.
    Life is complex, it has a real part and an imaginary part.

  4. $spacer_open
    $spacer_close
  5. #4
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    I followed those instructions to the letter, when I try to load it from GRUB however, it does nothing. Everything seems to be in place.. What'd I do wrong??

  6. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hi, AlexK ... just wanted to let you know that your link to the kernel tutorial is broken in case you want to edit it.

    Hello, kbk ... that's the same guide that I followed on my first ever kernel build, and it worked perfectly. Did you edit your /boot/grub/menu.lst (or grub.conf) kernel line before rebooting to make sure it has the proper entries in it? It's been a while since I've run Mepis, so I don't recall exactly how they setup the kernel lines.
    oz

  7. #6
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    Quote Originally Posted by kbk
    I currently have 4.6.10, so I think it's about time I upgrade.
    thats not a kernel version. unless it is 2.4.6.10 (???).

    you may be speaking mepis talk in which i have no idea what you are on about.

    compiling your own kernel (from scratch) is a pain until you get used to it.
    i wouldnt use a generic kernel for my 2.6.15 kernel ever... not with the 30sec boot time...

    /weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  8. #7
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    I mean 2.6.10, hit the wrong button by accident. I edited the /boot/grub/menu.lst exactly the way it said to on the guide, I also put in the additional commands that come after the other kernels.. So I can't see why it isn't working...

  9. #8
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Can you post your menu.lst as well as the output from
    Code:
    ls -al /boot
    and
    Code:
    df -h
    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  10. #9
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    Code:
    kbk@1[~]$ ls -al /boot
    total 7596
    drwxr-xr-x   3 root root    4096 Jan 30 19:52 .
    drwxr-xr-x  19 root root    4096 Jan 17 20:09 ..
    -rw-r--r--   1 root root  484297 Feb 27  2005 System.map-2.4.29
    -rw-r--r--   1 root root  722693 Feb 23  2005 System.map-2.6.10
    -rw-r--r--   1 root root  825702 Jan 30 19:23 System.map-2.6.15.1
    -rw-r--r--   1 root root   36282 Feb 27  2005 config-2.4.29
    -rw-r--r--   1 root root   50275 Jan 30 18:09 config-2.6.10
    drwxr-xr-x   2 root root    4096 Jan 14 01:45 grub
    -rw-r--r--   1 root root   93043 Apr 21  2005 initrd.splash
    -rw-r--r--   1 root root   94356 Feb  2  2005 memtest86.bin
    lrwxrwxrwx   1 root root      25 Jan 30 19:52 system.map ->/boot/system.map-2.6.15.1
    -rw-r--r--   1 root root 1440862 Feb 27  2005 vmlinuz-2.4.29
    -rw-r--r--   1 root root 1912848 Feb 23  2005 vmlinuz-2.6.10
    -rw-r--r--   1 root root 2045092 Jan 30 19:22 vmlinuz-2.6.15.1
    This is menu.lst:
    Code:
    timeout 15
    color cyan/blue white/blue
    foreground ffffff
    background 0639a1
    gfxmenu /boot/grub/message
    
    title MEPIS at hda1, kernel 2.6.10
    kernel (hd0,0)/boot/vmlinuz-2.6.10 root=/dev/hda1 nomce quiet splash=verbose vga=791 
    initrd (hd0,0)/boot/initrd.splash 
    
    title MEPIS at hda1, kernel 2.4.29
    kernel (hd0,0)/boot/vmlinuz-2.4.29 root=/dev/hda1 nomce quiet splash=verbose vga=791 hdc=ide-scsi hdd=ide-scsi 
    initrd (hd0,0)/boot/initrd.splash 
    
    title MEMTEST
    kernel /boot/memtest86.bin
    
    title kernel 2.6.15.1 
    kernel (hd0,0) /boot/vmlinuz-2.6.15.1 root=/dev/hda1 nomce quiet splash=verbose vga=791
    
    intrd (hd0,0) /boot/initrd.splash
    Code:
    kbk@1[~]$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda1             9.7G  3.8G  5.4G  42% /
    tmpfs                 251M     0  251M   0% /dev/shm
    /dev/hda3              63G  4.1G   56G   7% /home

  11. #10
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    I see the problem you have a space between the (hd0,0) and /boot/vmlinuz-2.6.15.1 and the (hd0,0) and /boot/initrd.splash. The stanza for the new kernel should read:
    title kernel 2.6.15.1
    kernel (hd0,0)/boot/vmlinuz-2.6.15.1 root=/dev/hda1 nomce quiet splash=verbose vga=791

    intrd (hd0,0)/boot/initrd.splash
    If you still have problems report back.

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

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
  •