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

Problems upgrading GRUB to GRUB2 while upgrading to Squeeze from Lenny



Hello!

I have this small problem to upgrade GRUB to GRUB2 when upgrading my
boxes from Lenny to Squeeze.
This problem seems to be related to using Raid or not, as the servers
I've tested on and want to upgrade is either using mdadm-raid or
hardware-raid. (I have not been able to test on a non-raid system as i
don't have one)
The problem is that grub-pc package wont install as it fails on a
problem like this:

Setting up grub-pc (1.98+20100804-14) ...
/var/lib/dpkg/info/grub-pc.postinst: line 270: 18302 Killed
      grub-mkdevicemap --no-floppy
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 137
configured to not write apport reports
                                      dpkg: dependency problems
prevent configuration of grub:
 grub depends on grub-pc; however:
  Package grub-pc is not configured yet.
dpkg: error processing grub (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      Errors were encountered while processing:
 grub-pc
 grub
E: Sub-process /usr/bin/dpkg returned an error code (1)

And I've tried a few other things to just get more information but
without success.

grub-install --recheck /dev/sda
/usr/sbin/grub-install: line 285: 18340 Killed
$grub_mkdevicemap --device-map=$device_map $no_floppy
grub-mkdevicemap --no-floppy
Killed

This is the setup of the system and partitions I have:
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             5.1G  2.7G  2.2G  55% /
tmpfs                1013M     0 1013M   0% /lib/init/rw
udev                   10M  2.6M  7.5M  26% /dev
tmpfs                1013M     0 1013M   0% /dev/shm
/dev/sda1              59M   19M   37M  34% /boot
/dev/sda4             129G   63G   60G  52% /var

uname -a
Linux web2-old 2.6.32.15-1-grsec #1 SMP Mon Jun 28 05:23:44 BST 2010
i686 GNU/Linux

So now I am asking for advice from you guys for a solution on this.

Kind regards,
Markus Viitamäki


Reply to: