cac...@quantum-sci.com wrote (ao):
> On Friday 6 May, 2011 05:20:28 Sander wrote:
> > Can you post the error?

> Do you want to continue [Y/n]? 
> Setting up linux-image-2.6.38-2-amd64 (2.6.38-3) ...

> /usr/sbin/grub-probe: error: cannot stat `/dev/root'.
> run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
> Failed to process /etc/kernel/postinst.d at 
> /var/lib/dpkg/info/linux-image-2.6.38-2-amd64.postinst line 801, <STDIN> line 
> 7.
> dpkg: error processing linux-image-2.6.38-2-amd64 (--configure):
>  subprocess installed post-installation script returned error exit status 9
> configured to not write apport reports
>                                       Setting up grub-pc (1.99~rc1-13) ...
> grub-probe: error: cannot stat `/dev/root'.
> Installation finished. No error reported.
> /usr/sbin/grub-probe: error: cannot stat `/dev/root'.

Can you try:

dpkg -i /var/cache/apt/archives/grub-pc_1.99~rc1-13_amd64.deb
apt-get dist-upgrade

If that (second step) doesn't work:

echo "true" > /var/lib/dpkg/info/grub-installer.postinst
apt-get dist-upgrade

grub-install /dev/sda
update-grub

        Sander

-- 
Humilis IT Services and Solutions
http://www.humilis.net
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to