Booting problem after upgrading to ubuntu hardy (8.04)

I’ve been running 8.04 beta for a while now, with kernel 2.6.22-14 the system boots and runs just fine. However, with the recent updates to the kernel 2.6.24-15 and then to 2.6.24-16 the system fails to boot and “hangs” at the “loading” screen with the blue progress bar just moving back and forward. In the trimmed menu.lst only the last option boots.

patrickd@ubuntu:/media$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

===File:/boot/grub/menu.lst===
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=761e8f2c-dd8d-4042-a5bb-2ead0c26c54e ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=761e8f2c-dd8d-4042-a5bb-2ead0c26c54e ro quiet splash
initrd /boot/initrd.img-2.6.24-15-generic
quiet

title Ubuntu 8.04, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=761e8f2c-dd8d-4042-a5bb-2ead0c26c54e ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

After some back and forth with the ubuntu developers it using this bug report on launchpad, It appeared that the newer versions of the kernel where unable to mount my root partition. Then after some digging about in one of my old note books I discovered that I’d come across the same problem with another distro and at the time the solution was to add “pci=nomsi” to the kernel boot options and thankfully that seemed to have solved the problem this time to.

This workaround enabled my system to boot with the ubuntu 2.4.26-16-generic kernel.

patrickd@ubuntu:~$ uname -a
Linux ubuntu 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

The workaround for me was to add “pci=nomsi” to the kernel boot options, so the entry in fstab now looks like;

kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=761e8f2c-dd8d-4042-a5bb-2ead0c26c54e ro quiet pci=nomsi splash

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: