question regarding partition detection on efi boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

I apologize if this isn't the right location to ask. as you guys wrote efi support for linux I've thought you might be able to help me fill the gaps on this issue.

we have a production server with sles12 sp3 installed on it.
the partition table on the machine is this:
# fdisk -l /dev/sda
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xf9a6b446

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 4192255 4190208 2G 83 Linux
/dev/sda2 4192256 468860927 464668672 221.6G 83 Linux

mount output is as follows:
s2600wf-0:~ # mount | grep boot
/dev/sda2 on /boot/grub2/i386-pc type btrfs (rw,relatime,ssd,space_cache,subvolid=260,subvol=/@/boot/grub2/i386-pc)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sda2 on /boot/grub2/x86_64-efi type btrfs (rw,relatime,ssd,space_cache,subvolid=261,subvol=/@/boot/grub2/x86_64-efi)

and here is the content of /sys/firmware/efi/:
s2600wf-0:~ # ll /sys/firmware/efi/
total 0
-r--r--r--   1 root root 4096 Aug 29 03:19 config_table
drwxr-xr-x   2 root root    0 Aug 29 03:17 efivars
-r--r--r--   1 root root 4096 Aug 29 03:19 fw_platform_size
-r--r--r--   1 root root 4096 Aug 29 03:19 fw_vendor
-r--r--r--   1 root root 4096 Aug 29 03:19 runtime
drwxr-xr-x  11 root root    0 Aug 29 03:19 runtime-map
-r--------   1 root root 4096 Aug 29 03:17 systab
drwxr-xr-x 140 root root    0 Aug 29 03:19 vars

afaik, if the partition table is mbr, then for efi to boot, the boot partition must be of type EF. in this case it isn't so I was wondering how the system boots in efi? how does the bios detects it?
am I missing something?

Thanks,

Dagg.



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux