Author Topic: Dual boot with any Linux and Windows 7/8 having UEFI  (Read 3335 times)

Offline zacharysonicfast

  • Jr. Member
  • **
  • Posts: 17
Dual boot with any Linux and Windows 7/8 having UEFI
« on: December 13, 2012, 11:59:45 AM »
Hi everyone.

I recently got a new laptop that came with with Win7 and UEFI.

I tried repeatedly to dual boot Win7 and Linux but each time I tried it, Win7 demanded a reformat and re install, disabling Linux.

A temporary work around was for me to remove the windows hard drive, use an external SSD hard drive with USB 3.0, install Linux that way.

I re installed the windows drive.

As long as the external drive is not connected when windows boots up I do not have a problem.

Now every time I want to use Linux I have to shut down the laptop, plug in the external drive, press the ESC key, select that drive, and boot that way. It is a little slow but it does work.

I would rather have the Linux drive onboard and use a windows drive externally for those times when I need it. (Yes, I need it to use my internet dongle since linux doesn't support mine yet)

Anyone figure out a way to circumvent uefi and allow proper dual booting?

Erasing and R/R windows is out of the question - I would lost too much data.

Physically switching hard drives is not my idea of fun.

I can dual boot with Puppy Linux on a always plugged in flash drive but still have to select that drive at boot up before windows sees it.

Is there a version of PCLos that can be used without setting the boot flag or installing GRUB?

I got the feeling that UEFI is looking for boot flags and swapfile partitions.

I did notice that if I use a Linux Swap File anywhere on the computer that windows can detect, windows forces a R/R as well.


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #1 on: December 13, 2012, 12:51:38 PM »
I have dual booted Windows and Linux on UEFI motherboards without any problems ....  three so far I think.

There is no problem with the Linux OS in this regard.

I believe there is so much information missing from your story that it is impossible to even guess at what is happening.

For instance you say

Quote
I tried repeatedly to dual boot Win7 and Linux but each time I tried it, Win7 demanded a reformat and re install, disabling Linux.

How, when and in what manner did "Win7 demand" a reformat from you ......  and a reformat of what exactly?

Maybe if you can be more precise about what you did, what the error was and the exact conditions under which it happened, we could make some sense of it.

Quote
Anyone figure out a way to circumvent uefi and allow proper dual booting?

On hardware I have used no such circumvention was needed.

« Last Edit: December 13, 2012, 04:18:02 PM by Just17 »
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1517
    • PCLinuxOS.nl
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #2 on: December 13, 2012, 03:37:13 PM »
Possible workaround:
For win7, install grub (last part of the PCLinuxOS install) on the PCLinuxOS install partition.
example sda6 not sda.
Install EasyBCD (Google) in Windows and add PCLinuxOS in the menu.

Offline ShowMeRon

  • Full Member
  • ***
  • Posts: 161
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #3 on: December 13, 2012, 03:57:37 PM »
 This is from DistroWatch http://distrowatch.com/weekly.php?issue=20121126 scroll down the page to - " Secure Boot has arrived". Worth a try.
« Last Edit: December 13, 2012, 03:59:27 PM by ShowMeRon »
take me drunk......i'm home                                                                                  Registered Linux user #446923

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #4 on: December 13, 2012, 06:11:50 PM »
I have dual booted Windows and Linux on UEFI motherboards without any problems ....  three so far I think.

There is no problem with the Linux OS in this regard.

I believe there is so much information missing from your story that it is impossible to even guess at what is happening.

For instance you say

Quote
I tried repeatedly to dual boot Win7 and Linux but each time I tried it, Win7 demanded a reformat and re install, disabling Linux.

How, when and in what manner did "Win7 demand" a reformat from you ......  and a reformat of what exactly?

Maybe if you can be more precise about what you did, what the error was and the exact conditions under which it happened, we could make some sense of it.

Quote
Anyone figure out a way to circumvent uefi and allow proper dual booting?

On hardware I have used no such circumvention was needed.



Just17 - Can you tell me what motherboard(s) you have with UEFI?

Thanks.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #5 on: December 13, 2012, 07:29:19 PM »
I have dual booted Windows and Linux on UEFI motherboards without any problems ....  three so far I think.

There is no problem with the Linux OS in this regard.

I believe there is so much information missing from your story that it is impossible to even guess at what is happening.

For instance you say

Quote
I tried repeatedly to dual boot Win7 and Linux but each time I tried it, Win7 demanded a reformat and re install, disabling Linux.

How, when and in what manner did "Win7 demand" a reformat from you ......  and a reformat of what exactly?

Maybe if you can be more precise about what you did, what the error was and the exact conditions under which it happened, we could make some sense of it.

Quote
Anyone figure out a way to circumvent uefi and allow proper dual booting?

On hardware I have used no such circumvention was needed.



Just17 - Can you tell me what motherboard(s) you have with UEFI?

Thanks.

The only one I still have here is an MSI H61-MA-E35  I ~think~ ......  not sure what is in which PC now, would have to check if needed.

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline zacharysonicfast

  • Jr. Member
  • **
  • Posts: 17
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #6 on: December 14, 2012, 06:35:58 PM »
Ok, I put in the dvd and restarted the computer. I installed linux to a second hard drive.

Linux worked fine.

When starting windows 7, windows refused to start and popped up the part that makes me reformat and reinstall windows without any other choices.

Windows worked but after that Linux didn't and couldn't boot.

I am using a brand new asus laptop with i5 cpu. I have no idea what motherboard or other hardware descriptions it has.

The only way I get to use Linux is to remove the windows drive, plug in an external drive, install linux to that drive, shut down the computer and reinstall the windows drive, unplug the external drive and boot windows.

If I want to use linux I have to have the computer off, plug in the external drive, boot the computer, select the external drive to boot from. If i make a mistake and forget to unplug the drive while windows is booting, windows will force a reformat and reinstall every time.

The only version of linux I can leave attached is puppy linux because it seems it doesn't set a boot flag or use a non-windows partition.

I even tried making a permanent linux swapfile partition so I could use a dvd or flash drive with faster performance. Windows refused to start until I reformatted and reinstalled windows or removed the 'unauthorized' partition. It seems that windows wants only windows on the computer.

I hate UEFI...

I won't touch the windows drive at all, for warranty reasons.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11539
  • ----IOFLU----
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #7 on: December 14, 2012, 07:45:38 PM »
Ok, I put in the dvd and restarted the computer. I installed linux to a second hard drive.

Linux worked fine.

When starting windows 7, windows refused to start and popped up the part that makes me reformat and reinstall windows without any other choices.

Windows worked but after that Linux didn't and couldn't boot.

I am using a brand new asus laptop with i5 cpu. I have no idea what motherboard or other hardware descriptions it has.

The only way I get to use Linux is to remove the windows drive, plug in an external drive, install linux to that drive, shut down the computer and reinstall the windows drive, unplug the external drive and boot windows.

If I want to use linux I have to have the computer off, plug in the external drive, boot the computer, select the external drive to boot from. If i make a mistake and forget to unplug the drive while windows is booting, windows will force a reformat and reinstall every time.

The only version of linux I can leave attached is puppy linux because it seems it doesn't set a boot flag or use a non-windows partition.

I even tried making a permanent linux swapfile partition so I could use a dvd or flash drive with faster performance. Windows refused to start until I reformatted and reinstalled windows or removed the 'unauthorized' partition. It seems that windows wants only windows on the computer.

I hate UEFI...

I won't touch the windows drive at all, for warranty reasons.


You are telling us a story about what you think is happening with nothing supporting it. How about a step by step with real information like exact error messages, and what your grub entries for both Windows and Linux are. Many others have dual boot systems with Windows and Linux and don't experience what you claim, and it's hard to verify anything if you report only after you've destroyed all the evidence.

Install Linux, then boot into it, and post here when that is done. We will have questions that can only be answered if you can run the commands we give, and those commands must be given from a running installed Linux system.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2107
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #8 on: December 14, 2012, 08:10:24 PM »
More info with dual booting Windows 7/Linux at: http://neosmart.net/wiki/display/EBCD/Linux
UEFI have nothing to do with Windows 7.
Guess it's only with Windows 8.

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #9 on: December 14, 2012, 09:19:59 PM »
What is the edition of Windows 7 you are using? Is it Business or something?

Did you buy the machine yourself or did your employer provide it?

The behaviour you describe may be caused by some special secure policy implemented in YOUR installation of Windows.

I have a UEFI laptop with Windows 7 Home Basic 64bit on it. My primary bootloader is GRUB but within Windows, I have also setup EasyBCD as a fallback option.
It has never asked me to reformat, reinstall.
--------------------

As Old-Polack says, you either need to give the EXACT message that Windows shows when it asks you to reformat and the exact steps you took or give us 4 - 5 screenshots of the whole process.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sammy2fish

  • Hero Member
  • *****
  • Posts: 3288
  • from the Prairies... Canadian MLU
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #10 on: December 14, 2012, 10:04:15 PM »
Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?
One of the few things I've learnt as growing older.  Is to choose your battles.. but never loose sight of the war..!

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11539
  • ----IOFLU----
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #11 on: December 14, 2012, 11:06:53 PM »
Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?

Why wouldn't it? I have 2 TB, 1 TB, and 750 GB, drives on this computer, the 750 GB and 1 TB being in external eSATA cases, the 2 TB being internal, with a Gigabyte GA-970A-UD3 motherboard with UEFI BIOS. I can, and do, boot from all three drives, a USB memory stick or USB hard drive, as well as a number of other devices I don't actually have. The MB doesn't give a crap what OS is on any given drive, or how many.

The question is what video card/GPU does your MB have, if it's on board. That will give you more potential headaches than just having a UEFI BIOS. Gigabyte calls this a Hybrid Dual BIOS which can be set to regular BIOS, UEFI, or automatic, which uses regular BIOS for drives 2TB or smaller and UEFI for 3 TB drives and larger. Until I'm told otherwise I would assume this is their standard BIOS these days. I have it on two different recent Gigabyte Motherboards.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #12 on: December 15, 2012, 12:44:23 AM »
Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?

I was looking at reviews for the mother board and they are saying "The H61 chipset lacked support for USB 3.0 ports, SATA 6 Gb/s and PCIE 3.0."  can you verify if it has any of these ???




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline sammy2fish

  • Hero Member
  • *****
  • Posts: 3288
  • from the Prairies... Canadian MLU
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #13 on: December 15, 2012, 04:12:36 AM »
Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?

Why wouldn't it? I have 2 TB, 1 TB, and 750 GB, drives on this computer, the 750 GB and 1 TB being in external eSATA cases, the 2 TB being internal, with a Gigabyte GA-970A-UD3 motherboard with UEFI BIOS. I can, and do, boot from all three drives, a USB memory stick or USB hard drive, as well as a number of other devices I don't actually have. The MB doesn't give a crap what OS is on any given drive, or how many.

The question is what video card/GPU does your MB have, if it's on board. That will give you more potential headaches than just having a UEFI BIOS. Gigabyte calls this a Hybrid Dual BIOS which can be set to regular BIOS, UEFI, or automatic, which uses regular BIOS for drives 2TB or smaller and UEFI for 3 TB drives and larger. Until I'm told otherwise I would assume this is their standard BIOS these days. I have it on two different recent Gigabyte Motherboards.

OK.

I have a after-market ATI 4850 videocard.  So far, so good.

Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?

I was looking at reviews for the mother board and they are saying "The H61 chipset lacked support for USB 3.0 ports, SATA 6 Gb/s and PCIE 3.0."  can you verify if it has any of these ???

It has 4 usb2 plugs, and 2 usb3 plugs on the back.

I have a 128-gig ssd drive, 1-terabyte optical drive, 2-terabyte inside the tower.  A 500-gig 2+1/2 external in a usb3 box... plugged into an external usb3 port.

In my observations, usb3 rocks about the same speed as sata2 to sata2.  Which is good for usb.
One of the few things I've learnt as growing older.  Is to choose your battles.. but never loose sight of the war..!

Online YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Dual boot with any Linux and Windows 7/8 having UEFI
« Reply #14 on: December 15, 2012, 11:35:13 AM »
Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?

Why wouldn't it? I have 2 TB, 1 TB, and 750 GB, drives on this computer, the 750 GB and 1 TB being in external eSATA cases, the 2 TB being internal, with a Gigabyte GA-970A-UD3 motherboard with UEFI BIOS. I can, and do, boot from all three drives, a USB memory stick or USB hard drive, as well as a number of other devices I don't actually have. The MB doesn't give a crap what OS is on any given drive, or how many.

The question is what video card/GPU does your MB have, if it's on board. That will give you more potential headaches than just having a UEFI BIOS. Gigabyte calls this a Hybrid Dual BIOS which can be set to regular BIOS, UEFI, or automatic, which uses regular BIOS for drives 2TB or smaller and UEFI for 3 TB drives and larger. Until I'm told otherwise I would assume this is their standard BIOS these days. I have it on two different recent Gigabyte Motherboards.

OK.

I have a after-market ATI 4850 videocard.  So far, so good.

Frack anyways.....

On my tower I have a 128gig-ssd drive (C-drive), a 1-terabyte, & 2-terabyte drive.

I dual-boot... so I want to keep the 128gig just for win7.

I want to put PLCOS-kde on the 1-terabyte drive.  But my motherboard is a "gigabyte" ga-b75m-d3h.  It has the UEFI built-in.

Is this going to work?

I was looking at reviews for the mother board and they are saying "The H61 chipset lacked support for USB 3.0 ports, SATA 6 Gb/s and PCIE 3.0."  can you verify if it has any of these ???

It has 4 usb2 plugs, and 2 usb3 plugs on the back.

I have a 128-gig ssd drive, 1-terabyte optical drive, 2-terabyte inside the tower.  A 500-gig 2+1/2 external in a usb3 box... plugged into an external usb3 port.

In my observations, usb3 rocks about the same speed as sata2 to sata2.  Which is good for usb.

Perhaps whom ever did that review of the motherboard was uninformed about no support for USB 3.0 or maybe they had a earlier version of the board.  Thanks for checking that out for me




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!