pchokola
May 3rd, 2012, 03:20 AM
So here was my 10.04 LTS setup before the upgrade:
CentOS 6.2 Linux
/dev/sdc1 /boot
/dev/sdc2 LVM Volume "vg_lin100"
Ubuntu 10.04 LTS
/dev/sdc3 /boot
/dev/sdc5 LVM Volume "Volume00"
During the 10.04 LTS install I tried loading GRUB2 into /dev/sdc3, and it said the install failed. I don't know how, but I was still able to chainload from CentOS into the menu for Ubuntu, and Ubuntu started up properly, so GRUB2 did in fact install.
So I performed an upgrade to 12.04 LTS, and again it said that the GRUB2 failed to install, so I pressed continue and the remaining upgrade completed. Now all I get is a blinking cursor.
Here is the boot-repair-disk output. Ignore drives /dev/sda and /dev/sdb as they are unrelated hard drives that contain different working operating systems:
http://paste.ubuntu.com/963644/
From what I gather from googleing around, putting GRUB2 into a partition other than where the MBR is located is a bad idea, however during the install of 10.04 the instructions during the install allowed it (it even gave examples). Is this limitation of the location of GRUB2 something new with version 1.99 vs 1.98?
Anyway, here is my dillema. I want to keep CentOS 6 as legacy grub, so it is identical to what would be used in production. I also want to have a menu when I load Ubuntu, because I really don't want to change the boot commands every time a kernel changes.
I do have a Clonezilla backup of my 10.04 installation, so I could go back and try this again, but if it turns out that I really need to do a clean install to clean things up (Other than the pain of setting up the logical volumes), I will do what I have to do. However, I am not sure, even then, I can accomplish what I want. Is my only choice to dedicate one hard drive to GRUB2 installations?
CentOS 6.2 Linux
/dev/sdc1 /boot
/dev/sdc2 LVM Volume "vg_lin100"
Ubuntu 10.04 LTS
/dev/sdc3 /boot
/dev/sdc5 LVM Volume "Volume00"
During the 10.04 LTS install I tried loading GRUB2 into /dev/sdc3, and it said the install failed. I don't know how, but I was still able to chainload from CentOS into the menu for Ubuntu, and Ubuntu started up properly, so GRUB2 did in fact install.
So I performed an upgrade to 12.04 LTS, and again it said that the GRUB2 failed to install, so I pressed continue and the remaining upgrade completed. Now all I get is a blinking cursor.
Here is the boot-repair-disk output. Ignore drives /dev/sda and /dev/sdb as they are unrelated hard drives that contain different working operating systems:
http://paste.ubuntu.com/963644/
From what I gather from googleing around, putting GRUB2 into a partition other than where the MBR is located is a bad idea, however during the install of 10.04 the instructions during the install allowed it (it even gave examples). Is this limitation of the location of GRUB2 something new with version 1.99 vs 1.98?
Anyway, here is my dillema. I want to keep CentOS 6 as legacy grub, so it is identical to what would be used in production. I also want to have a menu when I load Ubuntu, because I really don't want to change the boot commands every time a kernel changes.
I do have a Clonezilla backup of my 10.04 installation, so I could go back and try this again, but if it turns out that I really need to do a clean install to clean things up (Other than the pain of setting up the logical volumes), I will do what I have to do. However, I am not sure, even then, I can accomplish what I want. Is my only choice to dedicate one hard drive to GRUB2 installations?