Results 1 to 8 of 8

Thread: Mythbuntu upgrade 10.04 -> 12.04 grub issues

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Beans
    3

    Mythbuntu upgrade 10.04 -> 12.04 grub issues

    Known issues

    Upgrading from 10.04 -> 12.04 will result in a broken system (grub isn't installed properly)
    This appears in the Mythbuntu 12.04 release notes but not the Ubuntu 12.04 release notes. I'm glad I saw it before attempting to upgrade my Mythbuntu 10.04 system.

    Is there a fix/workaround?

  2. #2
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,287
    Distro
    Ubuntu Development Release

    Re: Mythbuntu upgrade 10.04 -> 12.04 grub issues

    Quote Originally Posted by TrueBlueBlooded View Post
    This appears in the Mythbuntu 12.04 release notes but not the Ubuntu 12.04 release notes. I'm glad I saw it before attempting to upgrade my Mythbuntu 10.04 system.

    Is there a fix/workaround?
    It doesn't happened for everyone, but if it does happen you will need a bootable 12.04 ISO to install grub with.
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  3. #3
    Join Date
    Dec 2006
    Location
    Belfast, ME
    Beans
    49
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mythbuntu upgrade 10.04 -> 12.04 grub issues

    I haven't had the need to upgrade a 10.04 Mythbuntu install, but I have seen grub issues with 10.04 and higher before.

    I am sure that there are posts about this subject. The procedure that is easiest for me is to have an alternate Ubuntu CD handy. I know there may be better ways, but I am lazy and I like quick and easy.

    Sometimes upgrades from 10.04 install the new grub and sometimes they don't. I had to remove grub legacy and install grub-pc on my uncle's desktop when I upgraded this morning.

    Anyway, my grub fix with the alternate cd is this:

    Boot the alt-cd and select rescue broken system and take all the defaults until you get to select root.

    Pick your root filesystem (usually sda1)

    Either ... select reinstall grub from menu or

    execute a shell in /dev/sda1 (your root) and at the prompt type

    update-grub <enter>
    grub-install /dev/sda <enter>
    exit

    reboot the system. If grub-pc is installed this should take care of your grub.

  4. #4
    Join Date
    Dec 2006
    Location
    Belfast, ME
    Beans
    49
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mythbuntu upgrade 10.04 -> 12.04 grub issues

    I just did the upgrade to 12.04 on my 11.10 backend and had to reinstall grub. Oddly, my frontend upgraded with no problem.

  5. #5
    Join Date
    Jul 2008
    Location
    North Central Indiana
    Beans
    248

    Re: Mythbuntu upgrade 10.04 -> 12.04 grub issues

    Is there any predictability on this issue?...any pre-existing conditions that seem to lead to the problem during upgrade?

  6. #6
    Join Date
    May 2008
    Beans
    3
    Distro
    Ubuntu 8.04 Hardy Heron

    Question Re: Mythbuntu upgrade 10.04 -> 12.04 grub issues

    Quote Originally Posted by anonymousdog View Post
    Is there any predictability on this issue?...any pre-existing conditions that seem to lead to the problem during upgrade?
    My system started out as 08.04 LTS, upgraded to 10.04 LTS, upgraded to 12.04.1 LTS.

    It failed to boot, and what I found was that the command
    "initrd /boot/initrd.img-3.2.0-29-generic" statement was not present in the startup script....

    If I manually add this commend using the "E" option when selecting the appropiate image then I can boot to the upgraded system.

    my reading seems to indicate that this will occur when the newer grub and the older grub are both "installed" in the same system...

    While I am experienced in computers, I am not an expert in Linux. So, here is a question...

    1. how do I find out if both grubs are present in my system, and what do I do to fix the issue?
    identify the version:
    sudo grub-install -v
    reinstall (and convert) to grub2:
    sudo apt-get install grub-pc --reinstall

    2. Is there a way to update the grub startup script so that I do not have to manually enter the "initrd" statement each time I boot?
    When grub2 is the -only- version installed then
    sudo update-grub
    will build a valid grub startup script.
    Last edited by wb4alm; September 3rd, 2012 at 07:06 AM. Reason: Answered my own questions....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •