menendez Posted December 1, 2007 Report Share Posted December 1, 2007 Hello, I am running Mandriva 2008,0 with KDE. As a Linux newbie my tendency is to trust Mandriva Online and accept the list of package updates. This includes updates to the kernel itself. But the list of OS's in the GRUB Menu.lst file keeps growing. Now I am up to four versions in this list. They are: title linux kernel (hd1,0)/boot/vmlinuz-desktop586 BOOT_IMAGE=linux root=/dev/hdb1 resume=/dev/hdb5 splash=silent vga=788 title desktop586 2.6.22.9-1 kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=desktop586_2.6.22.9-1 root=/dev/hdb1 resume=/dev/hdb5 splash=silent title desktop586 2.6.22.9-2 kernel (hd1,0)/boot/vmlinuz-2.6.22.9-desktop586-2mdv BOOT_IMAGE=desktop586_2.6.22.9-2 root=/dev/hdb1 title desktop586 2.6.22.12-1 kernel (hd1,0)/boot/vmlinuz-2.6.22.12-desktop586-1mdv BOOT_IMAGE=desktop586_2.6.22.12-1 root=/dev/hdb1 I am not use to this every growing list of boot options so I have some basic questions. Am I doing the right thing accepting all these updates? Is this normal behavior of Mandriva? Whenever my boot list grows should I always select the highest version to boot? I suppose after every kernel update I will end up having to edit menu.lst to clean things up the way I like. Thanks, Jose Quote Link to comment Share on other sites More sharing options...
scoonma Posted December 1, 2007 Report Share Posted December 1, 2007 Hello Jose, you don't have to do this manual editing. It's more convenient by choosing Mandriva Control Center / Boot Options. New kernels do not pop up without reason. It's not bad to use them as soon as publicly available by Mandriva. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted December 1, 2007 Report Share Posted December 1, 2007 If the latest kernel is working properly on your system, you can use the 'Install and remove Software' tool to remove the old one for more disk space. This will also remove the grub entry. Quote Link to comment Share on other sites More sharing options...
Reiver_Fluffi Posted December 1, 2007 Report Share Posted December 1, 2007 Somebody might try suggesting to Mandriva to mimic the Installonly plugin that YUM uses on Fedora, it lets you decide how many versions of a kernel to keep installed at any one time. Quote Link to comment Share on other sites More sharing options...
menendez Posted December 2, 2007 Author Report Share Posted December 2, 2007 If the latest kernel is working properly on your system, you can use the 'Install and remove Software' tool to remove the old one for more disk space. This will also remove the grub entry. Thanks, this seems to be the best way to clean it up. Quote Link to comment Share on other sites More sharing options...
edwardp Posted December 8, 2007 Report Share Posted December 8, 2007 title linux kernel (hd1,0)/boot/vmlinuz-desktop586 BOOT_IMAGE=linux root=/dev/hdb1 resume=/dev/hdb5 splash=silent vga=788 title desktop586 2.6.22.9-1 kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=desktop586_2.6.22.9-1 root=/dev/hdb1 resume=/dev/hdb5 splash=silent title desktop586 2.6.22.9-2 kernel (hd1,0)/boot/vmlinuz-2.6.22.9-desktop586-2mdv BOOT_IMAGE=desktop586_2.6.22.9-2 root=/dev/hdb1 title desktop586 2.6.22.12-1 kernel (hd1,0)/boot/vmlinuz-2.6.22.12-desktop586-1mdv BOOT_IMAGE=desktop586_2.6.22.12-1 root=/dev/hdb1 Is the first item in this list (linux) pointing to the newly-installed kernel or the original?? When SUSE Linux updates a kernel, their process automatically edits and updates GRUB so that the list doesn't get so large like the above. Can't Mandriva do the same??? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 8, 2007 Report Share Posted December 8, 2007 Can't Mandriva do the same??? It does. The "linux" boot option is always linked either to the latest installed kernel (by default), or to your own choice when touching the mcc "boot" module. Quote Link to comment Share on other sites More sharing options...
edwardp Posted December 8, 2007 Report Share Posted December 8, 2007 (edited) It does.The "linux" boot option is always linked either to the latest installed kernel (by default), or to your own choice when touching the mcc "boot" module. I edited the menu.lst file, hopefully I didn't mess something up. Edited December 9, 2007 by edwardp Quote Link to comment Share on other sites More sharing options...
edwardp Posted December 9, 2007 Report Share Posted December 9, 2007 GRUB works after editing menu.lst. :D No problems now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.