Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-04-2018, 10:40 AM   #1
Registered: Feb 2016
Posts: 45

Rep: Reputation: Disabled
Installation Debian 9 on UEFI/Legacy Desktop for dual boot

Dear people,
Current op-sys on my house desktop is Debian 8.6 (Jessie) which boots
from a dual personality UEFI/Legacy BIOS set to Legacy mode. I want to
install Debian 9.3 on a separate 'primary' hardisk. The Debian 8.6 will
be relegated to s separate secondary harddisk. I still want to
optionally boot Debian 8.6 via grub. My question concerns the
installation of Debian 9 and the setup of the grub boot loader.

1. I understand that Debian 9 can be installed under UEFI and will
seek out the presence of a UEFI BIOS; but can I force the
installation in Legacy mode anyway? If so, how? (Dinosaurs are too
old for unwelcome surprises)
2. My version of Debian 8.6 probably won't boot up via a UEFI BIOS.
If one is forced to use UEFI how should I arrange grub for a dual
Or is it a lost cause?

Thanks in advance to anyone who can help.
Old 01-04-2018, 05:06 PM   #2
Registered: Mar 2008
Posts: 19,398

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
Generally one is forced to use uefi on systems that won't allow legacy/csm. Or on systems that don't provide hardware in legacy.

If your system allows legacy then you can easily install Debian 9 that way. I can't remember if older versions support uefi but I think they did in 8. See Debian web site.
I suspect you'd have to create uefi boot/install media.

Never a quick way to boot from one to the other. Always have to go to bios and switch back and forth. Some bio's require two switches to get video and legacy back from ueif.
Old 01-04-2018, 06:09 PM   #3
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,825

Rep: Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842Reputation: 1842
If you have Debian 8.6 installed on a separate hard drive with it's Grub boot code in the MBR of that drive, you can select that drive on boot regardless of what is on the second drive. On my system with several UEFI Linux installs on the internal drive, I can boot another Linux system on an external drive of an MBR install on that drive from the Grub menu of one of the internal installs with Grub. If you are unable to install in Legacy mode, run grub-mkconfig (or update-grub if Debian uses it?) from the new install once finished and re-booted.
Old 01-04-2018, 06:35 PM   #4
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,656

Rep: Reputation: 115Reputation: 115
Originally Posted by jefro View Post
I suspect you'd have to create uefi boot/install media.
You get the the uefi during bootup/installing it. The installer is universal during boot for my machines I had to use boot option key F12 and choose the EFI (Installer USB) boot option to boot from though even this is not enough to end up with it installed that way if you do not choose manual partitioning of the disk in the machine and create an efi reserved partition for the proper place to put the boot files you end up with legacy mode installed at the end of the process. To get to manually partition you need to have chosen on the expert modes at the start of the install process I think this part is true been so long since I have done any other type not sure if they offer the manual now. This was with version 8 to answer the OPs 1. set the BIOS to EFI only during install choose the installer as an efi boot option in that menu for your board then make sure to have created and assigned for efi booting an efi partition in the manual partitioning option. For number 2. I am thinking having assigned the disk containing the new 9 install as the primary drive to boot from it grub booting in efi mode will just boot the old 8 install after all it is not like they are any different versions of programs one compiled for efi ones not that are installed. The efi booting is dependant on only one that is such a beast the grub-efi package installed into the efi partition on the disk with the BIOS set to boot EFI mode. You get that installed when you have created assigned the EFI reserved boot partition during install.

Took to long yancek seems to have beat me to some of it as I see in a preview.
Old 01-12-2018, 03:36 AM   #5
Registered: Feb 2016
Posts: 45

Original Poster
Rep: Reputation: Disabled
Dear People,
Thank you for your help, which is much appreciated.
My delay in replying is due to intervening social
obligations which kept me away from home.
I can now say that I have sucessfully installed
Debian 9 (Stretch) on sda under the "Legacy" feature
of the dual personality BIOS and update-grub found
the previous op-sys Debian 8 (Jessie) which had been
relegated to sdb. It all went smoothly except for one
minor point, and I will set this down here, in case
others may find it useful.

The mother board of my stand-alone desk-top PC is an
Asus AX88M-A (2016 vintage). On boot up form a Debian
live DVD with the BIOS in legacy mode the monitor showed
a warning message:
"System found unauthorised changes on the firmaware,
operating system, or UEFI drivers. Press [N] to run
next boot."
This message seemed to be superfluous in this case; I
pressed the N-key and the basic installation went ahead
without any further problems.

I can consider this action closed.
Again thanks to all who replied for your help and advice.



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
[SOLVED] Dual boot without windows - Windows 10 UEFI dual boot with Metamorphose Panther(Debian/KDE) mithidieri Linux - Newbie 7 11-03-2017 01:10 AM
Dual Booting Problem with UEFI disabled, Legacy enabled LasVegasUser Linux - Newbie 11 05-28-2017 10:32 PM
[SOLVED] UEFI vs debian - cannot boot into grub after installation iwtbf Linux - Newbie 2 05-20-2015 06:20 AM
LXer: Dual-boot Windows 7, Linux Mint Debian Edition 2 on a PC with UEFI firmware LXer Syndicated Linux News 0 04-13-2015 01:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 PM.

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