Wrong partition ID for known good grub2 boot

Vern Clark
2013-05-21
2014-04-25
  • Vern Clark
    Vern Clark
    2013-05-21

    This is what I get :
    " Boot Info Script 0.61 [1 April 2012]

    ============================= Boot Info Summary: ===============================

    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 94 for ."

    When I know its booting off of hd0,msdos7

    I've seen this strange large number appear in previous RESULTS.txt files.

     
  • Vern Clark
    Vern Clark
    2013-05-21

    grub is installed on hd0,msdos7
    I don't what or how it determined partition 94, was the boot partition.
    I have seen this before with similar numbers.

     
  • Vern Clark
    Vern Clark
    2013-05-24

    I think I found the issue. Creating mbr boot from Ubuntu Saucy 13.10, causes the odd partition#'s. Creating mbr boot from Ubuntu Precise 12.04, everything is normal.

    either a change in grub or how the mbr gets written.

     
  • So what's the solution? Install 12.04 in an old partition and purge and reinstall grub-2 from there? Or do the same from 14.04? And what's the "." mean? Some variable that didn't get set? I'm on a system with 2 Ubuntu 13.10 installations and 1 14.04 and I have this exact same behaviour. I'm trying to automate detecting where grub stage 2 files are for a bash script of my own and if I can make this work properly, I'll try to grep the result out of the results file. Thanks if you can help.

     
    Last edit: Lew_Rockwell_Fan 2014-04-25