8.04 -> 10.04 Grub Grub 2 and LVM

Robert Steinmetz rob at steinmetznet.com
Tue Jun 29 21:38:26 UTC 2010

The upgrade did not fail totally.
The only thing that is not working is booting to the root Logical Volume 
on a raid array.

As I understand the GRUB situation GRUB is not supposed to be upgraded 
on existing installs but GRUB2 is installed by default on new installs.
What seems not to be working is that GRUB is not loading lvm kernel 
module and therefore the the root device /dev/mapper/ubuntu-root cannot 
be found.

I can boot a Live CD using the nodmraid option, install lvm2 and dmadm. 
The Live CD does not include lvm2.
Then I can activate the raid arrays and recover the volume groups. All 
of the data is there and appears to be working.

I can chroot to my original root device and all is good.

I have several production machines with very similar configurations and 
need to upgrade them. I am trying to understand what went wrong so I can 
fix it and hopefully the result will help other people in the same 

The solution may be as simple as reinstalling GRUB to update the 
configuration, using grub-install /dv/sda but I want to be sure before I 
try that.

  On 6/29/2010 3:16 PM, Karl Larsen wrote:
> On 06/29/2010 01:20 PM, Hakan Koseoglu wrote:
>> On 29 June 2010 20:14, Karl Larsen<klarsen1 at gmail.com>   wrote:
>>>       A couple of things. First you should not update from 8.04 to 10.4. I
>>> think that is to big a jump.
>> Incorrect. 8.04 LTS to 10.04 LTS upgrades are supported and that's how
>> it's supposed to go. You can do a direct upgrade from 8.04 to 10.04
>> w/o any other upgrade steps in between whereas if you were upgrading
>> from a non-LTS release, you are recommended to go through each of
>> those one by one.
>           Perhaps, but it failed totally for the person I wrote to.
> 73 Karl

*Robert Steinmetz, AIA*
*Steinmetz & Associates*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100629/8f0bad3e/attachment.html>

More information about the ubuntu-users mailing list