GRUB wasn't installed! I don't know why, but the problem was grub not installed.
Now I have installed it and all work fine.
Even if the package manager said it wasn't installed, every time i turned on 
ubuntu grub was there..
All the problems around linux-image-2.6.27-9-generic are now disappered.
Thank you guys.


This is the output of the console:

[EMAIL PROTECTED]:~$ sudo update-grub
sudo: update-grub: command not found

[EMAIL PROTECTED]:~$ sudo apt-get install grub
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-backports-modules-2.6.27-7-generic
Use 'apt-get autoremove' to remove them.
Suggested packages:
  grub-doc mdadm
The following NEW packages will be installed:
  grub
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
Need to get 907kB of archives.
After this operation, 2011kB of additional disk space will be used.
Get:1 http://it.archive.ubuntu.com intrepid/main grub 0.97-29ubuntu45 [907kB]
Fetched 907kB in 2s (362kB/s)
Preconfiguring packages ...
Selecting previously deselected package grub.
(Reading database ... 131917 files and directories currently installed.)
Unpacking grub (from .../grub_0.97-29ubuntu45_amd64.deb) ...
Processing triggers for man-db ...
Setting up linux-image-2.6.27-9-generic (2.6.27-9.19) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-9-generic
Running postinst hook script /sbin/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 ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.27-9-generic
Found kernel: /boot/vmlinuz-2.6.27-7-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
 * Running DKMS auto installation service for kernel 2.6.27-9-generic           
 *  nvidia (177.80)...                                                          
nvidia (177.80): Already installed on this kernel.
                                                                         [ OK ]
run-parts: executing /etc/kernel/postinst.d/nvidia-common

Setting up linux-backports-modules-2.6.27-9-generic (2.6.27-9.5) ...
update-initramfs: Generating /boot/initrd.img-2.6.27-9-generic

Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.27-7.15 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.27-7.15 was configured last, according to dpkg)
Running postinst hook script /sbin/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 ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.27-9-generic
Found kernel: /boot/vmlinuz-2.6.27-7-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
 * Running DKMS auto installation service for kernel 2.6.27-7-generic           
 *  nvidia (177.80)...                                                          
nvidia (177.80): Already installed on this kernel.
                                                                         [ OK ]
run-parts: executing /etc/kernel/postinst.d/nvidia-common

Setting up linux-restricted-modules-2.6.27-9-generic (2.6.27-9.13) ...
update-initramfs: Generating /boot/initrd.img-2.6.27-9-generic

Setting up linux-backports-modules-intrepid-generic (2.6.27.9.13) ...
Setting up linux-backports-modules-intrepid (2.6.27.9.13) ...
Setting up linux-image-generic (2.6.27.9.13) ...
Setting up linux-restricted-modules-generic (2.6.27.9.13) ...
Setting up linux-generic (2.6.27.9.13) ...
Setting up grub (0.97-29ubuntu45) ...

-- 
package linux-image-2.6.27-9-generic 2.6.27-9.19 failed to install/upgrade: 
subprocess post-installation script returned error exit status 2
https://bugs.launchpad.net/bugs/302940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to