From: Stephen Powell on
On Sun, 27 Jun 2010 10:51:49 -0400 (EDT), Mizanur Khondoker wrote:
> Stephen Powell wrote:
>>
>> OK, I see what's wrong.  You've got your symlinks messed up.
>> I'm not sure how things got into that state, but they're all
>> messed up.  You could fix your symlinks, but since grub doesn't
>> need them, here's what I would do if it were me.  Do all this as root.
>>
>>   rm /vmlinuz
>>   rm /initrd.img
>>   rm /vmlinuz.old
>>   rm /initrd.img.old
>>
>> Then edit the file /etc/kernel-img.conf and change
>>
>>   do_symlinks = yes
>>
>> to
>>
>>  do_symlinks = no
>>
>> File the change.  Then issue
>>
>>   dpkg-reconfigure linux-image-2.6.26-2-686
>>
>> That should put you back in business.
>>
>
> Deleting the symlinks solved the problem.
>
> dpkg-reconfigure did not work, but aptitude safe-upgrade
> reconfigured the kernel-image.
>
> Thanks very much for your help.
>
> -----
>
> debian:/home/mizanur# aptitude safe-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> The following partially installed packages will be configured:
> linux-image-2.6.26-2-686
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
> Running depmod.
> Running mkinitramfs-kpkg.
> Running postinst hook script update-grub.
> Searching for GRUB installation directory ... found: /boot/grub
> Searching for default file ... found: /boot/grub/default
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... found: (hd0,3)/boot/grub/grub_face1.xpm.gz
>
> Found kernel: /boot/vmlinuz-2.6.26-2-686
> Updating /boot/grub/menu.lst ... done
>
> -----

I see why dpkg-reconfigure didn't work. The package was
classified as "partially installed". The package has to be
installed successfully before it can be re-configured.

Anyway, you're welcome. I'm glad you got it working.

--
.''`. Stephen Powell
: :' :
`. `'`
`-


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/760923506.322297.1277660592795.JavaMail.root(a)md01.wow.synacor.com