English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

182 Posts

11-11-2011

Albania

1774 Signins

10451 Page Views

  • Posts: 182
  • Registered: ‎11-11-2011
  • Location: Albania
  • Views: 10451
  • Message 1 of 21

How to install Linux on UEFI systems where GRUB fail to install?

2012-02-08, 17:18 PM

A few of us are asking:

 

How to install Linux on UEFI systems where GRUB fail to install? Because after installing Linux, my MBR is messed up, and I get a "no operating system found" at system startup.

 

abvasili

Solved! See the solution
I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.
Reply
Options

182 Posts

11-11-2011

Albania

1774 Signins

10451 Page Views

  • Posts: 182
  • Registered: ‎11-11-2011
  • Location: Albania
  • Views: 10451
  • Message 2 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-02-09, 5:01 AM

Hi everyone,
I’m writing this because a lot of people out there are facing some issues in installing Linux on a machine that have UEFI capable bios.


A lot are complaining that GRUB is not installing properly, leaving a computer in an unusable state. Usually they get an error message at the startup: “no operating system found”.


I’m sure this is a temporary situation, and Linux distros will find their way to install in UEFI based bios and GPT formatted HDDs as easy as 123.


In a short and simple QA I will try to explain how to fix this:


Question: Why GRUB is not installing properly in my machine?
Answer: New machines have UEFI capable bios. This means that by default MS Windows is installed in UEFI mode and this requires a GPT formatted Hard Disk. At the present GRUB cannot install itself in GPT partition table. Some new distros, with kernel 3.0 and above are reported to support UEFI.

Question: How to make GRUB work in my machine?
Answer: You should convert your HDD from GPT partition table to MBR partition table (or MSDOS in Linux) and after that install your Linux OS.

Question: How can I convert my HDD from GPT to MBR partition table?
Answer: You can use Ubunu or another Ubuntu based distro in live mode. In live mode, find the program GPARTED. Wait until it recognizes all your drives and select your HDD. Right click over it, and choose the option to create a new partition table. Choose MSDOS from the list. Hit ok than apply/commit all changes. ATTENTION this will erase all your data and MS Windows (or any other OS) will disappear. Your HDD is now converted in MSDOS or MBR. You can now boot your preferred distro, create your partition scheme and install Linux.

Question: Do I need to make any changes to my bios settings?
Answer: If you have a capable UEFI and LEGACY bios, put the bios in Legacy boot only or Both enabled with Legacy boot first.

I hope this little QA will be of help. If any question may arise or more help is needed, post your questions here, I will try to help you further (if I can).

Best regards

Abvasili

I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.

0 person found this solution to be helpful.

This helped me too

Reply
Options

182 Posts

11-11-2011

Albania

1774 Signins

10451 Page Views

  • Posts: 182
  • Registered: ‎11-11-2011
  • Location: Albania
  • Views: 10451
  • Message 3 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-02-13, 9:07 AM

Hi again,

 

I would like to answer to another question, just in case:

 

Question: Can I dual boot Win7 and Linux on a UEFI capable bios?

Answer: Yes you can. If your HDD is formatted in MBR partition table (or msdos) than you can install first windows 7 and than the distro of your choice. BUT, careful, if you install windows from a DVD media it will convert your HDD in GPT partition table and dual boot will be almost impossible... (or will give you a lot of headache) :) to avoid this, dump the win7 iso to an usb using Windows 7 USB/DVD Download Tool. Installing from USB will not change the hdd in GPT partition table.

 

take care

 

abvasili

I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.
Reply
Options

1 Posts

04-05-2012

Chicago

1 Signins

6 Page Views

  • Posts: 1
  • Registered: ‎04-05-2012
  • Location: Chicago
  • Views: 6
  • Message 4 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-04-05, 20:58 PM

Thank you so much! This was starting to drive me nuts on a x130e.

 

I appreciate the post.

Reply
Options

7567 Posts

01-13-2008

US

76745 Signins

2144978 Page Views

  • Posts: 7567
  • Registered: ‎01-13-2008
  • Location: US
  • Views: 2144978
  • Message 5 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-04-06, 0:04 AM

wrote:

Hi again,

 

I would like to answer to another question, just in case:

 

Question: Can I dual boot Win7 and Linux on a UEFI capable bios?

Answer: Yes you can. If your HDD is formatted in MBR partition table (or msdos) than you can install first windows 7 and than the distro of your choice. BUT, careful, if you install windows from a DVD media it will convert your HDD in GPT partition table and dual boot will be almost impossible... (or will give you a lot of headache) :) to avoid this, dump the win7 iso to an usb using Windows 7 USB/DVD Download Tool. Installing from USB will not change the hdd in GPT partition table.

 

take care

 

abvasili


Thanks for posting this.

 

I don't have a machine to test on,  so perhaps you can answer this question: Is the above still a problem if the partitions are created in advance - before running the Windows install DVD.

 

I usually avoid having a Windows install mess with the MBR and partitioning by creating 4 primary partitions in advance (with gParted usually) and then telling the Win installer to use one of them.

 

Thanks again,

Z.


The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.


The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored - questions and answers belong in the forum so that others may contribute and benefit. ... GeezBlog

 

Communities: English Deutsch Español Português Русскоязычное Česká Slovenská Українська Polski Türkçe Moto English

Reply
Options

182 Posts

11-11-2011

Albania

1774 Signins

10451 Page Views

  • Posts: 182
  • Registered: ‎11-11-2011
  • Location: Albania
  • Views: 10451
  • Message 6 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-04-07, 20:28 PM

Hi Z,

 

If you do not want the installation media to touch your MBR (and converting it to GPT) than put the motherboard in legacy mode only... theoretically it will not change your partition table. Installing from an USB media will always by default format the disk in MBR or accept your already prepared partitions on a MBR partition table.

 

Hope this helps.

 

nebrA

I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.
Reply
Options

1 Posts

04-12-2012

Jaworzno, Poland

9 Signins

70 Page Views

  • Posts: 1
  • Registered: ‎04-12-2012
  • Location: Jaworzno, Poland
  • Views: 70
  • Message 7 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-04-13, 18:53 PM

How about MBR partition table on UEFI BIOS system? I've got Lenovo ThinkPad Edge E320 and three partitions on it out of the box. Windows can only boot in Legacy mode but... there is "System" partition which looks exactly the same as UEFI boot partition. As far as I know partition table conversion from MBR to GPT causes a lot of trouble (problems witch drivers provided by Lenovo). I've tried installing Ubuntu and Grub on the same, separate partition and after that adding Ubuntu entry to boot.ini file but there is no such.

Reply
Options

250 Posts

10-11-2011

france

865 Signins

5665 Page Views

  • Posts: 250
  • Registered: ‎10-11-2011
  • Location: france
  • Views: 5665
  • Message 8 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-11-20, 23:24 PM

this does not look good :

 

http://www.phoronix.com/scan.php?page=news_item&px=MTIyOTg

 

Lenovo UEFI Only Wants To Boot Windows, RHEL

 

 

--
http://rzr.online.fr/q/lenovo# g470 s103t
Lenovo G470 | Model Name : 20078 | M fg Date: 11/03/23 | BIOS: 40CN23WW(V2.09) 06/20/2011 | CPU: i5-2410M | Linux version 3.3.4lenovog470+ (root@lap) (gcc version 4.6.3 (Debian 4.6.3-4) ) #8 SMP Tue May 1 10:23:48 CEST 2012
OS:GNU/Linux/Debian


Lenovo S10-3t | Model Name : 0651 | Mfg Date: 2010/06/08
Reply
Options

9351 Posts

11-27-2007

SK

15516 Signins

2040234 Page Views

  • Posts: 9351
  • Registered: ‎11-27-2007
  • Location: SK
  • Views: 2040234
  • Message 9 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2012-11-26, 13:43 PM

Andy  

______________________________________


Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points

Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos

Please add your type, model number and OS to your signature, it helps to help you.

Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more.

FYI Unsolicited Personal Messages will be ignored.

de.gif  Deutsche Community   es.gif  Comunidad en Español  uk.gif  English Community ru.gif Русскоязычное Сообщество

PepperonI blog 

Reply
Options

6 Posts

02-04-2013

Toronto, Canada

16 Signins

157 Page Views

  • Posts: 6
  • Registered: ‎02-04-2013
  • Location: Toronto, Canada
  • Views: 157
  • Message 10 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2013-02-05, 0:28 AM

I have an alernative fix that does not require the use of MBR. It is a 100% UEFI solution.

 

I can only vouch for it working on a Lenovo ThinkStation S30, but I'm fairly sure this will probably work for other systems.

 

Please see here.

 

Moderator note: link corrected - target post has moved.

Reply
Options

182 Posts

11-11-2011

Albania

1774 Signins

10451 Page Views

  • Posts: 182
  • Registered: ‎11-11-2011
  • Location: Albania
  • Views: 10451
  • Message 11 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2013-02-07, 18:09 PM

That's interesting.

 

But with older/simpler BIOSs it is not possible to edit UEFI boot manager. That's the case of x120e (the model I have).

 

I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.
Reply
Options

1 Posts

04-18-2013

Ohio

1 Signins

12 Page Views

  • Posts: 1
  • Registered: ‎04-18-2013
  • Location: Ohio
  • Views: 12
  • Message 12 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2013-04-19, 0:28 AM

AMD 8350 8 Core 4.2MHz processor

XFX R7850 2GB dual DDR5 Video Card

16GB DDR3 1866 RAM

AsRock 990FX Extreme 4 motherboard

256GB SSD drive

TB 6GB/s HDD

DVDRW

 

I installed the MB, then attempted to install Kubuntu 13.04, which was supposed to function with the UEFI BIOS.  The install stopped at the "Prepare" point.  I then attempted to install Kubuntu 12.10rc.  The installation continued further, however the ubi installer crashed and both retry and continue failed.  I attempted with freshly installed LiveCD's several times with the exact same results.

 


I contacted a friend who was expert with Microsoft Operating Systems.  He installed Windows 7 Pro in my computer and set up all drivers and installations CD's provided by the manufacturers.  It functioned perfectly until today.  (that is 2 full days later)  Anyway, I still wanted a Linux OS in my computer, so I continued researching the problem.

 

One person suggested that I use the Kubuntu LiveCD boot to the 'Try Kubuntu' portion of the CD and open a konsole and install the application 'boot repair'.  I did so and in a GUI application, I repaired the Boot problem.  When I restarted and attempted to install the kubuntu OS, both distributions, the same problems appeared in the selfsame manner.

 

I then restarted the computer to use the Win7 OS, but the Bolt process was paused immediately with a black screen with, I believe, GRUB error.  Unfortunately, I cannot remember the exact words, but it looked very much like this:

GRUB ERROR> instead of the normal command prompt.  Since this happened, I found this forum by inquiring into UEFI aspect of the problem.

 

Although I prefer the Kubuntu Linux OS to Windows 7, Win7 functions almost as fast and thus is preferable to use while fixing this problem.

 

My friend used my CD to fix something in another computer and I forgot to get it when I left.  Since he is on the road for approximately a month, I am unable to re-install Win7, and wonder if there may be a way to fix the boot.  I am sure I screwed it up when attempting to repair GRUBB.  I am not well enough instructed to have avoided this mistake.

 

Can anyone help me?  I have my Windows 7 code, I am just missing the physical CD, which I believe to be in his computer, and I have not made a backup as yet.

 

I am grateful for the information in this post and the kindness of the poster; thank you for any help in this matter.???

 

Reply
Options

182 Posts

11-11-2011

Albania

1774 Signins

10451 Page Views

  • Posts: 182
  • Registered: ‎11-11-2011
  • Location: Albania
  • Views: 10451
  • Message 13 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2013-06-10, 11:47 AM

Sorry for answering so late...

 

If you still have the problem (which I doubt :) ) I have these 2 suggestions:

 

Download a trial copy of the version for wich you have the key, and you can use your key during installation.

 

To backup your data, use a live cd/usb of any linux distro... I suggest Linux mint at this point

 

Regards.

I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.
Reply
Options

7 Posts

12-26-2012

Czech republic

10 Signins

87 Page Views

  • Posts: 7
  • Registered: ‎12-26-2012
  • Location: Czech republic
  • Views: 87
  • Message 14 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2014-02-10, 14:47 PM

