<div class="gmail_quote">El 18 de enero de 2010 20:02, Guido Ignacio <span dir="ltr">&lt;<a href="mailto:guidoignacio@gmail.com">guidoignacio@gmail.com</a>&gt;</span> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Esto de la nueva versión de Grub me complica la vida ja!<div><br></div><div>Voy con mi problema, tuve una actualización entre ellas el kernel (2.6.31-17):</div>
<div><br></div><div><div>$ dpkg --get-selections | grep linux-image</div><div>linux-image-2.6.31-16-generic<span style="white-space:pre">                        </span>install</div><div>linux-image-2.6.31-17-generic<span style="white-space:pre">                        </span>install</div>

<div>linux-image-generic<span style="white-space:pre">                                </span>install</div><div><br></div><div><br></div><div>Ahora bien, cuando inicia el grub no me muestra el nuevo kernel (2.6.31-17).</div>
<div>Les muestro la parte del menu.lst:</div><div><br></div><div><div>133 title           Ubuntu 9.10, kernel 2.6.31-17-generic</div><div>134 uuid            f1662bba-976e-40d8-acb2-2de433a9a688</div><div>135 kernel          /boot/vmlinuz-2.6.31-17-generic root=UUID=f1662bba-976e-40d8-acb2-2de433a9a688 ro quiet splash</div>

<div>136 initrd          /boot/initrd.img-2.6.31-17-generic</div><div>137 </div><div>138 title           Ubuntu 9.10, kernel 2.6.31-17-generic (recovery mode)</div><div>139 uuid            f1662bba-976e-40d8-acb2-2de433a9a688</div>

<div>140 kernel          /boot/vmlinuz-2.6.31-17-generic root=UUID=f1662bba-976e-40d8-acb2-2de433a9a688 ro  single</div><div>141 initrd          /boot/initrd.img-2.6.31-17-generic</div><div>142 </div><div>143 title           Ubuntu 9.10, kernel 2.6.31-16-generic</div>

<div>144 uuid            f1662bba-976e-40d8-acb2-2de433a9a688</div><div>145 kernel          /boot/vmlinuz-2.6.31-16-generic root=UUID=f1662bba-976e-40d8-acb2-2de433a9a688 ro quiet splash</div><div>146 initrd          /boot/initrd.img-2.6.31-16-generic</div>

<div>147 </div><div>148 title           Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)</div><div>149 uuid            f1662bba-976e-40d8-acb2-2de433a9a688</div><div>150 kernel          /boot/vmlinuz-2.6.31-16-generic root=UUID=f1662bba-976e-40d8-acb2-2de433a9a688 ro  single</div>

<div>151 initrd          /boot/initrd.img-2.6.31-16-generic</div><div>152 </div><div>153 title           Chainload into GRUB 2</div><div>154 root            f1662bba-976e-40d8-acb2-2de433a9a688</div><div>155 kernel          /boot/grub/core.img</div>

<div>156 </div><div>157 title           Ubuntu 9.10, memtest86+</div><div>158 uuid            f1662bba-976e-40d8-acb2-2de433a9a688</div><div>159 kernel          /boot/memtest86+.bin</div><div><br></div><div><br></div><div>

Intenté hacer un update-grub:</div><div><br></div><div><div>$ sudo update-grub </div><div>Searching for GRUB installation directory ... found: /boot/grub</div><div>Searching for default file ... found: /boot/grub/default</div>

<div>Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst</div><div>Searching for splash image ... none found, skipping ...</div><div>Found kernel: /boot/vmlinuz-2.6.31-17-generic</div><div>Found kernel: /boot/vmlinuz-2.6.31-16-generic</div>

<div>Found GRUB 2: /boot/grub/core.img</div><div>Found kernel: /boot/memtest86+.bin</div><div>Updating /boot/grub/menu.lst ... done</div><div><br></div></div></div><div>Voy al menu.lst y está igual. Booteo y todo igual, el 2.6.31-17 brilla por su ausencia, alguna idea?</div>

<div><br></div><div>Gracias!</div><div><br></div><div>Guido</div><div><br></div><div><br></div><br>---<br>Este mensaje no contiene virus, porque ha sido creado con GNU/Linux, utilizando Software Libre y auditable.<br><br>

