[Novalug] apt-get upgrade annoyance
Eric Dantan Rzewnicki
eric at zhevny.com
Thu Jan 29 09:22:08 EST 2009
On Mon, Jan 26, 2009 at 05:09:24PM -0500, Megan Larko wrote:
> Matt Bidwell wrote:
> > Anyone else noticing that during regular running of "apt-get upgrade"
> > that lines are disappearing out of /boot/grub/menu.lst?
> > Specifically it's dropping the initrd line from my custom compiled
> > kernel. Not a show stopper because I can add it from the grub
> > prompt when booting, but this happened on multiple debian
> > machines.
> My last kUbunutu upgrade I had to copy /etc/issue to /etc/orig.issue (I use a custom "legalese"
> banner) and I have a copy of my grub.conf. I did at some point set a flag, of course now I have
> forgotten what it is, but I am prompted about updating or upgrading /boot/grub/menu.lst. I always
> indicate no or fix later. The update and upgrade will proceed successfully and I then make any
> kernel version changes to the menu.lst file by hand.
Probably one can put custom, non-deb package managed kernels outside
these lines as the comments direct:
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
<snip lots of automagic debian stuff>
### END DEBIAN AUTOMAGIC KERNELS LIST
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Novalug