Okay so installation using legacy mode is withour problems, although in this mode a lot of things do not work properly.

In UEFI mode - installation ends succesfully with Ubuntu 12.04.4, 13.10 and 14.04 dev. BUT it will not boot.

I had to use grub-repairing software to change EFI files (!!!) and then I booted sucesfully. BUT I booted only once, next time I have no option :D Definitely bug in BIOS.

Reply
Options

12 Posts

01-31-2014

Earth, North America, United States, MN

19 Signins

212 Page Views

  • Posts: 12
  • Registered: ‎01-31-2014
  • Location: Earth, North America, United States, MN
  • Views: 212
  • Message 15 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2014-02-19, 14:34 PM

Thanks for the post about this topic!  Those are very good suggestions for avoiding UEFI boot problems when installing Linux.

 

I wanted to share some software for people who have a problem and need to repair dual boot or single boot grub2 installations.

 

The tool I use is Boot-Repair:  https://help.ubuntu.com/community/Boot-Repair

 

You can download a CD image of Boot-Repair and burn a CD or use a live version of Ubuntu and install it.

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

- Press Enter.

- Then type:

sudo apt-get install -y boot-repair && (boot-repair &)

 

This tool has fixed a few boot problems for me and is invaluable when you want to dual boot or work with UEFI.  I believe it fixes other distributions, so you don't have to use Ubuntu (but I only use Ubuntu so I can not verify this).

 

Cheers!

 

  - MtnBiker

 

 

Reply
Options

4 Posts

02-21-2014

US

2 Signins

58 Page Views

  • Posts: 4
  • Registered: ‎02-21-2014
  • Location: US
  • Views: 58
  • Message 16 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2014-02-21, 20:35 PM
Just a quick note, gummiboot works great for uefi and is not as cluttered as grub. I spent an hour trying to get grub to work with no positive results. Gummiboot is clean and the config is simple.
Reply
Options

1 Posts

05-18-2015

Germany

4 Signins

5 Page Views

  • Posts: 1
  • Registered: ‎05-18-2015
  • Location: Germany
  • Views: 5
  • Message 17 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2015-05-18, 8:55 AM
Thank you all for this interesting thread. On a Lenovo Thinkpad Tablet 2 I managed to get GRUB to work. I am able to mark the option I choose. Unfortunately, I do not have a keyboard or any other means to "enter" my choice. How can I proceed? Thank you in advance.
Reply
Options

4 Posts

12-19-2011

Germany

3 Signins

40 Page Views

  • Posts: 4
  • Registered: ‎12-19-2011
  • Location: Germany
  • Views: 40
  • Message 18 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2015-06-17, 14:30 PM

Thank you very much! :)

Reply
Options

4 Posts

02-12-2016

USA

7 Signins

31 Page Views

  • Posts: 4
  • Registered: ‎02-12-2016
  • Location: USA
  • Views: 31
  • Message 19 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2016-02-13, 3:11 AM

I found it easier to instal LinuxMint, latest stable release.

 

I changed to legacy - attempted to change HD.

I was getting weird messages. no OS, then NO hard drive.

Some cable disconnected....anyway

 

I switched everything back in BIOS (Use FN & F2) "default setting".

Only UEFI enabled. No legacy support.

Linux Lite & Manjaro would not instal - LinuxMint installed with no problems.

Reply
Options

1 Posts

07-17-2017

SG

1 Signins

14 Page Views

  • Posts: 1
  • Registered: ‎07-17-2017
  • Location: SG
  • Views: 14
  • Message 20 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2017-07-17, 3:11 AM

Brilliant fix. Just wanted to add, I did not have to change UEFI to Legacy. 

Reply
Options

4 Posts

02-12-2016

USA

7 Signins

31 Page Views

  • Posts: 4
  • Registered: ‎02-12-2016
  • Location: USA
  • Views: 31
  • Message 21 of 21

Re: How to install Linux on UEFI systems where GRUB fail to install?

2017-07-17, 12:56 PM

First try grub boot repair:

 

https://sourceforge.net/projects/boot-repair-cd/

 

if that does not work:

 

https://fossbytes.com/download-windows-10-8-7-iso-files-legally/

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save