Yast overwrites menu.lst

Yast completely overwrites my very customized /boot/grub/menu.lst. I wrote a Perl script to restore the customizations from the previous version (retained in CVS) but this is more than a little annoying. At least Ubuntu asks. How do I stop this idiocy when upgrading the kernel.

Maybe consider this
Now Using Kernel: 2.6.31.12-0.1 - openSUSE Forums

Or configure it in /etc/sysconfig/bootloader

In addition to the above, I say, “Back up your menu.lst regularly.”

Don’t for get your fstab either! In fact, I am sure we could come up with a nice little list of config files that should be backed up daily with a script that runs in crontab.

Some additional information:

The comments relate to an 11.2 work station, I run a customized kernel on my LAN server (the machine generating this noise).

Yast (and I assume zypper) also deletes all files associated with the previous kernel. I prefer to keep one run level 3 boot in the menu for the previous kernel. To fix this, I wrote a Perl script to archive all the current kernel files (modules, headers, etc.).

Yast removes my RL 3 boot for the current kernel and does not replicate it.

Hey Bill. Do a search on here for Multiversion. It keeps the previous kernel and grub entry and just adds the new kernel to the top of grub. Then if something fails, you can just select the previous kernel in the boot menu and you are back up and running till you get it ironed out.

Sorry. I just noticed that caf4926 gave a link to the post I was mentioning.

billmoss wrote:
> Yast removes my RL 3 boot for the current kernel and does not replicate

maybe yast is not for you…some folks like something called smart
(which i’ve never used)…and, there are plenty of other package
managers…and, even distros…

or, the code to YaST is open so you hack out what you don’t like…


palladium

To all, thank you for the help, much appreciated:

Checked /etc/sysconfig/bootloader file and did not see anything relevant. Will check again.

Multiversion seems to be what I need.

I run multiple distros to allow me to be familiar with them so I can help others. Currently, this is OpenSUSE 11.2 (KDE and Gnome) and Ubuntu (Gnome). I do most of my system administration from the command line and have custom Perl and Bash scripts to archive config and other important files to CVS; all of these are placed in /etc/cron.TIME. I simply become frustrated with Microsoft like predicates that seem to assume the lowest common demonimator with respect to users.I did search the forums and Google prior to posting and found nothing. Guess my search patterns were poor.