Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

  1. #11
    Join Date
    May 2012
    Beans
    8

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    Quote Originally Posted by pissedoffdude View Post
    I believe you have to map the drive before booting off of it. I'm not 100% sure how this works in grub2. Maybe someone can correct me if I'm wrong. Try:
    Code:
    menuentry "Windows sda (from sdb) Chainboot" {
    set root=(hd1)
    drivemap -s hd0 hd1
    chainloader +1
    }
    Then run a
    Code:
    sudo update-grub
    Just gave that a shot, same result as before though.

    Edit: Also, I think I'm using Grub, not Grub2.
    Code:
    alex@Bertha:~$ grub-install -v
    grub-install (GRUB) 1.99-12ubuntu5

  2. #12
    Join Date
    Oct 2006
    Location
    California
    Beans
    Hidden!

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    Hmm, what if you try that same code but with root=(hd0)?

  3. #13
    Join Date
    May 2012
    Beans
    8

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    Quote Originally Posted by pissedoffdude View Post
    Hmm, what if you try that same code but with root=(hd0)?
    I checked that. I'm pretty sure it did the same thing as when that line wasn't there. It just gave me the grub menu again. I tried a few different combinations but I stopped when one of them made it hang for quite a long time.

  4. #14
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    You have grub2, grub legacy is at version 0.97.

    Grub2 I think started with Ubuntu at version 1.96 and is currently at 1.99.

    The drive mapping was required with XP, not sure about Windows 7. Worth a try as long as the OP is willing to experiment.

    If is is a BIOS issue of not reporting correctly, then the only option may be to install grub2's boot loader to the Windows drive and then see it that boots Windows correctly. That often was required with old IDE drives set with primary master as the only bootable drive.

    Which leads to some issues on BIOS. Is BIOS still in IDE mode? It should be LBA or large or whatever the BIOS calls it. No RAID, but AHCI may also work, but drivers have to be installed in Windows 7 first.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #15
    Join Date
    May 2012
    Beans
    8

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    Quote Originally Posted by oldfred View Post
    You have grub2, grub legacy is at version 0.97.
    Ah, I was confused by the numbering then.

    Quote Originally Posted by oldfred View Post
    The drive mapping was required with XP, not sure about Windows 7. Worth a try as long as the OP is willing to experiment.

    If is is a BIOS issue of not reporting correctly, then the only option may be to install grub2's boot loader to the Windows drive and then see it that boots Windows correctly. That often was required with old IDE drives set with primary master as the only bootable drive.

    Which leads to some issues on BIOS. Is BIOS still in IDE mode? It should be LBA or large or whatever the BIOS calls it. No RAID, but AHCI may also work, but drivers have to be installed in Windows 7 first.
    The drives are both SATA. I'll check for an LBA setting. Edit: From having a look I think LBA only applies to IDE drives.
    Last edited by AbsurdWalls; May 15th, 2012 at 10:22 PM.

  6. #16
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    1,833
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    I still think your better off installing grub on the windows mbr and allowing it to boot both systems.
    Wireless script
    Dave
    Registered Linux User #462608
    Ubuntu-Mate 16.04

  7. #17
    Join Date
    May 2012
    Beans
    8

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    Quote Originally Posted by kc1di View Post
    I still think your better off installing grub on the windows mbr and allowing it to boot both systems.
    What's the distinction between having grub in the MBR on sda and having it on sdb if it's going to be referencing the same partitions on each drive anyway?

  8. #18
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: [11.10] Grub can't boot Windows 7 (no MBR) but CAN boot from drive

    It is a stretch that is will make any difference as then it has to be how BIOS is reporting drive to systems.

    LBA applies to any hard drive over 8GB. Or back when drives were that small we had to type in the CHS cylinders, heads & sectors of the drive into BIOS to get it to read drive correctly. If set to IDE it may be in some compatibility mode to convert newer SATA drive to work in older mode.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

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
  •