Был перетащен debian с виртуального хостинга на xen. Встало оно с точки зрения загрузчика как-то странно, но работает. Матерится только при попытке ядро обновить что дескать grub не может обновить свой конфигфайл. Ну и шут бы с ним, работает и пусть работает... но теперь при попытке обновить любое ПО операция завершается с ошибкой# sudo apt-get upgrade rubygems
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
bind9 bind9utils libbind-dev libbind9-50 libisccc50 libisccfg50 liblwres50
The following packages will be upgraded:
php5
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
2 not fully installed or removed.
Need to get 1078B of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.debian.org lenny/main php5 5.2.6.dfsg.1-1+lenny16 [1078B]
Fetched 1078B in 0s (3355B/s)
(Reading database ... 48704 files and directories currently installed.)
Preparing to replace php5 5.2.6.dfsg.1-1+lenny10 (using .../php5_5.2.6.dfsg.1-1+lenny16_all.deb) ...
Unpacking replacement php5 ...
Setting up linux-image-2.6.26-2-xen-amd64 (2.6.26-29) ...
update-initramfs: Generating /boot/initrd.img-2.6.26-2-xen-amd64
Searching for GRUB installation directory ... found: /boot/grub
warning: grub-probe can't find drive for /dev/xvda.
grub-probe: error: Cannot stat `/dev/xvda'
dpkg: error processing linux-image-2.6.26-2-xen-amd64 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-xen-amd64:
linux-image-xen-amd64 depends on linux-image-2.6.26-2-xen-amd64; however:
Package linux-image-2.6.26-2-xen-amd64 is not configured yet.
dpkg: error processing linux-image-xen-amd64 (--configure):
dependency problems - leaving unconfigured
Setting up php5 (5.2.6.dfsg.1-1+lenny16) ...
Errors were encountered while processing:
linux-image-2.6.26-2-xen-amd64
linux-image-xen-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Как это вылечить?