My Xen installation has gone weird on me and I am trying to get back to normal.
I overflowed the base partition and in my haste to delete unused files I think I deleted something important, so now the hypervisor won't boot correctly.
I've attempted to uninstall xen-hypervisor-4.0-amd64
and all related packages, and the kernel so that I can replace them. I figured I would upgrade to 4.1 while I was at it, but that's not important.
However, now I'm to the point where after installing I'm not seeing the xen kernel in the grub menu at all, and when I try to uninstall it / re-install it I get a weird file system error, like so:
root@debian:~# dpkg --list 'linux-image*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=====================================-=====================================-==========================================================================================
un linux-image <none> (no description available)
un linux-image-2.6 <none> (no description available)
ii linux-image-2.6-amd64 2.6.32+29 Linux 2.6 for 64-bit PCs (meta-package)
un linux-image-2.6-openvz-amd64 <none> (no description available)
un linux-image-2.6-vserver-amd64 <none> (no description available)
un linux-image-2.6-xen-amd64 <none> (no description available)
ii linux-image-2.6.32-5-amd64 2.6.32-48squeeze1 Linux 2.6.32 for 64-bit PCs
rc linux-image-2.6.32-5-xen-amd64 2.6.32-48squeeze1 Linux 2.6.32 for 64-bit PCs, Xen dom0 support
Than I run:
root@debian:~# apt-get remove linux-image-2.6.32-5-xen-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-image-2.6.32-5-xen-amd64 is not installed, so not removed
The following packages were automatically installed and are no longer required:
python2.5-minimal etherboot iso-codes xen-utils-4.0 python-apt-common python2.5 mknbi lsb-release
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 411 not upgraded.
And finally:
root@debian:~# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found Debian GNU/Linux (6.0.7) on /dev/mapper/vg0-git--disk
Found Debian GNU/Linux (6.0.6) on /dev/mapper/vg0-postgresql--disk
done
SSH doesn't show it but I get this error in the last command:
[ 544.126457] EXT3-fs: write access unavailable, cannot proceed.
I believe this is my problem. However, my fsck
at boot, and switching to init1
and un-mounting my file system both report 'clean'?
Thanks for the help!