LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2015, 06:08 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,291

Rep: Reputation: 52
Can I install Debian 7 on uefi enabled laptop?


I purchased a few days ago an Acer Aspire E15 not knowing BIOS have been replaced by UEFI, trying to installl Debian 7 alongside Windows 8.1 is a real hassle. After many unsuccessful attempts I managed to install it after doing this:
-disable Windows 8.1 "fast starting"
-disable Windows 8.1 "secure boot"
-allowing first boot option to be DVD drive
-shrink Windows 8.1 partition to 50GB but this had to be done with the Debian partitioner because an error made under the Windows procedure could not be corrected under Windows
-partitionning accepted the ESP partition as-is and installing started automatically
-some attempts at selecting mount point for the ESP Windows partition as /boot/uefi as recommended in some tutorials/howtos had not work giving message: "uefi partition not found"

the Installer seemed to have failed installing GRUB so, after it asked to remove the first installation DVD in order to reboot, it rebooted into Windows 8.1.

My questions are:
Do I have a salvageable Debian 7 installed and bootable? How?

Or, how can I safely wipe out this rotten Windows OS and install Debian 7, I fear I may still have problems with UEFI.

I have found a lot of info on the Internet but none pertaining to this particular situation.

Thank you for your help.

Last edited by rblampain; 05-17-2015 at 06:15 AM.
 
Old 05-17-2015, 07:46 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Is there a option like "legacy bios" or "compatibilty boot mode" in your bios?
 
Old 05-17-2015, 08:50 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,040
Blog Entries: 34

Rep: Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490
rblampain,

As you know, use F2 to enter Setup.

You have already disabled Secure Boot and Fast Startup.

You may or may not need to set a Supervisor password temporarily (see Security tab) in order to allow you to change more settings.

Disable UEFI and enable Legacy mode.

Before doing the next part, make sure that your Debian 64 bit DVD or USB drive is inserted.

In Boot > Boot Order, put DVD or USB HDD at the top of the list, by means of F6, and press F10 to save and exit.

When the laptop starts again you may be asked to press a key to select the Boot Device.

In addition you may be asked to type a 4 digit code to confirm your boot device selection (and your disabling of UEFI).

Debian or other Linux should now load.

Remember to remove the Supervisor password later if necessary.

Last edited by beachboy2; 05-17-2015 at 08:56 AM.
 
Old 05-17-2015, 01:21 PM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I think you should probably try Debian 8 as it has better EFI support (Debian 7 does not support 32-bit systems or 64-bit systems with 32-bit UEFI firmware).
http://cdimage.debian.org/cdimage/un...ding-firmware/

Mark the extant EFI system partition explicitly as the "EFI system partition" in the installer and it should work fine -- I have done this myself today with a Debian 8 netinstall ISO image (typing this from that system).

You could try to rescue the system you have already installed by following this guide:
https://wiki.debian.org/GrubEFIReinstall
 
Old 05-17-2015, 02:53 PM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,015
Blog Entries: 27

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
Agreed with Head_on_a_Stick. Debian 8 works great with UEFI, and as long as you don't have secure boot enabled, then it'll be easy to set up. In fact, it's even easier if you DON'T have legacy mode enabled, as it will automatically boot UEFI and mark the EFI partition as such.
 
Old 05-17-2015, 03:13 PM   #6
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,019

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Even Debian 7 should be installable on an UEFI machine, even without the legacy boot option.

The thing you definitely need to turn off is secure boot. As far as EFI support in Debian 7 is concerned, you just may need an extra few steps to get it running as the installer won't pick it up by default, but it still can be done.

Back in 2012 I did just that on an UEFI Laptop. I actually installed Crunchbang Waldorf, but that is a Debian 7 based distro, so the approach should work the same. After I had it working I posted my steps to success in the Crunchbang forum, and the post is still online. You can find it here.

Note that you might even get away without the part of manually creating boot entries in your efi menu through the efi shell (step 4 in the step-by-step guide).
 
Old 05-17-2015, 03:43 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Debian 7 is now an old release you might as well just install Jessie it's the stable release now. Also you may have to make room for the debian EFI partition.
 
Old 05-17-2015, 04:08 PM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,040
Blog Entries: 34

Rep: Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490Reputation: 1490
rblampain,

You may wish to consider using an alternative to Debian such as Linux Mint MATE 17.1 (64 bit):

http://www.linuxmint.com/edition.php?id=174
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64-14.1 UEFI - Booting with Secure Boot enabled turtleli Slackware 12 11-15-2015 08:43 AM
Install Debian 7.7 Amd64 in UEFI Mode. jokar.mohsen Debian 14 12-19-2014 12:19 AM
Ubuntu13.10 HP laptop install. UEFI/graphics problem ? 0men Linux - Newbie 1 01-05-2014 12:40 PM
LXer: UEFI-enabled Samsung laptops get bricked with Linux LXer Syndicated Linux News 0 01-31-2013 08:00 AM
Old Laptop - Debian install hangs at "IRQ sharing enabled" Gurduloo Linux - Laptop and Netbook 1 04-08-2008 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration