How to remove a kernel version?
Erroneously I've downloaded and installed kernel 1.681 for my Fedora Core 3. Now all changes I brought to the previous version (1.667) are lost. Besides my chainloader, now, has as default boot this new version (instead of Win, as previously). How can I delete new version of this kernel? Simply removing the corrispondent kernel directory? And how can I reset chainloader to the previous default boot?
I hope you could understand what I tried to explain... My english is not so good... ;) Thanx Nik |
Grub ?????
With my system, if I upgrade the kernel I usually do it so it puts a new entry into the /boot/grub/grub.conf. Normally I have "chainloader +1" set so the default is the second OS listed (windows in my case). But after the new entry has been made, it puts it down one level so I'd have to change it to chainloader +2. Obviously, I don't bother, I just delete the older entry (or you could just comment it out). That way I can still boot into the old kernel version if I want too. I usually have it, so that I just have the new version and the most recent of the older versions, everything else gets deleted. Maybe that helps a little ?? regards John |
Seriously, 1.667? Why are you running 1.x kernels on FC3? Is there even filesystem support in there that you'd need for modern technology?
I'm guessing you are referring to something else, feel free to correct me. Cool |
Quote:
Nik |
Not necessarily since the latest version is 2.6.10 and anything after the 10 can be distrobution specific or a distro-specific patch :)
Sorry I can't help though, did you compile the new kernel yourself or did you use Fedora's package manager to install it? |
Quote:
By the way, this is my grub.conf: ### default=0 timeout=5w splashimage=(hd0,1)/boot/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.9-1.681_FC3) root (hd0,1) kernel /boot/vmlinuz-2.6.9-1.681_FC3 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.9-1.681_FC3.img title Fedora Core (2.6.9-1.667) root (hd0,1) kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.9-1.667.img title Other rootnoverify (hd0,0) chainloader +1 "grub.conf" 24L, 802C 24,2-9 Fon ### Other is WinXp... It seems all to be right. Where is the error? Thank you :) Nik |
Quote:
Quote:
Nik |
To see what kernels you have installed run (and my example):
Code:
$ rpm -qa | grep kernel To remove a kernel (say 667 from the example above): Code:
rpm -e kernel-smp-2.6.9-1.667 Code:
less /boot/grub/menu.lst |
if grub.conf if you change default=0 to default=2
You should have windows as default. |
All times are GMT -5. The time now is 03:12 AM. |