Results 1 to 10 of 25
Thread: Installing a new kernel
Enjoy an ad free experience by logging in. Not a member yet? Register.
Installing a new kernel
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..
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.
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??
- Join Date
- May 2004
- arch linux
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
01-31-2006 #6Originally Posted by kbk
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--
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...
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-184.108.40.206 -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-220.127.116.11 -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-18.104.22.168
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 22.214.171.124 kernel (hd0,0) /boot/vmlinuz-126.96.36.199 root=/dev/hda1 nomce quiet splash=verbose vga=791 intrd (hd0,0) /boot/initrd.splashCode:
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
I see the problem you have a space between the (hd0,0) and /boot/vmlinuz-188.8.131.52 and the (hd0,0) and /boot/initrd.splash. The stanza for the new kernel should read:title kernel 184.108.40.206
kernel (hd0,0)/boot/vmlinuz-220.127.116.11 root=/dev/hda1 nomce quiet splash=verbose vga=791