This message doesn&#39;t contain viruses, because it has been created with GNU/Linux, using auditable Free Software.</div>
</blockquote></div><br><div><br></div><div>Corrijo, este es el <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">/boot/grub/grub.cfg (el menu.lst no corre más):</span><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><div>
#</div><div># DO NOT EDIT THIS FILE</div><div>#</div><div># It is automatically generated by /usr/sbin/grub-mkconfig using templates</div><div># from /etc/grub.d and settings from /etc/default/grub</div><div>#</div><div><br>
</div><div>### BEGIN /etc/grub.d/00_header ###</div><div>if [ -s /boot/grub/grubenv ]; then</div><div>  have_grubenv=true</div><div>  load_env</div><div>fi</div><div>set default=&quot;0&quot;</div><div>if [ ${prev_saved_entry} ]; then</div>
<div>  saved_entry=${prev_saved_entry}</div><div>  save_env saved_entry</div><div>  prev_saved_entry=</div><div>  save_env prev_saved_entry</div><div>fi</div><div>insmod ext2</div><div>set root=(hd0,2)</div><div>search --no-floppy --fs-uuid --set f1662bba-976e-40d8-acb2-2de433a9a688</div>
<div>if loadfont /usr/share/grub/unicode.pf2 ; then</div><div>  set gfxmode=640x480</div><div>  insmod gfxterm</div><div>  insmod vbe</div><div>  if terminal_output gfxterm ; then true ; else</div><div>    # For backward compatibility with versions of terminal.mod that don&#39;t</div>
<div>    # understand terminal_output</div><div>    terminal gfxterm</div><div>  fi</div><div>fi</div><div>if [ ${recordfail} = 1 ]; then</div><div>  set timeout=-1</div><div>else</div><div>  set timeout=2</div><div>fi</div>
<div>### END /etc/grub.d/00_header ###</div><div><br></div><div>### BEGIN /etc/grub.d/05_debian_theme ###</div><div>set menu_color_normal=white/black</div><div>set menu_color_highlight=black/white</div><div>### END /etc/grub.d/05_debian_theme ###</div>
<div><br></div><div>### BEGIN /etc/grub.d/10_linux ###</div><div>menuentry &quot;Ubuntu, Linux 2.6.31-16-generic&quot; {</div><div>        recordfail=1</div><div>        if [ -n ${have_grubenv} ]; then save_env recordfail; fi</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>set quiet=1</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>insmod ext2</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>set root=(hd0,2)</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>search --no-floppy --fs-uuid --set f1662bba-976e-40d8-acb2-2de433a9a688</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>linux<span class="Apple-tab-span" style="white-space: pre; ">        </span>/boot/vmlinuz-2.6.31-16-generic root=UUID=f1662bba-976e-40d8-acb2-2de433a9a688 ro   quiet splash</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>initrd<span class="Apple-tab-span" style="white-space: pre; ">        </span>/boot/initrd.img-2.6.31-16-generic</div><div>}</div><div>menuentry &quot;Ubuntu, Linux 2.6.31-16-generic (recovery mode)&quot; {</div>
<div>        recordfail=1</div><div>        if [ -n ${have_grubenv} ]; then save_env recordfail; fi</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>insmod ext2</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>set root=(hd0,2)</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>search --no-floppy --fs-uuid --set f1662bba-976e-40d8-acb2-2de433a9a688</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>linux<span class="Apple-tab-span" style="white-space: pre; ">        </span>/boot/vmlinuz-2.6.31-16-generic root=UUID=f1662bba-976e-40d8-acb2-2de433a9a688 ro single </div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>initrd<span class="Apple-tab-span" style="white-space: pre; ">        </span>/boot/initrd.img-2.6.31-16-generic</div><div>}</div><div>### END /etc/grub.d/10_linux ###</div>
<div><br></div><div>### BEGIN /etc/grub.d/20_memtest86+ ###</div><div>menuentry &quot;Memory test (memtest86+)&quot; {</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>linux16<span class="Apple-tab-span" style="white-space: pre; ">        </span>/boot/memtest86+.bin</div>
<div>}</div><div>menuentry &quot;Memory test (memtest86+, serial console 115200)&quot; {</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>linux16<span class="Apple-tab-span" style="white-space: pre; ">        </span>/boot/memtest86+.bin console=ttyS0,115200n8</div>
<div>}</div><div>### END /etc/grub.d/20_memtest86+ ###</div><div><br></div><div>### BEGIN /etc/grub.d/30_os-prober ###</div><div>menuentry &quot;Microsoft Windows XP Professional (on /dev/sda1)&quot; {</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>insmod ntfs</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>set root=(hd0,1)</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>search --no-floppy --fs-uuid --set b8c081d6c0819b70</div><div>
<span class="Apple-tab-span" style="white-space: pre; ">        </span>drivemap -s (hd0) ${root}</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>chainloader +1</div><div>}</div><div>### END /etc/grub.d/30_os-prober ###</div>
<div><br></div><div>### BEGIN /etc/grub.d/40_custom ###</div><div># This file provides an easy way to add custom menu entries.  Simply type the</div><div># menu entries you want to add after this comment.  Be careful not to change</div>
<div># the &#39;exec tail&#39; line above.</div><div>### END /etc/grub.d/40_custom ###</div></span></font><br>---<br>Este mensaje no contiene virus, porque ha sido creado con GNU/Linux, utilizando Software Libre y auditable.<br>
<br>This message doesn&#39;t contain viruses, because it has been created with GNU/Linux, using auditable Free Software.</div></div>