[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-compiling noob



On Sun, Jul 30, 2006 at 06:46:53 -0400, Chuckk Hubbard wrote:
> Thank you so much.  But...
> 
> On 7/30/06, Arthur Marsh <arthur.marsh@internode.on.net> wrote:
> >At the end, assuming that you had all the required disk space and
> >packages, you have a package created:
> >
> >/usr/src/linux-image-2.6.17_2.6.17-10.00.Custom_i386.deb
> >
> >This can be installed using:
> >
> >dpkg -i /usr/src/linux-image-2.6.17_2.6.17-10.00.Custom_i386.deb
> >
> >This put the entry for the new kernel in grub so it could be selected at
> >boot time.
> 
> Almost:
> 
> Running postrm hook /sbin/update-grub .
> Searching for GRUB installation directory ... found: /boot/grub
> /sbin/update-grub: line 923: unexpected EOF while looking for matching ``'
> User hook script /sbin/update-grub failed at
> /var/lib/dpkg/info/linux-image-2.6.17.postrm line 285.
> Setting up linux-image-2.6.17 (2.6.17-10.00.Custom) ...
> Running depmod.
> Finding valid ramdisk creators.
> Using mkinitrd.yaird to build the ramdisk.
> Not updating initrd symbolic links since we are being updated/reinstalled
> (2.6.17-10.00.Custom was configured last, according to dpkg)
> Not updating image symbolic links since we are being updated/reinstalled
> (2.6.17-10.00.Custom was configured last, according to dpkg)
> Running postinst hook /sbin/update-grub.
> Searching for GRUB installation directory ... found: /boot/grub
> /sbin/update-grub: line 923: unexpected EOF while looking for matching ``'
> User hook script /sbin/update-grub failed at
> /var/lib/dpkg/info/linux-image-2.6.17.postinst line 1176.

What is going on around line 923 of /sbin/update-grub? Post the output
of the following command:

awk 'NR>=910&&NR<=930{print NR" "$_}' /sbin/update-grub

Also, which version of grub is this and does it come from Debian or from 
Agnula? Post the output of

apt-cache policy grub

-- 
Regards,
          Florian



Reply to: