Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Is my PC using UEFI ? (Refind)

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Is my PC using UEFI ? (Refind)

#1 Post by pawRoot »

Hi

I have installed Debian in EFI mode and then installed Refind on top of it, but now
i'm not sure if i am booting through EFI or not, because when i press F11 after starting computer
there is no "EFI" next to Refind bootloader.

Code: Select all

lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 232.9G  0 disk 
└─sda1   8:1    0 232.9G  0 part 
sdb      8:16   0 232.9G  0 disk 
├─sdb1   8:17   0   512M  0 part /boot/efi
├─sdb2   8:18   0 220.5G  0 part /
└─sdb3   8:19   0  11.9G  0 part [SWAP]

Code: Select all

cd /boot/ && ls -la
total 50592
drwxr-xr-x  4 root root     4096 Oct 13 18:04 .
drwxr-xr-x 22 root root     4096 Oct 13 18:03 ..
-rw-r--r--  1 root root   186568 Aug 13 20:31 config-4.9.0-7-amd64
-rw-r--r--  1 root root   186589 Oct  8 07:05 config-4.9.0-8-amd64
drwx------  3 root root     4096 Jan  1  1970 efi
drwxr-xr-x  5 root root     4096 Oct 13 17:54 grub
-rw-r--r--  1 root root 18127468 Oct 13 17:49 initrd.img-4.9.0-7-amd64
-rw-r--r--  1 root root 18415086 Oct 13 18:00 initrd.img-4.9.0-8-amd64
-rw-r--r--  1 root root      201 Oct 13 18:04 refind_linux.conf
-rw-r--r--  1 root root  3192069 Aug 13 20:31 System.map-4.9.0-7-amd64
-rw-r--r--  1 root root  3193875 Oct  8 07:05 System.map-4.9.0-8-amd64
-rw-r--r--  1 root root  4232992 Aug 13 20:31 vmlinuz-4.9.0-7-amd64
-rw-r--r--  1 root root  4237088 Oct  8 07:05 vmlinuz-4.9.0-8-amd64

Code: Select all

:/boot/efi/EFI/refind# ls -la
total 364
drwx------ 6 root root   4096 Oct 13 18:04 .
drwx------ 5 root root   4096 Oct 13 01:55 ..
-rwx------ 1 root root    140 Oct 13 18:04 BOOT.CSV
drwx------ 2 root root   4096 Oct 13 01:55 drivers_x64
drwx------ 3 root root   8192 Oct 13 18:04 icons
drwx------ 3 root root   8192 Oct 13 01:55 icons-backup
drwx------ 2 root root   4096 Oct 13 01:55 keys
-rwx------ 1 root root  31507 Oct 13 01:55 refind.conf
-rwx------ 1 root root  31507 Oct 13 18:04 refind.conf-sample
-rwx------ 1 root root 268887 Oct 13 18:04 refind_x64.efi

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Is my PC using UEFI ? (Refind)

#2 Post by milomak »

google

why does it matter in any event?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Is my PC using UEFI ? (Refind)

#3 Post by pawRoot »

Thanks i forgot about this site called Google :D

Anyway i tried this

Code: Select all

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
And it says i am using UEFI.

Post Reply