Package: grub<br>Version: 0.97-27<br>Severity: important<br><br>*** Please type your report below this line ***<br><br>update-grub, while parsing /etc/fstab as I guess, does not take into account <br>value of 3rd column that may be &quot;ignore&quot; and in such case the entry should be <br>
ignored by grub like commented out are. In my case:<br><br>$ cat /etc/fstab<br># /etc/fstab: static file system information.<br>#<br># &lt;file system&gt; &lt;mount point&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;type&gt;&nbsp; &lt;options&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dump&gt;&nbsp; &lt;pass&gt;<br>
proc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /proc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proc&nbsp;&nbsp;&nbsp; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>/dev/sda6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ext3&nbsp;&nbsp;&nbsp; defaults,errors=remount-ro&nbsp; 0&nbsp; 1<br>/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ignore&nbsp; defaults,ro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>
/dev/sda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swap&nbsp;&nbsp;&nbsp; sw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>etc...<br><br>This is former state of my fstab. <br>On each linux image auto-update (really there were just 2.6.18-4 -5 &amp; -6 <br>numbers, but don&#39;t-know-why kernel was updated by APT at least twice more <br>
times during last half of year, and each time update-grub broke system <br>booting) update-grub rewrote menu.lst and replaced /boot/vmlinuz* with <br>/vmlinuz* and same for initrd-*s, so as, I guess, grub had found entry for <br>
/boot in fstab and thank that /boot directory is on separate partition.<br>When I added comment sharp # before this &quot;ignore&quot; entry, bug has gone.<br><br>I think this bug is close to that one: <br>&quot;Debian Bug report logs - #435708 update-grub fails to recognize mount<br>
points in /etc/fstab if the entry contains a trailing slash&quot;<br><br>This bug also makes grub to generate wrong # groot &quot;automagical&quot; <br>property on creating new menu.lst (if there was no any) - update-grub<br>
produced # groot=(hd0,0) in my case instead of (0,5).<br><br><br>Other menu.lst parsing/updating errors are:<br>update-grub uncomment some &quot;automagical&quot; options, like <br>## altoptions=(single-user mode) single <br>
becomes<br># altoptions=(single-user mode) single<br>and &quot;single&quot; copies of auto-kernel-list entries are generated.<br><br>## memtest86=true<br>also becomes uncommented<br># memtest86=true<br>but nothing more happens, as I saw.<br>
<br>In menu entries:<br><br>title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debian GNU/Linux, kernel 2.6.18-6-486<br>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (hd0,5)<br>kernel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /boot/vmlinuz-2.6.18-6-486 root=/dev/sda6 ro<br>initrd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /boot/initrd.img-2.6.18-6-486<br>
#savedefault<br><br>savedefault becomes uncommented.<br><br>So as grub is about to be replaced with grub2 (?), I think <br>these &quot;bits&quot; are to be ignored, but bugs with /etc/fstab <br>are serious, as do system unexpectedly unbootable.<br>
<br><br>-- System Information:<br>Debian Release: 4.0<br>&nbsp; APT prefers stable<br>&nbsp; APT policy: (500, &#39;stable&#39;)<br>Architecture: i386 (i686)<br>Shell:&nbsp; /bin/sh linked to /bin/bash<br>Kernel: Linux 2.6.18-6-486<br>Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)<br>
<br>Versions of packages grub depends on:<br>ii&nbsp; libc6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.3.6.ds1-13etch4 GNU C Library: Shared libraries<br>ii&nbsp; libncurses5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.5-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shared libraries for terminal hand<br><br>grub recommends no packages.<br>
<br>-- no debconf information<br><br>