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

Tim Richardson tim at tim-richardson.net
Sat Jul 26 01:01:37 UTC 2008


> 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


update-grub worked (again) when called from the shell.







> 






More information about the Pkg-grub-devel mailing list