LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 09-05-2015, 04:34 AM   #1
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Detect via Terminal if BIOS can be emulated


Hi!
On several distros
Code:
sudo dmidecode -t0 | grep -Ei "BIOS boot|UEFI"
gives you, if you have UEFI with CSM, the output:
Code:
		BIOS boot specification is supported
		UEFI is supported
On ARCH based distros?

Edit:
"[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS"
-> only shows (it is not enough)
"BIOS"

Last edited by alfredo10; 09-05-2015 at 04:41 AM. Reason: Addition
 
Old 09-05-2015, 08:50 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 284Reputation: 284Reputation: 284
Code:
empty@Arch ~ % sudo dmidecode -t0 | grep -Ei "BIOS boot|UEFI"
[sudo] password for empty: 
sudo: dmidecode: command not found
1 empty@Arch ~ % pkgfile dmidecode                                                                                                  :(
extra/dmidecode
empty@Arch ~ % sudo pacman -S dmidecode
resolving dependencies...
looking for conflicting packages...

Package (1)      New Version  Net Change  Download Size

extra/dmidecode  2.12-2         0.16 MiB       0.05 MiB

Total Download Size:   0.05 MiB
Total Installed Size:  0.16 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 dmidecode-2.12-2-x86_64                                 54.9 KiB   914K/s 00:00 [----------------------------------------------] 100%
(1/1) checking keys in keyring                                                   [----------------------------------------------] 100%
(1/1) checking package integrity                                                 [----------------------------------------------] 100%
(1/1) loading package files                                                      [----------------------------------------------] 100%
(1/1) checking for file conflicts                                                [----------------------------------------------] 100%
(1/1) checking available disk space                                              [----------------------------------------------] 100%
(1/1) installing dmidecode                                                       [----------------------------------------------] 100%
empty@Arch ~ % sudo dmidecode -t0 | grep -Ei "BIOS boot|UEFI"
		BIOS boot specification is supported
		UEFI is supported
EDIT: *All* UEFI machines should support "CSM"/"Legacy" mode, at least according to the official UEFI specification.
http://www.uefi.org/specifications

Unfortunately, implementations of this standard are highly variable (to put it politely)...

Last edited by Head_on_a_Stick; 09-05-2015 at 09:05 PM.
 
1 members found this post helpful.
Old 09-07-2015, 04:43 AM   #3
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Original Poster
Rep: Reputation: 15
Thank you - solved!
 
  


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
BIOS does not detect Drive claudius753 Linux - Hardware 4 12-16-2007 03:45 PM
BIOS and GRUB can't detect hard disk DC_Tsunami Linux - General 1 12-07-2005 04:16 AM
Bios does not detect hard drive. akihandyman Linux - Newbie 5 02-13-2005 07:47 AM
old BIOS (1992) won't detect my cdrom drive; BIOS says: neither IDE prots enabled carbono Linux - Hardware 5 05-18-2004 12:07 PM
How long should i take for a bios to detect ide? PlatinumRik Linux - Hardware 10 05-30-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 02:20 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration