GRUB isn't happy. And all because of Windows 7 partition.

Page 1 of 2 12 LastLast

  1. Posts : 22
    Windows 7 Ultimate 64 bit/Linux Mint 17-64-Cinnamon
       #1

    GRUB isn't happy. And all because of Windows 7 partition.


    OK, from the beginning. I had W7, I installed W8 Consumer Preview, and as many at first I didn't like it; so I created another partition and installed Linux as well, just to compare. I learned about W8, I didn't find it that bad and I ended up deciding to keep it, to the point that actually I was planning to upgrade W7 to it, deleting the W8 Consumer Preview partition and increasing the space for W8 and Linux, which I want to keep as well.

    So, I changed the Windows 7 partition from primary to logical in W8 using easeUS partition Manager, in the attempt to make another logical partition bigger to put stuff in from the W7 one, as just the primary could. Thinking now it may have been because of their position on the disk, but now this matters very little...

    As a result, when I restarted GRUB (which I hate, and I wish I wouldn't have to do with it) wasn't happy.


    It's not that I am lazy, I have actually been google'ing the whole day, but the information I found is just overwhelming (and being in Linux world, overcomplicated). Also, as I promptly discovered, playing with the partitions is dangerous. So I am looking for help!

    Through a Linux Mint Maya Cinnamon live (which is the same Linux distro I am using) USB stick I managed to find this tool online (https://help.ubuntu.com/community/Boot-Repair) and I was about to use it. It created also this boot info file Ubuntu Pastebin.
    And then I created this sudo fdisk -l file for reference, if it is useful:
    Ubuntu Pastebin
    here in a more understandable version:
    Ubuntu Pastebin

    But in the end I though that the easiest way to put my machine back up and running was to just reconvert back the W7 partition to primary. Because in the end I didn't play neither with the MBR, nor with the GRUB, and mainly because it's just safer. Easy to say, another story when I have to put this in action...

    Would someone explain me how to get back the system up and running, please?

    Would a USB Windows 7 recovery stick be useful? Amongst the other things, the DVD player doesn't work because of a SATA controller failure (just one port working, the one of the HD), so I am forced to use a USB...
    Using a W7 home Premium to create it and attempting to use it for a Ultimate. Or if there is a way to create a USB stcik from my W7 Ultimate DVD, that would be great.
    I may use the same procedure explained here (which is the one I used to create the USB), to copy all the content of the W7 DVD in the bootable USB key. Hoping it isn't more than 4GB because that's the maximum capacity I have now....
    Would this be a possibility?

    Any help would be really appreciated!
    Thanks in advance!

    EDIT: I don't want to wipe partitions, as in each of them there is stuff..
    Windows 7 has data,
    Windows 8 has some emails in outlook I'd like to retrieve,
    Linux was a royal PITA to make it work properly and I wouldn't want to lose it.
    Last edited by ElStellino; 21 Feb 2014 at 16:35. Reason: the EDIT bit.
      My Computer


  2. Posts : 166
    Windows 7 Home Premium 64bit
       #2

    The problem is that Windows has the MBR, and grub thought it did, so the necessary info is not in the boot record of the actual Linux partition - grub was originally installed in the MBR, not the Linux partition. You're going to have to chmod into your Linux install to fix this if you want to save your Linux system, there's no way around it. I suspect you've already found instructions to do this, and it is a bit fiddly...

    The alternative is to make a Win7 USB stick, let it fix the boot setup. Your Linux partition will still be there while you do enough research to feel confident in going in with chmod to recover it.
      My Computer


  3. Posts : 22
    Windows 7 Ultimate 64 bit/Linux Mint 17-64-Cinnamon
    Thread Starter
       #3

    Thanks sgage, I am now formatting in NTFS the USB stick and will copy the W7 DVD on it during the night, I think there is an utility in it to restore Windows without losing programs and data.
    Once in Windows 7 I know how I can retrieve my emails from Windows 8, and as far as I remember I can save my home to get all the settings back in Mint, so I guess I can go with a fresh reinstall with that. And if not, lesson learned.

    Off to bed now!
      My Computer

  4.    #4

    When you changed Win7 partition to Logical it likely made it unbootable since a Logical partition cannot be marked Active or host the System files which boot Win7.

    So you can reconvert the partition to Primary and assure it's marked Active using free Partition Wizard
    bootable CD: How to Set Partition as Primary or Logical
    How to Set Active/Inactive partition -Partition Wizard Video Help.

    You may also need to run Startup Repair - Run 3 Separate Times

    However this will override GRUB so it may also be necessary to add it back using the method here: Dual boot Ubuntu-Win7.

    You can also rescue your files using Copy & Paste - in Windows Recovery Console or Paragon Rescue Kit Free Edition 11.0 Free CD then boot the Win8 installer to Clean Install - Windows 8 adding Linux afteward as shown above.
      My Computer


  5. Posts : 22
    Windows 7 Ultimate 64 bit/Linux Mint 17-64-Cinnamon
    Thread Starter
       #5

    Thanks guys, I have to say what I am going to write is odd.
    Linux Mint via the USB stick this morning started having problems in mounting the partitions, so I though, 'well, let's restart it, it's a live USB stick anyway'; I failed to press on time the F key to select where to make the system start from, and grub appeared as nothing had happened. Writing now from Windows 7, in fact.
    Windows 7 is still as logical partition, and it works. I remember it was like that, I changed it as primary I don't remember why, and then 2 days ago all the mess happened.
    Here the screenshot of easeUS Partition Master:
      My Computer


  6. Posts : 16,160
    7 X64
       #6

    Glad to hear it. Grub is very capable. :)
      My Computers


  7. Posts : 22
    Windows 7 Ultimate 64 bit/Linux Mint 17-64-Cinnamon
    Thread Starter
       #7

    Is it? I bloody hate it!
      My Computer

  8.    #8

    System Reserved is still Primary and booting the OS(s) as signified by the System flag on it. So you should be good to go to do the Upgrade of Win7 to 8.1 if you really wanna give up Win7 for that. Only the System boot partition must be Primary in order to boot all OS's.

    System Reserved should also be Partition Marked Active so I would do that next.

    If the Upgrade overrides GRUB then I would add the Linux back using Barman's method in Dual boot Ubuntu-Win7. Read over the tutorial also for Dual Boot - Windows 7 and Linux - Windows 7 Forums
      My Computer


  9. Posts : 22
    Windows 7 Ultimate 64 bit/Linux Mint 17-64-Cinnamon
    Thread Starter
       #9

    gregrocker said:
    System Reserved is still Primary and booting the OS(s) as signified by the System flag on it. So you should be good to go to do the Upgrade of Win7 to 8.1 if you really wanna give up Win7 for that. Only the System boot partition must be Primary in order to boot all OS's.

    System Reserved should also be Partition Marked Active so I would do that next.

    If the Upgrade overrides GRUB then I would add the Linux back using Barman's method in Dual boot Ubuntu-Win7. Read over the tutorial also for Dual Boot - Windows 7 and Linux - Windows 7 Forums
    Okay, so does this mean that only the first voice should be Primary? Not W8?

    Another vaguely related question: there are those unallocated 2.88Gb that I suspect are making mess in Linux, as Gparted doesn't recognise the disk because of overlapping partitions.
    Looking better at here I saw that sda5 (windows 7) and sda3 (f W95 Ext'd (LBA) ??) are overlapping.
    can that sda3 be the unallocated 2.88Gb? I'd say no, as they are unallocated and if they were allocated to W7 they wouldn't be unallocated in the first place...
    Why Linux shows 9 partitions while Windows just 7?

    The Golden post is... gold! Thanks for the link!

    Thanks!
      My Computer

  10.    #10

    What you can also do to get the cleanest slate and resolve all issues is back up your files, wipe the HD with Diskpart Clean Command to do a Dual Boot - Windows 7 and Linux - Windows 7 Forums.

    You can connect with Golden in the tutorial comments section for more specialized help.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:05.
Find Us