Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Dual OS Infinite Reboot Loop Can't get to GRUB

  1. #1
    Join Date
    Dec 2012
    Beans
    9

    Dual OS Infinite Reboot Loop Can't get to GRUB

    Hi,

    I have my machine setup to dual boot Windows 7 and Ubuntu 12.04 via grub. However, after I did a Windows Update today, it went straight to grub rescue. I messed with "set root" a little, and tried to reboot again. It then got to grub and I was able to boot Windows normally. Then I tried to reboot again, and now, it doesn't even go to grub or grub rescue. It just continuously reboots.

    I attempted to purge and re-install grub via boot-repair from live-USB, but nothing has changed. The following is the bootinfoscript:

    http://paste.ubuntu.com/5641963/

    I have a weak understanding of bootloaders, so any suggestions would be greatly appreciated! I have no idea which direction to investigate next.

    Please help! I urgently need the laptop this week. Thank you in advance!



    Extra history that may or may not help:
    After I first set up the dual boot, I had problems going from Windows to Ubuntu, not the other way around though. When I would try to boot into Linux, I would get a:

    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

    I would then hard restart, and grub would load again, and then I would be able to boot into linux normally. After several months, the same procedure would cause a different error. Instead of a Kernel panic, I got:

    error: invalid arch independent ELF magic

    Again, I would do a hard reset, and then I would be able to boot normally, so I ignored this problem for a while until now.
    Last edited by jchan91; March 24th, 2013 at 03:39 AM.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    Not sure if you just reinstalled grub to MBR or did a full uninstall and reinstall of all of grub.


    error: invalid arch independent ELF magic

    Often version of grub in MBR is not same as install.
    Use same version to reinstall or chroot and fully uninstall & reinstall.

    Boot Repair has a helper function to chroot, fully uninstall & reinstall grub.

    Is this system an UltraBook? That has the small SSD with Intel SRT for caching Windows. That may be part of your issue, but I have seen users with that and dual boot. Since Intel standard every vendor is essentially the same.

    Intel Smart Response Technology
    http://www.intel.com/p/en_US/support...ts/chpsts/imsm
    Some general info in post #3
    http://ubuntuforums.org/showthread.php?t=2071242


    Intel SRT - Dell XPS Screen shots of Intel SRT screens & lots of details
    http://ubuntuforums.org/showthread.php?t=2038121
    http://ubuntuforums.org/showthread.php?t=2036204
    Details in post #10 on an install that worked
    http://ubuntuforums.org/showthread.php?t=2020155
    Dell XPS Intel SRT issue on hibernating post #25
    http://ubuntuforums.org/showthread.php?t=1932965
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Dec 2012
    Beans
    9

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    Thank you very much for the resources and help! I'll look them over first. I believe I did a purge and install on sda5 (which were the only options I was given in Boot Repair). And yes, this system is a Sony Vaio SVT13112FXS Ultrabook with a 32GB SSD on sdb.
    Last edited by jchan91; March 26th, 2013 at 09:56 AM.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    If SRT is on and RAID meta data still on drive, then grub does not seem to install correctly.
    Others have reported they could turn it off, then install grub and turn it back on.
    Those that use Windows less & Ubuntu more, just turn it off and use the SSD for / (root) with data on spinning disk.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Dec 2012
    Beans
    9

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    error: invalid arch independent ELF magic

    Often version of grub in MBR is not same as install.
    Use same version to reinstall or chroot and fully uninstall & reinstall.
    My boot info script says that grub 1.99 is on MBR of sda, and points to ( , msdos5) for /boot/grub. On sda5, I see grub.cfg, and was unable to find any menu.lst, so isn't that an indication that the MBR and linux partition are running grub2? Could grub be corrupted on one or both of these places, despite the boot info script reporting info about them? How reliable is the boot info script?

    Also on the side, why is my partition labelled as msdos5 as opposed to just 5?

    If SRT is on and RAID meta data still on drive, then grub does not seem to install correctly.
    Others have reported they could turn it off, then install grub and turn it back on.
    My understanding is that these people are removing RAID metadata because when they are trying to install Ubuntu, the installer doesn't detect the HDD. But I already have 12.04 installed on sda5 (my SSD is sdb). So shouldn't my concern be trying to get grub2 on sda's MBR, then have it point to grub2 on sda5, which will then take care of finding the windows bootloader?

    Those that use Windows less & Ubuntu more, just turn it off and use the SSD for / (root) with data on spinning disk.
    I use both quite equally, so I'm hoping to keep RST, and SRT if possible too.

    Thanks for all the help again, and the quick responses!


    Secondary Questions:

    I am trying to debug where this is going wrong. When I boot, I know I get through BIOS first, before it reboots again (if I don't have live USB plugged in). So does that mean I'm still in stage 1 of grub2? Or could I possibly have reached stage 2? What stage have I reached if I make it to grub rescue? What about grub menu?
    Last edited by jchan91; March 26th, 2013 at 10:10 PM.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    You have grub2. Unless you have 0.97 that is grub legacy with menu.lst. Grub2 with Ubuntu started at 1.97, and only 12.10 has the newest grub2 version 2. With 12.04 you still have 1.99.
    And with UEFI it installs efi versions of grub that are somewhat different.

    The issue seems to be with RAID on, grub refuses to install. Not sure you have to remove meta-data anymore or not. Ubuntu used to not install at all with Desktop installs to RAID, only with the Alternative installer. But with 12.10 they have eliminated the alternative installer and will eventually include RAID. I think the installer has been updated, but grub has not been totally updated yet to work with RAID. Normally with RAID, grub is installed to the RAID not MBR or with UEFI, grub2 is actually installs its boot loader to the efi partition, not anywhere else.

    If you have msdos partitions, you must not have the new UEFI versions. With UEFI, you have gpt partitions and to keep them straight on which driver to use, it now says msdos5 or gpt5 for example.

    I think you only have to turn off Intel SRT, install grub with Boot-Repair and then turn it back on.

    Some info on re-instating details in post #9 Dell 14z
    http://ubuntuforums.org/showthread.php?t=2038121
    http://ubuntuforums.org/showthread.php?t=2070491
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Dec 2012
    Beans
    9

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    I think you only have to turn off Intel SRT, install grub with Boot-Repair and then turn it back on.
    For my Sony Vaio T, there does not appear to be an option to change the "SATA option" as described by the Dell user. And since I can't boot into Windows, I can't disable it from there either. Could I just use dmraid on sda to disable SRT? Is this the same as disabling RAID from BIOS?

    If I do use dmraid and erase the metadata in sda, does that mean I will lose RST/SRT tech when I am on Windows? Or will turning off and on SRT in Windows restore that metadata?

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    I gathered from the threads posted above that they turned it off, ran the commands to remove RAID meta-data, but were able to turn it back on and it worked. But I have not done it.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Dec 2012
    Beans
    9

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    Normally with RAID, grub is installed to the RAID not MBR or with UEFI, grub2 is actually installs its boot loader to the efi partition, not anywhere else.
    What did you mean by grub is installed to RAID, not MBR? I thought RAID was a way of redundantly storing data on multiple disks, whereas the MBR is a piece of code+data that is supposed to be stored in the first sector of the first drive. Doesn't grub code belong in the MBR so that it can find the linux VBR? Shouldn't the concept of RAID (how data is stored) be abstracted from where data is stored?

    Forgive me if I am completely misunderstanding how bootloaders and hard disks work. Please redirect me to search terms or articles that would clarify these concepts.

  10. #10
    Join Date
    Dec 2012
    Beans
    9

    Re: Dual OS Infinite Reboot Loop Can't get to GRUB

    Update: dmraid also does not detect that I have a RAID setup on sda, only on sdb (the SSD). There is also no way for the Sony Vaio T to reconfigure RAID from BIOS.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •