jbfstplk
asked on
Fedora Core 4 versions
Some how I have upgraded my FC 4 to have FC 2.6.15-1.1831, FC4, FC 2.14.1.1656 and FC 11.1.1369 (as well as Win XP in grub.config) and I don't know why all the Linux stuff is in there. I can edit the grub.config file but why does each update simply add another OS and not delete the older one? I'm sorry I don't have any more points for you guys.
Joe
Joe
As far as I know, only the last 3 versions are kept, the older ones will be removed from the grub.conf file.
ASKER
slow1000, thanks for the suggestion, except, even logged in as root, the commands do not run in terminal. Is there something I'm missing?
Joe
Joe
Not sure, but my second command to delete kernels, should read
rpm -e kernel_package_names
Is rpm working at all? You could just run "rpm" to see if it complains about options. If you can't get rpm to run at all, then that's odd.
rpm -e kernel_package_names
Is rpm working at all? You could just run "rpm" to see if it complains about options. If you can't get rpm to run at all, then that's odd.
ASKER
Yes, rpm runs and has a lot of complicated info. Obviously -e means to erase something, but I really don't know how to specify the oldest kernel. I tried to erase FC 2.6.11-1.1369_FC4 but got an error message, "error: package kernel_FC is not installed" and "error: package 2.6.11-1.1369_FC4 is not installed"
What does this mean?
What does this mean?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks much!
It's odd however that the running of the command took 20 to 30 seconds, and had no written response, but a reboot showed that the 2.6.11-1 version was no longer available.
It makes sense that a space follows rpm and the -e for erase and then the file name without spaces.
Keep up the good work!
It's odd however that the running of the command took 20 to 30 seconds, and had no written response, but a reboot showed that the 2.6.11-1 version was no longer available.
It makes sense that a space follows rpm and the -e for erase and then the file name without spaces.
Keep up the good work!
Glad to help.
Sam
Sam
You can use
rpm -qa|grep kernel
to list installed kernels, then use
kernel -e kernel-package-names
to delete those you no longer need.