Scientific Linux

  Reply to this topicStart new topicStart Poll

> Number Of Kernels Left On System By Default
 Posted: Apr 14 2011, 12:10 PM
Quote Post

SLF Advocate

Group: Members
Posts: 472
Member No.: 32
Joined: 11-April 11

In yum.conf there is a line 'installonly_limit=3'
Does that refer to the (default) number of kernels left on the system ?

This post has been edited by redman: Apr 19 2011, 11:01 AM
 Posted: Apr 19 2011, 07:22 PM
Quote Post

SLF Junior

Group: Members
Posts: 45
Member No.: 22
Joined: 11-April 11

That looks like an improvement over CentOs. On 5.X at one time I had like 5 or 6. I manually deleted the excess and manually fixed menu.lst. I at one time had grub2 on Kubuntu 10.04 which will detect all vmlinuz and initrd on your machine, but backed up to grub, and put a note on the grub message reminding me where menu.lst is. When I get a new kernel, I use sudo or su (editor) and go to sda8 to fix the menu.lst.

Ditto for /etc/fstab when I add a distro to fix the UUID mess.

Oh, yes, once deleting the excess I deleted the kernel/initrd that Grub called out, so could not boot. I had to boot to another distro, and fix the menu.lst.

I believe with SL 6 LiveUSB, I can do fix such mistakes via LIveUSB.

I read on an SL6 page that the Live CD includes a number or rescue functions, including testdisk which I learned about when I stupidly loaded the boot loader on the desktop, to sda1, not sda.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll