Is my PC using UEFI ? (Refind)

If none of the more specific forums is the right place to ask

Is my PC using UEFI ? (Refind)

Postby pawRoot » 2018-10-13 16:38

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
User avatar
pawRoot
 
Posts: 562
Joined: 2016-12-28 18:26
Location: Poland

Re: Is my PC using UEFI ? (Refind)

Postby milomak » 2018-10-13 16:42

google

why does it matter in any event?
iMac - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
milomak
 
Posts: 1798
Joined: 2009-06-09 22:20

Re: Is my PC using UEFI ? (Refind)

Postby pawRoot » 2018-10-13 16:45

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.
User avatar
pawRoot
 
Posts: 562
Joined: 2016-12-28 18:26
Location: Poland


Return to General Questions

Who is online

Users browsing this forum: zerubbabel and 7 guests

fashionable