Bug#492213: linux-image-2.6.25-2-686: reinstall of kernel stalls when recreating missing grub/menu.lst

Robert Millan rmh at aybabtu.com
Sat Jul 26 10:25:19 UTC 2008


severity 492213 grave
thanks

On Sat, Jul 26, 2008 at 11:01:37AM +1000, Tim Richardson wrote:
> 
> > What do you see when running:
> > 
> >   bash -x update-grub -y
> > 
> >   ?
> > 
> > Please paste the last 10 lines or so.
> 
> Firstly, after the initial encounter of the problem, I run update-grub
> as root, and the problem was solved.
> 
> To answer your question I reproduced the problem by
> a) removing menu.lst
> b) reinstalling the current lenny linux-image from Synaptic 
> 
> Problem occurs again. Installation stalls, and Synaptic must be killed
> because ctrl-c just gets you in a loop of prompts about recreating
> menu.lst
> 
> I kill synaptic, and run
> 
> bash -x update-grub -y
> 
> + memtest86names='memtest86 memtest86+'
> + test '!' xtrue = xfalse
> + for name in '$memtest86names'
> + test -f /boot/memtest86.bin
> + for name in '$memtest86names'
> + test -f /boot/memtest86+.bin
> + echo '###' END DEBIAN AUTOMAGIC KERNELS LIST
> + echo -n 'Updating /boot/grub/menu.lst ... '
> Updating /boot/grub/menu.lst ... + grep -q '^### BEGIN AUTOMAGIC KERNELS
> LIST' /boot/grub/menu.lst
> + cat /tmp/fileSkSJrP
> + rm -f /tmp/fileSkSJrP
> + '[' '' = true ']'
> + test -z yes
> + echo done
> done
> + echo

I need the '-x' log of the script failing.  If you can't reproduce the problem
by invoking it directly, try setting its first line to '#!/bin/bash -x' and
then using your package manager to reproduce it.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list