W7 resets bootable flag on HDD

Page 2 of 2 FirstFirst 12

  1. Posts : 8
    Ultimate x64
    Thread Starter
       #11

    I'm trying to persuade the MBR (that is from Windows) to always boot sda1 where is GRUB that gives me a choice of OS's. I can do this easily via fdisk from a live CD or via diskpart, however when I boot Windows again, it always resets the bootable flag to sda2, so I cannot boot to GRUB and have to use fdisk/diskpart again.

    Anyway, after setting sda1 as active when I run Startup Repair, it fails: "Startup Repair cannot repair this computer automatically". bcdedit fails with the same message as above.
      My Computer


  2. Posts : 11,408
    ME/XP/Vista/Win7
       #12

    Do what to dual boot Linux & Windows?
      My Computer


  3. Posts : 8
    Ultimate x64
    Thread Starter
       #13

    theog said:
    Windows can not boot from a Linux partition.
    Right, it cannot. But GRUB can call another boot loader via chainloader.
      My Computer


  4. Posts : 8
    Ultimate x64
    Thread Starter
       #14

    OMG, I'm an idiot. I was booting W7 with this command:
    Code:
    rootnoverify (hd0, 1)
    makeactive
    chainloader +1
    ...that (obviously) made hd0,1, i.e. /dev/sda2, i.e. C: active on every boot. Removing this line solved the problem.

    I apologize to everyone for bothering you with such a stupidity, that even couldn't be solved from Windows. Thank you for your patience!
    Last edited by tadeas; 19 Nov 2011 at 12:14. Reason: edited for clarity
      My Computer


  5. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #15

    You're very welcome.

    Thanks for the update. Now I know a little more about Linux. :)
      My Computer


 
Page 2 of 2 FirstFirst 12

  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 13:30.
Find Us