Page 1 of 10 123 ... LastLast
Results 1 to 10 of 96

Thread: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

  1. #1

    Default Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    I have spent the past 2 days trying to install both Windows 7 and Opensuse 12.2 to my laptop that is EFI enabled. I have exhausted every resource I could find (as a result it is a clean hard drive at the moment). The only solution seems to be forcing them both to use legacy MBR partitioning, which I am fine with, but doing it seems impossible.

    If I install Windows 7 first, no matter what I try, it sets up GPT partitioning. Opensuse will not install this way because it says it needs to remove the Windows 7 partitions to set the GPT label.

    If I install OpenSUSE first, it tells me I should make sure to set up /Boot/EFI. The Windows 7 disc will not use the disk to install in this state because it says it can't read GPT disks.

    The BIOS has no options as far as EFI and there is only 1 boot option for each device so I appear to be hard set in booting UEFI first.

    Installing to an external disc is not a good option for me, is there any way for me to dual boot?

  2. #2

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Quote Originally Posted by us2rugrats View Post
    I have spent the past 2 days trying to install both Windows 7 and Opensuse 12.2 to my laptop that is EFI enabled. I have exhausted every resource I could find (as a result it is a clean hard drive at the moment). The only solution seems to be forcing them both to use legacy MBR partitioning, which I am fine with, but doing it seems impossible.

    If I install Windows 7 first, no matter what I try, it sets up GPT partitioning. Opensuse will not install this way because it says it needs to remove the Windows 7 partitions to set the GPT label.

    If I install OpenSUSE first, it tells me I should make sure to set up /Boot/EFI. The Windows 7 disc will not use the disk to install in this state because it says it can't read GPT disks.

    The BIOS has no options as far as EFI and there is only 1 boot option for each device so I appear to be hard set in booting UEFI first.

    Installing to an external disc is not a good option for me, is there any way for me to dual boot?
    There are a couple of bugs in the openSUSE installer. One is that it will want to reformat the /boot/efi partition which wipes out the
    existing win7 boot. What I've done is:

    1). Install win7 allowing it to create the uefi boot partition.
    2). Once finished the system will boot win7
    3). Boot the openSUSE DVD (must use the DVD as the other boot methods don't support uefi
    4) the disk partitionner will want to format the /boot/efi which if allowed to do so will erase the existing boot.
    5) Don't allow the installer to format /boot/FBI the system will complain that system partitions aren't being formatted and ask if your sure.
    6) Make sure however that the / and /boot (and other Linux partitions) are formatted, keep home unformatted if you need the data preserved.
    7). Allow the installer to do it's job and at the end Susie will boot but win7 won't.
    8) The other bug is that the os-prober won't find the uefi boot partition and configure grub to boot it as a mrb partition
    9). I've entered a bug report and the developers have confirmed the bug but won't be easy to solve.
    10). The work around is to use "please try again's" guide to create the proper entry into the /etc/grub.d/40-custom file to add the stanza for win7 .
    11). There will be two win7 entries in grub but use the second one (without the win flag icon).
    12). Run grub2"-efi-mkconfig to rewrite the config file "grub2-efi-mkconfig >/boot/grub2-efi/grub.conf.

    I have used this method for both 12.2 RC2 and the final release.



    The guide goes into a lot of details but the section on creating the stanza is needed.

  3. #3

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Quote Originally Posted by dwellen View Post
    There are a couple of bugs in the openSUSE installer. One is that it will want to reformat the /boot/efi partition which wipes out the
    existing win7 boot. What I've done is:

    1). Install win7 allowing it to create the uefi boot partition.
    2). Once finished the system will boot win7
    3). Boot the openSUSE DVD (must use the DVD as the other boot methods don't support uefi
    4) the disk partitionner will want to format the /boot/efi which if allowed to do so will erase the existing boot.
    5) Don't allow the installer to format /boot/FBI the system will complain that system partitions aren't being formatted and ask if your sure.
    6) Make sure however that the / and /boot (and other Linux partitions) are formatted, keep home unformatted if you need the data preserved.
    7). Allow the installer to do it's job and at the end Susie will boot but win7 won't.
    8) The other bug is that the os-prober won't find the uefi boot partition and configure grub to boot it as a mrb partition
    9). I've entered a bug report and the developers have confirmed the bug but won't be easy to solve.
    10). The work around is to use "please try again's" guide to create the proper entry into the /etc/grub.d/40-custom file to add the stanza for win7 .
    11). There will be two win7 entries in grub but use the second one (without the win flag icon).
    12). Run grub2"-efi-mkconfig to rewrite the config file "grub2-efi-mkconfig >/boot/grub2-efi/grub.conf.

    I have used this method for both 12.2 RC2 and the final release.



    The guide goes into a lot of details but the section on creating the stanza is needed.
    I am having trouble finding any guides by him, but I have found one that looks like it could work, though I am off to work soon so I can't try it out yet. Managing EFI Boot Loaders for Linux: Using GRUB 2

    My other question would be, in setting up the boot information will there be a problem if I set up the partitioning to be: |Swap|Windows EFI|Windows C: |SUSE| I like the idea of Having swap be first so the swap space is still on the beginning of the drive and Windows is not put too much later to ensure both have good speed, but it is not a requirement. My guess is if the guide I linked is correct, I would just have to set it as set root='(hd0,gpt2)'
    Last edited by us2rugrats; 11-Sep-2012 at 12:15. Reason: bad smiley

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    I think that EFI expect to be first.

  5. #5

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Quote Originally Posted by gogalthorp View Post
    I think that EFI expect to be first.
    You would think that it does, but I have gotten it to boot Windows with that partition setup, but I hadn't been able to get OpenSUSE installed.

  6. #6

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    I found his guide. but still nothing...

  7. #7

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Quote Originally Posted by us2rugrats View Post
    If I install Windows 7 first, no matter what I try, it sets up GPT partitioning. Opensuse will not install this way because it says it needs to remove the Windows 7 partitions to set the GPT label.
    Yes, you should install Windows first. But are you sure that you install Windows in UEFI mode? See this article: Booting openSUSE on UEFI BIOS with ELILO and Grub2 (part II - Windows dual-boot ). It applies to openSUSE 12.1, but the Windows part remains unchanged.

  8. #8

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Quote Originally Posted by please_try_again View Post
    Yes, you should install Windows first. But are you sure that you install Windows in UEFI mode? See this article: Booting openSUSE on UEFI BIOS with ELILO and Grub2 (part II - Windows dual-boot ). It applies to openSUSE 12.1, but the Windows part remains unchanged.
    Yes, I have gotten it to the point that I now have both systems installed and I have explored /boot/EFI/ and all of the Windows information is in there. I have also managed to get the entries in the boot loader as your guide has said, but the first Windows boot option tells me that the hardware has changed and kicks me back to the selection screen, the second one just kicks me back to the selection screen. When I ran the updateGrub2 command, I seem to get 2 errors, I will paste the output.

    grub2-efi-probe: error: failed to get canonical path of /boot/efi/EFI/windows/bootmgfw.efi.
    Generating grub.cfg ...
    Found theme: /boot/grub2/themes/openSUSE/theme.txt
    Found linux image: /boot/vmlinuz-3.4.6-2.10-desktop
    Found initrd image: /boot/initrd-3.4.6-2.10-desktop
    /dev/sdb: open failed: No medium found
    No volume groups found
    done

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Could this be set up with secure boot??

  10. #10

    Default Re: Trouble dual booting 12.2 and Windows 7 on EFI enabled system

    Quote Originally Posted by us2rugrats View Post
    I have also managed to get the entries in the boot loader as your guide has said, but the first Windows boot option tells me that the hardware has changed and kicks me back to the selection screen, the second one just kicks me back to the selection screen.
    Hummm. It doesn't sound good. I'm afraid it's the price to pay for using Windows noawdays ... or, much worse, for not using it.

    Quote Originally Posted by us2rugrats View Post
    When I ran the updateGrub2 command, I seem to get 2 errors, I will paste the output.
    Please do not use updateGrub2 under 12.2! This script was intended to be used under 12.1, where neither grub2 nor grub2-efi was officially supported nor installable from setup.

Page 1 of 10 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •