Comment 20 for bug 21175

Steve Langasek (vorlon) wrote :

Hi Alexandre,

When you update your kernels, the part that runs is update-grub, which has no knowledge of Windows whatsoever. Instead, this is a script that manages the part of your /boot/grub/menu.lst file between the "### BEGIN AUTOMAGIC KERNELS LIST" and "### END DEBIAN AUTOMAGIC KERNELS LIST" markers. If you add a Windows boot entry between these markers, you're absolutely right that it will disappear on a kernel upgrade, and that this has nothing to do with Windows partitions - that's bug #21412 in grub, which has been fixed for Ubuntu 8.04.

Your symptom does not match what has been originally reported in this bug, however, so I have not presumed that this is a duplicate of bug #21412 - it appears to be a real problem with grub loading Windows at boot time, unrelated to problems with menu.lst being overwritten.