Fri, 09 Jan 2009
Ubuntu upgraded itself into a hole // at 21:00
Back in October I upgraded my Ubuntu system from 8.04 to 8.10 and as seems to happen far too often, once again something went wrong. This time it removed the nvidia support that has been running for years and all of a sudden I can only run X at a resolution of 1152x864 instead of 1280x1024.
Far more important though, the LVM system that, once-again, I have been successfully using for a couple of years and a couple of upgrades has now been rendered unbootable. For some reason the new kernels that are installed keep on generating initrd images that will not support a root filesystem in LVM.
$ sudo dpkg-reconfigure linux-image-2.6.28-4-generic Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.28-4-generic W:copy_exec: Not copying /sbin/lvm to $DESTDIR/sbin/lvm, which is already a copy of /lib/lvm-200/lvm Not updating initrd symbolic links since we are being updated/reinstalled (2.6.28-4.9 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (2.6.28-4.9 was configured last, according to dpkg) Running postinst hook script /sbin/update-grub. Searching for GRUB installation directory ... found: /boot/grub /usr/sbin/update-grub: line 297: /sbin/vol_id: No such file or directory 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 ... found: (hd0,0)/grub/splashimages/debsplash.xpm.gz Found kernel: /vmlinuz-2.6.28-4-generic Found kernel: /vmlinuz-2.6.27-7-generic Found kernel: /memtest86+.bin Updating /boot/grub/menu.lst ... done Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms run-parts: executing /etc/kernel/postinst.d/nvidia-common
I finally worked around it by moving the root partition back out of
LVM and onto /dev/sda2, which was still unused since my migration off
physical partitions and into LVM back in May 2006!
Revisited 2009-Feb-24: Finally fixed the NVidia display after four months!
