![]() |
got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: General (https://www.linuxliteos.com/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.linuxliteos.com/forums/forumdisplay.php?fid=14) +--- Thread: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. (/showthread.php?tid=6753) |
got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - kissbaby3 - 01-31-2020 today i was just surfing google and wondered to my self, just for fun, if my desktop PC's are either UEFI or BIOS , found this to copy and paste int toe terminal , without the quotes " /sys/firmware/efi " if a desktop PC is NOT UEFI , it will say something like " bash: /sys/firmware/efi: No such file or directory" , which would mean that both of my desktop PC's are bios. am i right ?. just asking to make sure, i know how to get into and look another way , just wanted a quicker way to tell, ha ha . i like playing with the linux terminal ...... hugs Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - Moltke - 01-31-2020 (01-31-2020, 08:57 PM)kissbaby3 link Wrote: today i was just surfing google and wondered to my self, just for fun, if my desktop PC's are either UEFI or BIOS , found this to copy and paste int toe terminal , without the quotes Running that command in my laptop gives the same result but then this is a UEFI system. As reported by inxi: Code: inxi -Mx Code: sys/firmware/efi Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - DeepThought - 01-31-2020 The command is actually: Code: ls /sys/firmware/efi/ Quote:The easiest way to find out if you are running UEFI or BIOS is to look for a folder /sys/firmware/efi. The folder will be missing if your system is using BIOS source: https://itsfoss.com/check-uefi-or-bios/ Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - Moltke - 01-31-2020 (01-31-2020, 10:22 PM)DeepThought link Wrote: The command is actually: Still same result: No such file or directory. Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - firenice03 - 02-01-2020 (01-31-2020, 10:28 PM)Moltke link Wrote: [quote author=DeepThought link=topic=7041.msg50662#msg50662 date=1580509320][/quote] [member=7109]Moltke[/member] More than likely you have - BIOS -- not UEFI hense it cannot find a efi folder ![]() Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - Moltke - 02-01-2020 (02-01-2020, 12:58 AM)firenice03 link Wrote: [quote author=Moltke link=topic=7041.msg50664#msg50664 date=1580509697][/quote] [member=7109]Moltke[/member] More than likely you have - BIOS -- not UEFI hense it cannot find a efi folder ![]() [/quote] The laptop boots in LEGACY BIOS mode, yes, but it is UEFI. I've seen the UEFI bios console a couple of times. In the inxi output reads: Code: UEFI [Legacy]: Insyde v: F.34 And Quote:Insyde Software is leading worldwide provider of UEFI firmwarehttps://www.insyde.com/ When this laptop had W10 and a HDD I formatted to install W7 for it previous owner, who gave it to me as a payment for a job few months back. And I had a hard time because I didn't know it was UEFI, it was the first time I dealt with that and had to read a bit and learn how to; enabling legacy mode in the settings, thus it could boot from the USB and install W7. So yes, it is UEFI. Like I said before, if I understand correctly, running Code: ls /sys/firmware/efi/ Code: sudo efibootmgr Also, running Code: sudo dmidecode -t bios -q | grep UEFI Code: UEFI is supported So again, yes, looks like indeed, it is UEFI. ![]() Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - firenice03 - 02-01-2020 Yes... I should have added -- the current OS installed -- not whether its supported.. You installed the BIOS version - no efi folder.. Does not represent if UEFI is supported or not... The other commands as you post would.. ![]() Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - Moltke - 02-01-2020 (02-01-2020, 02:24 AM)firenice03 link Wrote: Yes... I should have added -- the current OS installed -- not whether its supported.. Yes, that's what I thought. I was at first confused but then I remembered all that problem I went throught with W10. I found this article https://www.pcsuggest.com/check-bios-uefi-motherboard-info-in-linux/ which among other things states that Quote:Note: The above method (ls /sys/firmware/efi or efibootmgr) works only if the system is booted from a UEFI bootable media, else it behaves like an older legacy BIOS system. Learnt a few new things ![]() Re: got bored and used the Terminal to see if my desktop PC's are UEFI or BIOS. - kissbaby3 - 02-01-2020 this was fun, i learned a few things , thanks every one . if you want to close this , its ok to do so , but maybe one should keep this post of mine open, just for fun.......... |