FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-05-2008, 08:28 PM
Paul Scott
 
Default grub in my sid system broken

Hi,

On my sid system grub stops with a simple grub prompt and I have enter
the commands manually. I may have missed something with recent (last
few months) changes to grub.

The grub man pages I have give only the brief parameter explanations but
not enough information to make sense of this.

The following error may or may not be related since I had not problem
booting from this kernel which is what I am running right now

Errors were encountered while processing:
linux-image-2.6.26-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-2.6.26-1-686 (2.6.26-1) ...
Running depmod.
Running mkinitramfs-kpkg.
initrd.img(/boot/initrd.img-2.6.26-1-686
) points to /boot/initrd.img-2.6.26-1-686
(/boot/initrd.img-2.6.26-1-686) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.26-1-686.postinst line 569.
vmlinuz(/boot/vmlinuz-2.6.26-1-686
) points to /boot/vmlinuz-2.6.26-1-686
(/boot/vmlinuz-2.6.26-1-686) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.26-1-686.postinst line 569.
Running postinst hook script /sbin/update-grub.
User postinst hook script [/sbin/update-grub] failed to execute: No such
file or directory
dpkg: error processing linux-image-2.6.26-1-686 (--configure):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
linux-image-2.6.26-1-686

TIA for any help,

Paul Scott


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-07-2008, 01:41 PM
chris
 
Default grub in my sid system broken

On Tue, 05 Aug 2008 13:28:56 -0700, Paul Scott wrote:

> Hi,


<snip>
> Running
> postinst hook script /sbin/update-grub. User postinst hook script
> [/sbin/update-grub] failed to execute: No such file or directory

It looks as if there is no /sbin/update-grub on your system.
If so, you might want to reinstall grub.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-07-2008, 05:14 PM
Gilles Mocellin
 
Default grub in my sid system broken

Le Thursday 07 August 2008 15:41:25 chris, vous avez écrit*:
> On Tue, 05 Aug 2008 13:28:56 -0700, Paul Scott wrote:
> > Hi,
>
> <snip>
>
> > Running
> > postinst hook script /sbin/update-grub. User postinst hook script
> > [/sbin/update-grub] failed to execute: No such file or directory
>
> It looks as if there is no /sbin/update-grub on your system.
> If so, you might want to reinstall grub.

I remember that since a while there was messages saying to
change /sbin/update-grub to /usr/sbin/update-grub when upgrading
kernels...

Perhaps now, it's not anymore in compatible mode.

Search in /etc/initramfs-tools if you have a reference to /sbin/update-grub,
and change it to /usr/sbin/grub.
 
Old 08-07-2008, 05:24 PM
Andreas Janssen
 
Default grub in my sid system broken

Gilles Mocellin (<gilles.mocellin@free.fr>) wrote:
> Le Thursday 07 August 2008 15:41:25 chris, vous avez écrit*:
>> On Tue, 05 Aug 2008 13:28:56 -0700, Paul Scott wrote:
>>> Running
>>> postinst hook script /sbin/update-grub. User postinst hook script
>>> [/sbin/update-grub] failed to execute: No such file or directory
>>
>> It looks as if there is no /sbin/update-grub on your system.
>> If so, you might want to reinstall grub.
>
> I remember that since a while there was messages saying to
> change /sbin/update-grub to /usr/sbin/update-grub when upgrading
> kernels...
>
> Perhaps now, it's not anymore in compatible mode.
>
> Search in /etc/initramfs-tools if you have a reference to
> /sbin/update-grub, and change it to /usr/sbin/grub.

The messages that you remember recommended to edit /etc/kernel-img.conf
and to change "/sbin/update-grub" to "update-grub".

regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-08-2008, 05:30 AM
Paul Scott
 
Default grub in my sid system broken

chris wrote:
> On Tue, 05 Aug 2008 13:28:56 -0700, Paul Scott wrote:
>
>
>> Hi,
>>
>
>
> <snip>
>
>> Running
>> postinst hook script /sbin/update-grub. User postinst hook script
>> [/sbin/update-grub] failed to execute: No such file or directory
>>
>
> It looks as if there is no /sbin/update-grub on your system.
> If so, you might want to reinstall grub.
>

I did. If indeed grub-pc is now the same thing for x86.

Thanks,

Paul



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-09-2008, 01:51 AM
chris
 
Default grub in my sid system broken

On Thu, 07 Aug 2008 22:30:30 -0700, Paul Scott wrote:

> chris wrote:
>> On Tue, 05 Aug 2008 13:28:56 -0700, Paul Scott wrote:
>>
>>
>>> Hi,
>>>
>>>
>>
>> <snip>
>>
>>> Running
>>> postinst hook script /sbin/update-grub. User postinst hook script
>>> [/sbin/update-grub] failed to execute: No such file or directory
>>>
>>>
>> It looks as if there is no /sbin/update-grub on your system. If so, you
>> might want to reinstall grub.
>>
>>
> I did. If indeed grub-pc is now the same thing for x86.
>

cevnet:~# apt-cache search grub-pc
grub - GRand Unified Bootloader (Legacy version)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)

Apparently I am outdated, I never knew there was a version 2. Is it
better, faster and stronger?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-10-2008, 08:25 PM
Paul Scott
 
Default grub in my sid system broken

Andreas Janssen wrote:
> Gilles Mocellin (<gilles.mocellin@free.fr>) wrote:
>
>> Le Thursday 07 August 2008 15:41:25 chris, vous avez écrit :
>>>> (snip)
>>>>
>>> It looks as if there is no /sbin/update-grub on your system.
>>> If so, you might want to reinstall grub.
>>>
>> I remember that since a while there was messages saying to
>> change /sbin/update-grub to /usr/sbin/update-grub when upgrading
>> kernels...
>>
>> Perhaps now, it's not anymore in compatible mode.
>>
>> Search in /etc/initramfs-tools if you have a reference to
>> /sbin/update-grub, and change it to /usr/sbin/grub.
>>
>
> The messages that you remember recommended to edit /etc/kernel-img.conf
> and to change "/sbin/update-grub" to "update-grub".
>
Thanks! Now the newer kernel is fully installed and I am running it
now. Still stops at grub prompt on boot.

menu.lst has interesting set of instructions:
title Chainload into GRUB 2
root (hd0,8)
kernel /boot/grub/core.img

title <C4><C4><C4><C4><C4><C4> (snip)
root

title When you have verified GRUB 2 works, you can use this
command to
root

title complete the upgrade: upgrade-from-grub-legacy
root

title <C4><C4><C4><C4><C4><C4><C4><C4> (snip)
root

I'm trying to find out if bug #484074 relates.
<mailto:484074@bugs.debian.org>

Paul


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org